ym_softc
CFATTACH_DECL_NEW(ym_pnpbios, sizeof(struct ym_softc),
struct ym_softc *sc = device_private(self);
CFATTACH_DECL_NEW(ym_acpi, sizeof(struct ym_softc), ym_acpi_match,
struct ym_softc *sc = device_private(self);
struct ym_softc *ssc = arg;
struct ym_softc *ssc = device_private(parent);
struct ym_softc *ssc = device_private(parent);
struct ym_softc *ssc = arg;
struct ym_softc *ssc = device_private(parent);
struct ym_softc *ssc = device_private(parent);
struct ym_softc *sc = arg;
ym_save_codec_regs(struct ym_softc *sc)
ym_restore_codec_regs(struct ym_softc *sc)
struct ym_softc *sc = device_private(self);
struct ym_softc *sc = device_private(self);
struct ym_softc *sc;
ym_chip_powerdown(struct ym_softc *sc)
ym_chip_powerup(struct ym_softc *sc, int nosleep)
struct ym_softc *sc;
ym_powerdown_blocks(struct ym_softc *sc)
ym_power_ctl(struct ym_softc *sc, int parts, int onoff)
static void ym_save_codec_regs(struct ym_softc *);
static void ym_restore_codec_regs(struct ym_softc *);
static void ym_chip_powerdown(struct ym_softc *);
static void ym_chip_powerup(struct ym_softc *, int);
static void ym_powerdown_blocks(struct ym_softc *);
void ym_power_ctl(struct ym_softc *, int, int);
static void ym_init(struct ym_softc *);
static void ym_mute(struct ym_softc *, int, int);
static void ym_set_master_gain(struct ym_softc *, struct ad1848_volume*);
static void ym_hvol_to_master_gain(struct ym_softc *);
static void ym_set_mic_gain(struct ym_softc *, int);
static void ym_set_3d(struct ym_softc *, mixer_ctrl_t *,
static inline int ym_read(struct ym_softc *, int);
static inline void ym_write(struct ym_softc *, int, int);
ym_attach(struct ym_softc *sc)
ym_read(struct ym_softc *sc, int reg)
ym_write(struct ym_softc *sc, int reg, int data)
ym_init(struct ym_softc *sc)
struct ym_softc *sc;
ym_mute(struct ym_softc *sc, int left_reg, int mute)
ym_set_master_gain(struct ym_softc *sc, struct ad1848_volume *vol)
ym_hvol_to_master_gain(struct ym_softc *sc)
ym_set_mic_gain(struct ym_softc *sc, int vol)
ym_set_3d(struct ym_softc *sc, mixer_ctrl_t *cp,
struct ym_softc *sc;
struct ym_softc *sc;
struct ym_softc *sc;
void ym_power_ctl(struct ym_softc *, int, int);
void ym_attach(struct ym_softc *);
struct ym_softc *sc;
CFATTACH_DECL_NEW(ym_isapnp, sizeof(struct ym_softc),