/Linux-v4.19/sound/pci/ice1712/ |
D | ice1712.c | 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() local 177 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_read() local 207 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_write() local 232 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_read() local 261 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_digmix_route_ac97_get() local 269 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_digmix_route_ac97_put() local [all …]
|
D | ice1724.c | 120 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() local 181 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read() local 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 …]
|
D | delta.c | 47 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() local 156 struct snd_ice1712 *ice = device->bus->private_data; in ap_cs8427_readbytes() local 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 …]
|
D | pontis.c | 81 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() local 141 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_put() local 180 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_get() local 196 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_put() local 222 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_get() local 233 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_put() local 259 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_bypass_get() local [all …]
|
D | hoontech.c | 42 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 …]
|
D | ews.c | 58 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_setlines() local 70 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getclock() local 76 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getdata() local 93 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_start() local 112 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_stop() local 118 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_direction() local 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() local 191 struct snd_ice1712 *ice = ak->private_data[0]; in ews88mt_ak4524_unlock() local 200 struct snd_ice1712 *ice = ak->private_data[0]; in ewx2496_ak4524_lock() local [all …]
|
D | prodigy192.c | 75 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() local 125 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put() local 158 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get() local 174 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put() local 205 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get() local 219 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_put() local 250 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_vol_get() local [all …]
|
D | aureon.c | 111 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() local 223 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_put() local 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() local 388 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_put() local 416 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_get() local 429 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_put() local [all …]
|
D | se.c | 116 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 …]
|
D | prodigy_hifi.c | 127 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() local 280 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4396_dac_vol_put() local [all …]
|
D | revo.c | 41 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() local 103 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_stop() local 109 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_direction() local 126 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_setlines() local 141 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_getdata() local 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() local 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 …]
|
D | phase.c | 123 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() local 314 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_put() local 345 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_master_vol_get() local [all …]
|
D | wtm.c | 49 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() local 157 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put() local 208 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get() local 230 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put() local 275 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get() local [all …]
|
D | psc724.c | 39 struct snd_ice1712 *ice; member 121 struct snd_ice1712 *ice = spec->ice; in psc724_wm8766_write() local 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() local 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() 278 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in psc724_ctl_get() local 289 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in psc724_ctl_put() local [all …]
|
D | quartet.c | 278 struct snd_ice1712 *ice = ak->private_data[0]; in qtet_akm_write() local 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() 475 static void set_mcr(struct snd_ice1712 *ice, unsigned int val) in set_mcr() 482 static void set_cpld(struct snd_ice1712 *ice, unsigned int val) in set_cpld() 492 struct snd_ice1712 *ice = entry->private_data; in proc_regs_read() local 503 static void proc_init(struct snd_ice1712 *ice) in proc_init() [all …]
|
D | ak4xxx.c | 40 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_lock() local 47 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_unlock() local 62 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_write() local 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()
|
D | juli.c | 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() local 227 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_set_rate_val() local 307 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in juli_mute_get() local 322 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in juli_mute_put() local 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() 513 static inline int juli_is_spdif_master(struct snd_ice1712 *ice) in juli_is_spdif_master() 518 static unsigned int juli_get_rate(struct snd_ice1712 *ice) in juli_get_rate() [all …]
|
D | amp.c | 33 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()
|
D | vt1720_mobo.c | 34 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()
|
D | maya44.c | 83 struct snd_ice1712 *ice; member 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()
|
D | ice1712.h | 41 #define ICEREG(ice, x) ((ice)->port + ICE1712_REG_##x) argument 118 #define ICEDS(ice, x) ((ice)->dmapath_port + ICE1712_DS_##x) argument 149 #define ICEMT(ice, x) ((ice)->profi_port + ICE1712_MT_##x) argument 262 #define ice_has_con_ac97(ice) (!((ice)->eeprom.data[ICE_EEP1_CODEC] & ICE1712_CFG_NO_CON_AC97)) argument 409 static inline void snd_ice1712_gpio_set_dir(struct snd_ice1712 *ice, unsigned int bits) in snd_ice1712_gpio_set_dir() 414 static inline unsigned int snd_ice1712_gpio_get_dir(struct snd_ice1712 *ice) in snd_ice1712_gpio_get_dir() 419 static inline void snd_ice1712_gpio_set_mask(struct snd_ice1712 *ice, unsigned int bits) in snd_ice1712_gpio_set_mask() 424 static inline void snd_ice1712_gpio_write(struct snd_ice1712 *ice, unsigned int val) in snd_ice1712_gpio_write() 429 static inline unsigned int snd_ice1712_gpio_read(struct snd_ice1712 *ice) in snd_ice1712_gpio_read() 439 static inline void snd_ice1712_save_gpio_status(struct snd_ice1712 *ice) in snd_ice1712_save_gpio_status() [all …]
|
D | envy24ht.h | 53 #define ICEREG1724(ice, x) ((ice)->port + VT1724_REG_##x) argument 131 #define ICEMT1724(ice, x) ((ice)->profi_port + VT1724_MT_##x) argument
|