Home
last modified time | relevance | path

Searched refs:snd_ice1712 (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/sound/pci/ice1712/
Dice1712.h211 struct snd_ice1712;
272 void (*open)(struct snd_ice1712 *, struct snd_pcm_substream *);
273 void (*setup_rate)(struct snd_ice1712 *, int rate);
274 void (*close)(struct snd_ice1712 *, struct snd_pcm_substream *);
275 void (*default_get)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol);
276 int (*default_put)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol);
277 void (*stream_get)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol);
278 int (*stream_put)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol);
284 struct snd_ice1712 { struct
354 void (*set_mask)(struct snd_ice1712 *ice, unsigned int data); argument
[all …]
Dpontis.c67 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
77 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
84 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
111 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_get()
127 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_put()
166 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_get()
182 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_put()
208 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_get()
219 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_put()
245 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_bypass_get()
[all …]
Dprodigy192.c61 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, unsigned char val) in stac9460_put()
66 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) in stac9460_get()
78 static int stac9460_dac_mute(struct snd_ice1712 *ice, int idx, in stac9460_dac_mute()
96 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get()
111 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put()
144 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get()
160 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put()
191 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get()
205 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_put()
236 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_vol_get()
[all …]
Dse.c102 static void se200pci_WM8740_init(struct snd_ice1712 *ice) in se200pci_WM8740_init()
108 static void se200pci_WM8740_set_pro_rate(struct snd_ice1712 *ice, in se200pci_WM8740_set_pro_rate()
119 static void se200pci_WM8766_write(struct snd_ice1712 *ice, in se200pci_WM8766_write()
165 static void se200pci_WM8766_set_volume(struct snd_ice1712 *ice, int ch, in se200pci_WM8766_set_volume()
184 static void se200pci_WM8766_init(struct snd_ice1712 *ice) in se200pci_WM8766_init()
203 static void se200pci_WM8766_set_pro_rate(struct snd_ice1712 *ice, in se200pci_WM8766_set_pro_rate()
217 static void se200pci_WM8776_write(struct snd_ice1712 *ice, in se200pci_WM8776_write()
227 static void se200pci_WM8776_set_output_volume(struct snd_ice1712 *ice, in se200pci_WM8776_set_output_volume()
234 static void se200pci_WM8776_set_input_volume(struct snd_ice1712 *ice, in se200pci_WM8776_set_input_volume()
245 static void se200pci_WM8776_set_input_selector(struct snd_ice1712 *ice, in se200pci_WM8776_set_input_selector()
[all …]
Dice1712.c95 static int snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice);
96 static int snd_ice1712_build_controls(struct snd_ice1712 *ice);
107 static inline int is_spdif_master(struct snd_ice1712 *ice) in is_spdif_master()
112 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
117 static inline void snd_ice1712_ds_write(struct snd_ice1712 *ice, u8 channel, u8 addr, u32 data) in snd_ice1712_ds_write()
123 static inline u32 snd_ice1712_ds_read(struct snd_ice1712 *ice, u8 channel, u8 addr) in snd_ice1712_ds_read()
133 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_write()
157 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_read()
187 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_write()
212 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_read()
[all …]
Dprodigy_hifi.c113 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
123 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
130 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
142 static void set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) in set_gpio_bit()
156 static void wm8766_spi_send_word(struct snd_ice1712 *ice, unsigned int data) in wm8766_spi_send_word()
170 static void wm8766_spi_write(struct snd_ice1712 *ice, unsigned int reg, in wm8766_spi_write()
196 static void ak4396_send_word(struct snd_ice1712 *ice, unsigned int data) in ak4396_send_word()
210 static void ak4396_write(struct snd_ice1712 *ice, unsigned int reg, in ak4396_write()
254 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4396_dac_vol_get()
266 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4396_dac_vol_put()
[all …]
Dquartet.c33 void (*set_register)(struct snd_ice1712 *ice, unsigned int val);
34 unsigned int (*get_register)(struct snd_ice1712 *ice);
239 snd_vt1724_write_i2c((struct snd_ice1712 *)private_data, AK4113_ADDR, in qtet_ak4113_write()
245 return snd_vt1724_read_i2c((struct snd_ice1712 *)private_data, in qtet_ak4113_read()
263 struct snd_ice1712 *ice = ak->private_data[0]; in qtet_akm_write()
394 static void reg_write(struct snd_ice1712 *ice, unsigned int reg, in reg_write()
435 static unsigned int get_scr(struct snd_ice1712 *ice) in get_scr()
441 static unsigned int get_mcr(struct snd_ice1712 *ice) in get_mcr()
447 static unsigned int get_cpld(struct snd_ice1712 *ice) in get_cpld()
453 static void set_scr(struct snd_ice1712 *ice, unsigned int val) in set_scr()
[all …]
Dice1724.c87 static inline int stdclock_is_spdif_master(struct snd_ice1712 *ice) in stdclock_is_spdif_master()
95 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
104 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) in snd_vt1724_ac97_ready()
120 static int snd_vt1724_ac97_wait_bit(struct snd_ice1712 *ice, unsigned char bit) in snd_vt1724_ac97_wait_bit()
134 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_write()
148 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read()
167 static void snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_dir()
174 static unsigned int snd_vt1724_get_gpio_dir(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_dir()
180 static void snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_mask()
188 static unsigned int snd_vt1724_get_gpio_mask(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_mask()
[all …]
Dews.c44 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_setlines()
56 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getclock()
62 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getdata()
79 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_start()
98 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_stop()
104 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_direction()
132 static int snd_ice1712_ews88mt_chip_select(struct snd_ice1712 *ice, int chip_mask) in snd_ice1712_ews88mt_chip_select()
160 struct snd_ice1712 *ice = ak->private_data[0]; in ews88mt_ak4524_lock()
177 struct snd_ice1712 *ice = ak->private_data[0]; in ews88mt_ak4524_unlock()
186 struct snd_ice1712 *ice = ak->private_data[0]; in ewx2496_ak4524_lock()
[all …]
Dpsc724.c25 struct snd_ice1712 *ice;
107 struct snd_ice1712 *ice = spec->ice; in psc724_wm8766_write()
155 static void psc724_set_master_switch(struct snd_ice1712 *ice, bool on) in psc724_set_master_switch()
168 static bool psc724_get_master_switch(struct snd_ice1712 *ice) in psc724_get_master_switch()
177 static void psc724_set_jack_state(struct snd_ice1712 *ice, bool hp_connected) in psc724_set_jack_state()
207 struct snd_ice1712 *ice = spec->ice; in psc724_update_hp_jack_state()
216 static void psc724_set_jack_detection(struct snd_ice1712 *ice, bool on) in psc724_set_jack_detection()
233 static bool psc724_get_jack_detection(struct snd_ice1712 *ice) in psc724_get_jack_detection()
244 void (*set)(struct snd_ice1712 *ice, bool on);
245 bool (*get)(struct snd_ice1712 *ice);
[all …]
Daureon.c97 static void aureon_pca9554_write(struct snd_ice1712 *ice, unsigned char reg, in aureon_pca9554_write()
200 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_get()
209 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_put()
229 static void aureon_ac97_write(struct snd_ice1712 *ice, unsigned short reg, in aureon_ac97_write()
283 static unsigned short aureon_ac97_read(struct snd_ice1712 *ice, unsigned short reg) in aureon_ac97_read()
292 static int aureon_ac97_init(struct snd_ice1712 *ice) in aureon_ac97_init()
358 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_get()
374 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_put()
402 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_get()
415 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_put()
[all …]
Dhoontech.c28 static void snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) in snd_ice1712_stdsp24_gpio_write()
41 static void snd_ice1712_stdsp24_darear(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_darear()
50 static void snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_mute()
59 static void snd_ice1712_stdsp24_insel(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_insel()
68 static void snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) in snd_ice1712_stdsp24_box_channel()
118 static void snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) in snd_ice1712_stdsp24_box_midi()
146 static void snd_ice1712_stdsp24_midi2(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_midi2()
155 static int hoontech_init(struct snd_ice1712 *ice, bool staudio) in hoontech_init()
247 static int snd_ice1712_hoontech_init(struct snd_ice1712 *ice) in snd_ice1712_hoontech_init()
252 static int snd_ice1712_staudio_init(struct snd_ice1712 *ice) in snd_ice1712_staudio_init()
[all …]
Djuli.c152 snd_vt1724_write_i2c((struct snd_ice1712 *)private_data, AK4114_ADDR, in juli_ak4114_write()
158 return snd_vt1724_read_i2c((struct snd_ice1712 *)private_data, in juli_ak4114_read()
166 static void juli_spdif_in_open(struct snd_ice1712 *ice, in juli_spdif_in_open()
198 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_write()
212 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_set_rate_val()
292 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in juli_mute_get()
307 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in juli_mute_put()
435 static int juli_add_controls(struct snd_ice1712 *ice) in juli_add_controls()
472 static int juli_resume(struct snd_ice1712 *ice) in juli_resume()
483 static int juli_suspend(struct snd_ice1712 *ice) in juli_suspend()
[all …]
Drevo.c27 static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) in revo_i2s_mclk_changed()
83 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_start()
89 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_stop()
95 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_direction()
112 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_setlines()
127 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_getdata()
144 static int revo51_i2c_init(struct snd_ice1712 *ice, in revo51_i2c_init()
311 struct snd_ice1712 *ice = ak->private_data[0]; in ap192_set_rate_val()
364 static void write_data(struct snd_ice1712 *ice, unsigned int gpio, in write_data()
386 static unsigned char read_data(struct snd_ice1712 *ice, unsigned int gpio, in read_data()
[all …]
Dphase.c109 static int phase22_init(struct snd_ice1712 *ice) in phase22_init()
146 static int phase22_add_controls(struct snd_ice1712 *ice) in phase22_add_controls()
197 static void phase28_spi_write(struct snd_ice1712 *ice, unsigned int cs, in phase28_spi_write()
239 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
249 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
257 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
265 static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, in wm_set_vol()
288 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_get()
300 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_put()
331 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_master_vol_get()
[all …]
Dwtm.c35 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, in stac9460_put()
41 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) in stac9460_get()
49 static inline void stac9460_2_put(struct snd_ice1712 *ice, int reg, in stac9460_2_put()
55 static inline unsigned char stac9460_2_get(struct snd_ice1712 *ice, int reg) in stac9460_2_get()
64 static void stac9460_dac_mute_all(struct snd_ice1712 *ice, unsigned char mute, in stac9460_dac_mute_all()
116 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get()
143 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put()
194 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get()
216 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put()
261 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get()
[all …]
Ddelta.c33 static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) in ap_cs8427_write_byte()
50 static unsigned char ap_cs8427_read_byte(struct snd_ice1712 *ice, unsigned char tmp) in ap_cs8427_read_byte()
69 static unsigned char ap_cs8427_codec_select(struct snd_ice1712 *ice) in ap_cs8427_codec_select()
100 static void ap_cs8427_codec_deassert(struct snd_ice1712 *ice, unsigned char tmp) in ap_cs8427_codec_deassert()
125 struct snd_ice1712 *ice = device->bus->private_data; in ap_cs8427_sendbytes()
142 struct snd_ice1712 *ice = device->bus->private_data; in ap_cs8427_readbytes()
172 static void snd_ice1712_delta_cs8403_spdif_write(struct snd_ice1712 *ice, unsigned char bits) in snd_ice1712_delta_cs8403_spdif_write()
197 static void delta_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_default_get()
202 static int delta_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_default_put()
220 static void delta_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_stream_get()
[all …]
Dak4xxx.c26 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_lock()
33 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_unlock()
48 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_write()
113 const struct snd_ak4xxx_private *_priv, struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_init()
139 void snd_ice1712_akm4xxx_free(struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_free()
154 int snd_ice1712_akm4xxx_build_controls(struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_build_controls()
Damp.c19 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
26 static int snd_vt1724_amp_init(struct snd_ice1712 *ice) in snd_vt1724_amp_init()
54 static int snd_vt1724_amp_add_controls(struct snd_ice1712 *ice) in snd_vt1724_amp_add_controls()
Dmaya44.c69 struct snd_ice1712 *ice;
76 static void wm8776_write(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write()
92 static int wm8776_write_bits(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write_bits()
283 static int maya_set_gpio_bits(struct snd_ice1712 *ice, unsigned int mask, in maya_set_gpio_bits()
517 static int maya44_add_controls(struct snd_ice1712 *ice) in maya44_add_controls()
534 static void wm8776_init(struct snd_ice1712 *ice, in wm8776_init()
587 static void set_rate(struct snd_ice1712 *ice, unsigned int rate) in set_rate()
672 static int maya44_init(struct snd_ice1712 *ice) in maya44_init()
Dvt1720_mobo.c20 static int k8x800_init(struct snd_ice1712 *ice) in k8x800_init()
34 static int k8x800_add_controls(struct snd_ice1712 *ice) in k8x800_add_controls()
Denvy24ht.h203 unsigned char snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr);
204 void snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned …