Lines Matching refs:ym_softc
149 static void ym_save_codec_regs(struct ym_softc *);
150 static void ym_restore_codec_regs(struct ym_softc *);
152 static void ym_chip_powerdown(struct ym_softc *);
153 static void ym_chip_powerup(struct ym_softc *, int);
154 static void ym_powerdown_blocks(struct ym_softc *);
156 void ym_power_ctl(struct ym_softc *, int, int);
159 static void ym_init(struct ym_softc *);
160 static void ym_mute(struct ym_softc *, int, int);
161 static void ym_set_master_gain(struct ym_softc *, struct ad1848_volume*);
162 static void ym_hvol_to_master_gain(struct ym_softc *);
163 static void ym_set_mic_gain(struct ym_softc *, int);
164 static void ym_set_3d(struct ym_softc *, mixer_ctrl_t *,
191 static inline int ym_read(struct ym_softc *, int);
192 static inline void ym_write(struct ym_softc *, int, int);
195 ym_attach(struct ym_softc *sc)
323 ym_read(struct ym_softc *sc, int reg)
332 ym_write(struct ym_softc *sc, int reg, int data)
342 ym_init(struct ym_softc *sc)
402 struct ym_softc *sc;
436 ym_mute(struct ym_softc *sc, int left_reg, int mute)
449 ym_set_master_gain(struct ym_softc *sc, struct ad1848_volume *vol)
472 ym_hvol_to_master_gain(struct ym_softc *sc)
506 ym_set_mic_gain(struct ym_softc *sc, int vol)
520 ym_set_3d(struct ym_softc *sc, mixer_ctrl_t *cp,
562 struct ym_softc *sc;
710 struct ym_softc *sc;
816 struct ym_softc *sc;
1025 struct ym_softc *sc = arg;
1078 ym_save_codec_regs(struct ym_softc *sc)
1090 ym_restore_codec_regs(struct ym_softc *sc)
1124 struct ym_softc *sc = device_private(self);
1161 struct ym_softc *sc = device_private(self);
1196 struct ym_softc *sc;
1228 ym_chip_powerdown(struct ym_softc *sc)
1252 ym_chip_powerup(struct ym_softc *sc, int nosleep)
1293 struct ym_softc *sc;
1305 ym_powerdown_blocks(struct ym_softc *sc)
1365 ym_power_ctl(struct ym_softc *sc, int parts, int onoff)