/sound/pci/ice1712/ |
D | wm8766.c | 18 static void snd_wm8766_write(struct snd_wm8766 *wm, u16 addr, u16 data) in snd_wm8766_write() argument 21 wm->regs[addr] = data; in snd_wm8766_write() 22 wm->ops.write(wm, addr, data); in snd_wm8766_write() 137 void snd_wm8766_init(struct snd_wm8766 *wm) in snd_wm8766_init() argument 147 memcpy(wm->ctl, snd_wm8766_default_ctl, sizeof(wm->ctl)); in snd_wm8766_init() 149 snd_wm8766_write(wm, WM8766_REG_RESET, 0x00); /* reset */ in snd_wm8766_init() 153 snd_wm8766_write(wm, i, default_values[i]); in snd_wm8766_init() 156 void snd_wm8766_resume(struct snd_wm8766 *wm) in snd_wm8766_resume() argument 161 snd_wm8766_write(wm, i, wm->regs[i]); in snd_wm8766_resume() 164 void snd_wm8766_set_if(struct snd_wm8766 *wm, u16 dac) in snd_wm8766_set_if() argument [all …]
|
D | wm8776.c | 18 static void snd_wm8776_write(struct snd_wm8776 *wm, u16 addr, u16 data) in snd_wm8776_write() argument 24 wm->regs[addr] = data; in snd_wm8776_write() 25 wm->ops.write(wm, bus_addr, bus_data); in snd_wm8776_write() 30 static void snd_wm8776_activate_ctl(struct snd_wm8776 *wm, in snd_wm8776_activate_ctl() argument 34 struct snd_card *card = wm->card; in snd_wm8776_activate_ctl() 55 static void snd_wm8776_update_agc_ctl(struct snd_wm8776 *wm) in snd_wm8776_update_agc_ctl() argument 59 switch (wm->agc_mode) { in snd_wm8776_update_agc_ctl() 76 if (wm->ctl[i].flags & flags_off) in snd_wm8776_update_agc_ctl() 77 snd_wm8776_activate_ctl(wm, wm->ctl[i].name, false); in snd_wm8776_update_agc_ctl() 78 else if (wm->ctl[i].flags & flags_on) in snd_wm8776_update_agc_ctl() [all …]
|
D | maya44.c | 70 struct snd_wm8776 wm[2]; member 76 static void wm8776_write(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write() argument 83 snd_vt1724_write_i2c(ice, wm->addr, in wm8776_write() 86 wm->regs[reg] = val; in wm8776_write() 92 static int wm8776_write_bits(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write_bits() argument 96 val |= wm->regs[reg] & ~mask; in wm8776_write_bits() 97 if (val != wm->regs[reg]) { in wm8776_write_bits() 98 wm8776_write(ice, wm, reg, val); in wm8776_write_bits() 174 struct snd_wm8776 *wm = in maya_vol_get() local 175 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_vol_get() [all …]
|
D | wm8766.h | 88 void (*write)(struct snd_wm8766 *wm, u16 addr, u16 data); 125 void (*set)(struct snd_wm8766 *wm, u16 ch1, u16 ch2); 126 void (*get)(struct snd_wm8766 *wm, u16 *ch1, u16 *ch2); 141 void snd_wm8766_init(struct snd_wm8766 *wm); 142 void snd_wm8766_resume(struct snd_wm8766 *wm); 143 void snd_wm8766_set_if(struct snd_wm8766 *wm, u16 dac); 144 void snd_wm8766_volume_restore(struct snd_wm8766 *wm); 145 int snd_wm8766_build_controls(struct snd_wm8766 *wm);
|
D | wm8776.h | 127 void (*write)(struct snd_wm8776 *wm, u8 addr, u8 data); 181 void (*set)(struct snd_wm8776 *wm, u16 ch1, u16 ch2); 182 void (*get)(struct snd_wm8776 *wm, u16 *ch1, u16 *ch2); 203 void snd_wm8776_init(struct snd_wm8776 *wm); 204 void snd_wm8776_resume(struct snd_wm8776 *wm); 205 void snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power); 206 void snd_wm8776_volume_restore(struct snd_wm8776 *wm); 207 int snd_wm8776_build_controls(struct snd_wm8776 *wm);
|
D | psc724.c | 104 static void psc724_wm8766_write(struct snd_wm8766 *wm, u16 addr, u16 data) in psc724_wm8766_write() argument 106 struct psc724_spec *spec = container_of(wm, struct psc724_spec, wm8766); in psc724_wm8766_write() 146 static void psc724_wm8776_write(struct snd_wm8776 *wm, u8 addr, u8 data) in psc724_wm8776_write() argument 148 struct psc724_spec *spec = container_of(wm, struct psc724_spec, wm8776); in psc724_wm8776_write()
|
/sound/soc/fsl/ |
D | fsl_ssi.c | 1264 u32 wm = ssi->fifo_watermark; in fsl_ssi_hw_init() local 1271 SSI_SFCSR_TFWM0(wm) | SSI_SFCSR_RFWM0(wm) | in fsl_ssi_hw_init() 1272 SSI_SFCSR_TFWM1(wm) | SSI_SFCSR_RFWM1(wm)); in fsl_ssi_hw_init()
|
/sound/soc/codecs/ |
D | Makefile | 241 snd-soc-wm-adsp-objs := wm_adsp.o 296 snd-soc-wm-hubs-objs := wm_hubs.o 605 obj-$(CONFIG_SND_SOC_WM_ADSP) += snd-soc-wm-adsp.o 606 obj-$(CONFIG_SND_SOC_WM_HUBS) += snd-soc-wm-hubs.o
|