Home
last modified time | relevance | path

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

/Linux-v4.19/sound/pci/ice1712/
Dice1712.h225 struct snd_ice1712;
286 void (*open)(struct snd_ice1712 *, struct snd_pcm_substream *);
287 void (*setup_rate)(struct snd_ice1712 *, int rate);
288 void (*close)(struct snd_ice1712 *, struct snd_pcm_substream *);
289 void (*default_get)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol);
290 int (*default_put)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol);
291 void (*stream_get)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol);
292 int (*stream_put)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol);
298 struct snd_ice1712 { struct
368 void (*set_mask)(struct snd_ice1712 *ice, unsigned int data); argument
[all …]
Dse.c116 static void se200pci_WM8740_init(struct snd_ice1712 *ice) in se200pci_WM8740_init()
122 static void se200pci_WM8740_set_pro_rate(struct snd_ice1712 *ice, in se200pci_WM8740_set_pro_rate()
133 static void se200pci_WM8766_write(struct snd_ice1712 *ice, in se200pci_WM8766_write()
179 static void se200pci_WM8766_set_volume(struct snd_ice1712 *ice, int ch, in se200pci_WM8766_set_volume()
198 static void se200pci_WM8766_init(struct snd_ice1712 *ice) in se200pci_WM8766_init()
217 static void se200pci_WM8766_set_pro_rate(struct snd_ice1712 *ice, in se200pci_WM8766_set_pro_rate()
231 static void se200pci_WM8776_write(struct snd_ice1712 *ice, in se200pci_WM8776_write()
241 static void se200pci_WM8776_set_output_volume(struct snd_ice1712 *ice, in se200pci_WM8776_set_output_volume()
248 static void se200pci_WM8776_set_input_volume(struct snd_ice1712 *ice, in se200pci_WM8776_set_input_volume()
259 static void se200pci_WM8776_set_input_selector(struct snd_ice1712 *ice, in se200pci_WM8776_set_input_selector()
[all …]
Dprodigy192.c75 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, unsigned char val) in stac9460_put()
80 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) in stac9460_get()
92 static int stac9460_dac_mute(struct snd_ice1712 *ice, int idx, in stac9460_dac_mute()
110 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get()
125 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put()
158 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get()
174 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put()
205 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get()
219 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_put()
250 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_vol_get()
[all …]
Dpontis.c81 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
91 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
98 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
125 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_get()
141 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_put()
180 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_get()
196 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_put()
222 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_get()
233 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_put()
259 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_bypass_get()
[all …]
Dprodigy_hifi.c127 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
137 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
144 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
156 static void set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) in set_gpio_bit()
170 static void wm8766_spi_send_word(struct snd_ice1712 *ice, unsigned int data) in wm8766_spi_send_word()
184 static void wm8766_spi_write(struct snd_ice1712 *ice, unsigned int reg, in wm8766_spi_write()
210 static void ak4396_send_word(struct snd_ice1712 *ice, unsigned int data) in ak4396_send_word()
224 static void ak4396_write(struct snd_ice1712 *ice, unsigned int reg, in ak4396_write()
268 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4396_dac_vol_get()
280 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4396_dac_vol_put()
[all …]
Dice1724.c120 static inline int stdclock_is_spdif_master(struct snd_ice1712 *ice) in stdclock_is_spdif_master()
128 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
137 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) in snd_vt1724_ac97_ready()
153 static int snd_vt1724_ac97_wait_bit(struct snd_ice1712 *ice, unsigned char bit) in snd_vt1724_ac97_wait_bit()
167 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_write()
181 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read()
200 static void snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_dir()
207 static unsigned int snd_vt1724_get_gpio_dir(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_dir()
213 static void snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_mask()
221 static unsigned int snd_vt1724_get_gpio_mask(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_mask()
[all …]
Dquartet.c48 void (*set_register)(struct snd_ice1712 *ice, unsigned int val);
49 unsigned int (*get_register)(struct snd_ice1712 *ice);
254 snd_vt1724_write_i2c((struct snd_ice1712 *)private_data, AK4113_ADDR, in qtet_ak4113_write()
260 return snd_vt1724_read_i2c((struct snd_ice1712 *)private_data, in qtet_ak4113_read()
278 struct snd_ice1712 *ice = ak->private_data[0]; in qtet_akm_write()
409 static void reg_write(struct snd_ice1712 *ice, unsigned int reg, in reg_write()
450 static unsigned int get_scr(struct snd_ice1712 *ice) in get_scr()
456 static unsigned int get_mcr(struct snd_ice1712 *ice) in get_mcr()
462 static unsigned int get_cpld(struct snd_ice1712 *ice) in get_cpld()
468 static void set_scr(struct snd_ice1712 *ice, unsigned int val) in set_scr()
[all …]
Dice1712.c115 static int snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice);
116 static int snd_ice1712_build_controls(struct snd_ice1712 *ice);
127 static inline int is_spdif_master(struct snd_ice1712 *ice) in is_spdif_master()
132 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
137 static inline void snd_ice1712_ds_write(struct snd_ice1712 *ice, u8 channel, u8 addr, u32 data) in snd_ice1712_ds_write()
143 static inline u32 snd_ice1712_ds_read(struct snd_ice1712 *ice, u8 channel, u8 addr) in snd_ice1712_ds_read()
153 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_write()
177 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_read()
207 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_write()
232 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_read()
[all …]
Dews.c58 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_setlines()
70 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getclock()
76 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getdata()
93 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_start()
112 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_stop()
118 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_direction()
146 static int snd_ice1712_ews88mt_chip_select(struct snd_ice1712 *ice, int chip_mask) in snd_ice1712_ews88mt_chip_select()
174 struct snd_ice1712 *ice = ak->private_data[0]; in ews88mt_ak4524_lock()
191 struct snd_ice1712 *ice = ak->private_data[0]; in ews88mt_ak4524_unlock()
200 struct snd_ice1712 *ice = ak->private_data[0]; in ewx2496_ak4524_lock()
[all …]
Dpsc724.c39 struct snd_ice1712 *ice;
121 struct snd_ice1712 *ice = spec->ice; in psc724_wm8766_write()
169 static void psc724_set_master_switch(struct snd_ice1712 *ice, bool on) in psc724_set_master_switch()
182 static bool psc724_get_master_switch(struct snd_ice1712 *ice) in psc724_get_master_switch()
191 static void psc724_set_jack_state(struct snd_ice1712 *ice, bool hp_connected) in psc724_set_jack_state()
221 struct snd_ice1712 *ice = spec->ice; in psc724_update_hp_jack_state()
230 static void psc724_set_jack_detection(struct snd_ice1712 *ice, bool on) in psc724_set_jack_detection()
247 static bool psc724_get_jack_detection(struct snd_ice1712 *ice) in psc724_get_jack_detection()
258 void (*set)(struct snd_ice1712 *ice, bool on);
259 bool (*get)(struct snd_ice1712 *ice);
[all …]
Dhoontech.c42 static void snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) in snd_ice1712_stdsp24_gpio_write()
55 static void snd_ice1712_stdsp24_darear(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_darear()
64 static void snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_mute()
73 static void snd_ice1712_stdsp24_insel(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_insel()
82 static void snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) in snd_ice1712_stdsp24_box_channel()
132 static void snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) in snd_ice1712_stdsp24_box_midi()
160 static void snd_ice1712_stdsp24_midi2(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_midi2()
169 static int hoontech_init(struct snd_ice1712 *ice, bool staudio) in hoontech_init()
261 static int snd_ice1712_hoontech_init(struct snd_ice1712 *ice) in snd_ice1712_hoontech_init()
266 static int snd_ice1712_staudio_init(struct snd_ice1712 *ice) in snd_ice1712_staudio_init()
[all …]
Daureon.c111 static void aureon_pca9554_write(struct snd_ice1712 *ice, unsigned char reg, in aureon_pca9554_write()
214 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_get()
223 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_put()
243 static void aureon_ac97_write(struct snd_ice1712 *ice, unsigned short reg, in aureon_ac97_write()
297 static unsigned short aureon_ac97_read(struct snd_ice1712 *ice, unsigned short reg) in aureon_ac97_read()
306 static int aureon_ac97_init(struct snd_ice1712 *ice) in aureon_ac97_init()
372 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_get()
388 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_put()
416 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_get()
429 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_put()
[all …]
Drevo.c41 static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) in revo_i2s_mclk_changed()
97 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_start()
103 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_stop()
109 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_direction()
126 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_setlines()
141 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_getdata()
158 static int revo51_i2c_init(struct snd_ice1712 *ice, in revo51_i2c_init()
325 struct snd_ice1712 *ice = ak->private_data[0]; in ap192_set_rate_val()
378 static void write_data(struct snd_ice1712 *ice, unsigned int gpio, in write_data()
400 static unsigned char read_data(struct snd_ice1712 *ice, unsigned int gpio, in read_data()
[all …]
Djuli.c167 snd_vt1724_write_i2c((struct snd_ice1712 *)private_data, AK4114_ADDR, in juli_ak4114_write()
173 return snd_vt1724_read_i2c((struct snd_ice1712 *)private_data, in juli_ak4114_read()
181 static void juli_spdif_in_open(struct snd_ice1712 *ice, in juli_spdif_in_open()
213 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_write()
227 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_set_rate_val()
307 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in juli_mute_get()
322 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in juli_mute_put()
450 static int juli_add_controls(struct snd_ice1712 *ice) in juli_add_controls()
487 static int juli_resume(struct snd_ice1712 *ice) in juli_resume()
498 static int juli_suspend(struct snd_ice1712 *ice) in juli_suspend()
[all …]
Dphase.c123 static int phase22_init(struct snd_ice1712 *ice) in phase22_init()
160 static int phase22_add_controls(struct snd_ice1712 *ice) in phase22_add_controls()
211 static void phase28_spi_write(struct snd_ice1712 *ice, unsigned int cs, in phase28_spi_write()
253 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
263 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
271 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
279 static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, in wm_set_vol()
302 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_get()
314 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_put()
345 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_master_vol_get()
[all …]
Dwtm.c49 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, in stac9460_put()
55 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) in stac9460_get()
63 static inline void stac9460_2_put(struct snd_ice1712 *ice, int reg, in stac9460_2_put()
69 static inline unsigned char stac9460_2_get(struct snd_ice1712 *ice, int reg) in stac9460_2_get()
78 static void stac9460_dac_mute_all(struct snd_ice1712 *ice, unsigned char mute, in stac9460_dac_mute_all()
130 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get()
157 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put()
208 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get()
230 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put()
275 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get()
[all …]
Ddelta.c47 static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) in ap_cs8427_write_byte()
64 static unsigned char ap_cs8427_read_byte(struct snd_ice1712 *ice, unsigned char tmp) in ap_cs8427_read_byte()
83 static unsigned char ap_cs8427_codec_select(struct snd_ice1712 *ice) in ap_cs8427_codec_select()
114 static void ap_cs8427_codec_deassert(struct snd_ice1712 *ice, unsigned char tmp) in ap_cs8427_codec_deassert()
139 struct snd_ice1712 *ice = device->bus->private_data; in ap_cs8427_sendbytes()
156 struct snd_ice1712 *ice = device->bus->private_data; in ap_cs8427_readbytes()
186 static void snd_ice1712_delta_cs8403_spdif_write(struct snd_ice1712 *ice, unsigned char bits) in snd_ice1712_delta_cs8403_spdif_write()
211 static void delta_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_default_get()
216 static int delta_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_default_put()
234 static void delta_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_stream_get()
[all …]
Dak4xxx.c40 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_lock()
47 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_unlock()
62 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_write()
127 const struct snd_ak4xxx_private *_priv, struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_init()
153 void snd_ice1712_akm4xxx_free(struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_free()
168 int snd_ice1712_akm4xxx_build_controls(struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_build_controls()
Damp.c33 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
40 static int snd_vt1724_amp_init(struct snd_ice1712 *ice) in snd_vt1724_amp_init()
68 static int snd_vt1724_amp_add_controls(struct snd_ice1712 *ice) in snd_vt1724_amp_add_controls()
Dmaya44.c83 struct snd_ice1712 *ice;
90 static void wm8776_write(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write()
106 static int wm8776_write_bits(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write_bits()
297 static int maya_set_gpio_bits(struct snd_ice1712 *ice, unsigned int mask, in maya_set_gpio_bits()
531 static int maya44_add_controls(struct snd_ice1712 *ice) in maya44_add_controls()
548 static void wm8776_init(struct snd_ice1712 *ice, in wm8776_init()
601 static void set_rate(struct snd_ice1712 *ice, unsigned int rate) in set_rate()
686 static int maya44_init(struct snd_ice1712 *ice) in maya44_init()
Dvt1720_mobo.c34 static int k8x800_init(struct snd_ice1712 *ice) in k8x800_init()
48 static int k8x800_add_controls(struct snd_ice1712 *ice) in k8x800_add_controls()
Denvy24ht.h217 unsigned char snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr);
218 void snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned …