/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | ice1724.c | 106 static inline int stdclock_is_spdif_master(struct snd_ice1712 *ice) in stdclock_is_spdif_master() argument 108 return (inb(ICEMT1724(ice, RATE)) & VT1724_SPDIF_MASTER) ? 1 : 0; in stdclock_is_spdif_master() 114 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked() argument 116 return (!ice->is_spdif_master(ice)) && PRO_RATE_LOCKED; in is_pro_rate_locked() 123 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) in snd_vt1724_ac97_ready() argument 128 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_ready() 135 dev_dbg(ice->card->dev, "snd_vt1724_ac97_ready: timeout\n"); in snd_vt1724_ac97_ready() 139 static int snd_vt1724_ac97_wait_bit(struct snd_ice1712 *ice, unsigned char bit) in snd_vt1724_ac97_wait_bit() argument 143 if ((inb(ICEMT1724(ice, AC97_CM in snd_vt1724_ac97_wait_bit() 153 struct snd_ice1712 *ice = ac97->private_data; snd_vt1724_ac97_write() local 167 struct snd_ice1712 *ice = ac97->private_data; snd_vt1724_ac97_read() local 186 snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) snd_vt1724_set_gpio_dir() argument 193 snd_vt1724_get_gpio_dir(struct snd_ice1712 *ice) snd_vt1724_get_gpio_dir() argument 199 snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) snd_vt1724_set_gpio_mask() argument 207 snd_vt1724_get_gpio_mask(struct snd_ice1712 *ice) snd_vt1724_get_gpio_mask() argument 218 snd_vt1724_set_gpio_data(struct snd_ice1712 *ice, unsigned int data) snd_vt1724_set_gpio_data() argument 226 snd_vt1724_get_gpio_data(struct snd_ice1712 *ice) snd_vt1724_get_gpio_data() argument 241 vt1724_midi_clear_rx(struct snd_ice1712 *ice) vt1724_midi_clear_rx() argument 250 get_rawmidi_substream(struct snd_ice1712 *ice, unsigned int stream) get_rawmidi_substream() argument 258 vt1724_midi_write(struct snd_ice1712 *ice) vt1724_midi_write() argument 278 vt1724_midi_read(struct snd_ice1712 *ice) vt1724_midi_read() argument 295 enable_midi_irq(struct snd_ice1712 *ice, u8 flag, int enable) enable_midi_irq() argument 308 struct snd_ice1712 *ice = substream->rmidi->private_data; vt1724_enable_midi_irq() local 327 struct snd_ice1712 *ice = s->rmidi->private_data; vt1724_midi_output_trigger() local 343 struct snd_ice1712 *ice = s->rmidi->private_data; vt1724_midi_output_drain() local 378 struct snd_ice1712 *ice = s->rmidi->private_data; vt1724_midi_input_trigger() local 404 struct snd_ice1712 *ice = dev_id; snd_vt1724_interrupt() local 543 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_trigger() local 607 stdclock_get_rate(struct snd_ice1712 *ice) stdclock_get_rate() argument 612 stdclock_set_rate(struct snd_ice1712 *ice, unsigned int rate) stdclock_set_rate() argument 623 stdclock_set_mclk(struct snd_ice1712 *ice, unsigned int rate) stdclock_set_mclk() argument 644 snd_vt1724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) snd_vt1724_set_pro_rate() argument 709 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_hw_params() local 751 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_hw_free() local 765 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_pro_prepare() local 799 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_pro_pointer() local 836 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_prepare() local 851 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_pointer() local 971 set_std_hw_rates(struct snd_ice1712 *ice) set_std_hw_rates() argument 986 set_rate_constraints(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) set_rate_constraints() argument 1004 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); constrain_rate_if_locked() local 1026 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_pro_open() local 1059 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_capture_pro_open() local 1080 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_pro_close() local 1091 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_capture_pro_close() local 1119 snd_vt1724_pcm_profi(struct snd_ice1712 *ice, int device) snd_vt1724_pcm_profi() argument 1156 update_spdif_bits(struct snd_ice1712 *ice, unsigned int val) update_spdif_bits() argument 1171 update_spdif_rate(struct snd_ice1712 *ice, unsigned int rate) update_spdif_rate() argument 1195 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_spdif_prepare() local 1203 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_spdif_open() local 1227 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_spdif_close() local 1240 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_capture_spdif_open() local 1264 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_capture_spdif_close() local 1296 snd_vt1724_pcm_spdif(struct snd_ice1712 *ice, int device) snd_vt1724_pcm_spdif() argument 1373 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_indep_prepare() local 1386 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_indep_open() local 1407 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_indep_close() local 1428 snd_vt1724_pcm_indep(struct snd_ice1712 *ice, int device) snd_vt1724_pcm_indep() argument 1462 snd_vt1724_ac97_mixer(struct snd_ice1712 *ice) snd_vt1724_ac97_mixer() argument 1500 eeprom_triple(struct snd_ice1712 *ice, int idx) eeprom_triple() argument 1510 struct snd_ice1712 *ice = entry->private_data; snd_vt1724_proc_read() local 1549 snd_vt1724_proc_init(struct snd_ice1712 *ice) snd_vt1724_proc_init() argument 1569 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_eeprom_get() local 1666 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_spdif_default_get() local 1676 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_spdif_default_put() local 1743 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_spdif_sw_get() local 1752 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_spdif_sw_put() local 1826 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_internal_clock_info() local 1855 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_internal_clock_get() local 1876 stdclock_get_spdif_master_type(struct snd_ice1712 *ice) stdclock_get_spdif_master_type() argument 1883 stdclock_set_spdif_clock(struct snd_ice1712 *ice, int type) stdclock_set_spdif_clock() argument 1899 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_internal_clock_put() local 1961 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_rate_locking_put() local 1992 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_rate_reset_put() local 2037 snd_ice1724_get_route_val(struct snd_ice1712 *ice, int shift) snd_ice1724_get_route_val() argument 2056 snd_ice1724_put_route_val(struct snd_ice1712 *ice, unsigned int val, int shift) snd_ice1724_put_route_val() argument 2082 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_route_analog_get() local 2092 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_route_analog_put() local 2102 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_route_spdif_get() local 2112 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_route_spdif_put() local 2151 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_peak_get() local 2235 wait_i2c_busy(struct snd_ice1712 *ice) wait_i2c_busy() argument 2244 snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr) snd_vt1724_read_i2c() argument 2262 snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned char data) snd_vt1724_write_i2c() argument 2277 snd_vt1724_read_eeprom(struct snd_ice1712 *ice, const char *modelname) snd_vt1724_read_eeprom() argument 2366 snd_vt1724_chip_reset(struct snd_ice1712 *ice) snd_vt1724_chip_reset() argument 2376 snd_vt1724_chip_init(struct snd_ice1712 *ice) snd_vt1724_chip_init() argument 2402 snd_vt1724_spdif_build_controls(struct snd_ice1712 *ice) snd_vt1724_spdif_build_controls() argument 2444 snd_vt1724_build_controls(struct snd_ice1712 *ice) snd_vt1724_build_controls() argument 2476 snd_vt1724_free(struct snd_ice1712 *ice) snd_vt1724_free() argument 2497 struct snd_ice1712 *ice = device->device_data; snd_vt1724_dev_free() local 2506 struct snd_ice1712 *ice; snd_vt1724_create() local 2594 struct snd_ice1712 *ice; snd_vt1724_probe() local 2763 struct snd_ice1712 *ice = card->private_data; snd_vt1724_remove() local 2774 struct snd_ice1712 *ice = card->private_data; snd_vt1724_suspend() local 2798 struct snd_ice1712 *ice = card->private_data; snd_vt1724_resume() local [all...] |
H A D | ews.c | 44 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_setlines() local 50 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ewx_i2c_setlines() 56 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getclock() local 57 return snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_EWX2496_SERIAL_CLOCK ? 1 : 0; in ewx_i2c_getclock() 62 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getdata() local 65 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~ICE1712_EWX2496_RW); in ewx_i2c_getdata() 66 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, 0); in ewx_i2c_getdata() 69 bit = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_EWX2496_SERIAL_DATA ? 1 : 0; in ewx_i2c_getdata() 71 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, ICE1712_EWX2496_RW); in ewx_i2c_getdata() 73 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MAS in ewx_i2c_getdata() 79 struct snd_ice1712 *ice = bus->private_data; ewx_i2c_start() local 98 struct snd_ice1712 *ice = bus->private_data; ewx_i2c_stop() local 104 struct snd_ice1712 *ice = bus->private_data; ewx_i2c_direction() local 132 snd_ice1712_ews88mt_chip_select(struct snd_ice1712 *ice, int chip_mask) snd_ice1712_ews88mt_chip_select() argument 160 struct snd_ice1712 *ice = ak->private_data[0]; ews88mt_ak4524_lock() local 177 struct snd_ice1712 *ice = ak->private_data[0]; ews88mt_ak4524_unlock() local 186 struct snd_ice1712 *ice = ak->private_data[0]; ewx2496_ak4524_lock() local 202 struct snd_ice1712 *ice = ak->private_data[0]; dmx6fire_ak4524_lock() local 218 snd_ice1712_ews_cs8404_spdif_write(struct snd_ice1712 *ice, unsigned char bits) snd_ice1712_ews_cs8404_spdif_write() argument 252 ews88_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ews88_spdif_default_get() argument 257 ews88_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ews88_spdif_default_put() argument 275 ews88_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ews88_spdif_stream_get() argument 280 ews88_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ews88_spdif_stream_put() argument 300 ews88_open_spdif(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) ews88_open_spdif() argument 306 ews88_setup_spdif(struct snd_ice1712 *ice, int rate) ews88_setup_spdif() argument 409 snd_ice1712_ews_init(struct snd_ice1712 *ice) snd_ice1712_ews_init() argument 574 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ewx_io_sense_get() local 585 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ewx_io_sense_put() local 626 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88mt_output_sense_get() local 643 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88mt_output_sense_put() local 665 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88mt_input_sense_get() local 686 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88mt_input_sense_put() local 734 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88d_control_get() local 755 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88d_control_put() local 808 snd_ice1712_6fire_read_pca(struct snd_ice1712 *ice, unsigned char reg) snd_ice1712_6fire_read_pca() argument 831 snd_ice1712_6fire_write_pca(struct snd_ice1712 *ice, unsigned char reg, unsigned char data) snd_ice1712_6fire_write_pca() argument 851 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_6fire_control_get() local 867 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_6fire_control_put() local 896 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_6fire_select_input_get() local 907 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_6fire_select_input_put() local 947 snd_ice1712_ews_add_controls(struct snd_ice1712 *ice) snd_ice1712_ews_add_controls() argument [all...] |
H A D | ice1712.c | 101 static int snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice); 102 static int snd_ice1712_build_controls(struct snd_ice1712 *ice); 113 static inline int is_spdif_master(struct snd_ice1712 *ice) in is_spdif_master() argument 115 return (inb(ICEMT(ice, RATE)) & ICE1712_SPDIF_MASTER) ? 1 : 0; in is_spdif_master() 118 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked() argument 120 return is_spdif_master(ice) || PRO_RATE_LOCKED; in is_pro_rate_locked() 123 static inline void snd_ice1712_ds_write(struct snd_ice1712 *ice, u8 channel, u8 addr, u32 data) in snd_ice1712_ds_write() argument 125 outb((channel << 4) | addr, ICEDS(ice, INDEX)); in snd_ice1712_ds_write() 126 outl(data, ICEDS(ice, DATA)); in snd_ice1712_ds_write() 129 static inline u32 snd_ice1712_ds_read(struct snd_ice1712 *ice, u argument 139 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_ac97_write() local 163 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_ac97_read() local 193 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_pro_ac97_write() local 218 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_pro_ac97_read() local 247 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_digmix_route_ac97_get() local 255 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_digmix_route_ac97_put() local 280 snd_ice1712_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) snd_ice1712_set_gpio_dir() argument 286 snd_ice1712_get_gpio_dir(struct snd_ice1712 *ice) snd_ice1712_get_gpio_dir() argument 291 snd_ice1712_get_gpio_mask(struct snd_ice1712 *ice) snd_ice1712_get_gpio_mask() argument 296 snd_ice1712_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) snd_ice1712_set_gpio_mask() argument 302 snd_ice1712_get_gpio_data(struct snd_ice1712 *ice) snd_ice1712_get_gpio_data() argument 307 snd_ice1712_set_gpio_data(struct snd_ice1712 *ice, unsigned int val) snd_ice1712_set_gpio_data() argument 323 snd_ice1712_cs8427_set_input_clock(struct snd_ice1712 *ice, int spdif_clock) snd_ice1712_cs8427_set_input_clock() argument 358 open_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) open_cs8427() argument 363 close_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) close_cs8427() argument 368 setup_cs8427(struct snd_ice1712 *ice, int rate) setup_cs8427() argument 376 snd_ice1712_init_cs8427(struct snd_ice1712 *ice, int addr) snd_ice1712_init_cs8427() argument 392 snd_ice1712_set_input_clock_source(struct snd_ice1712 *ice, int spdif_is_master) snd_ice1712_set_input_clock_source() argument 413 struct snd_ice1712 *ice = dev_id; snd_ice1712_interrupt() local 489 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_trigger() local 514 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_trigger() local 539 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_trigger() local 559 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_prepare() local 592 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_prepare() local 626 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_prepare() local 651 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pointer() local 666 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_pointer() local 686 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pointer() local 757 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_open() local 767 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_open() local 782 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_open() local 794 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_close() local 802 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_close() local 815 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_close() local 845 snd_ice1712_pcm(struct snd_ice1712 *ice, int device) snd_ice1712_pcm() argument 871 snd_ice1712_pcm_ds(struct snd_ice1712 *ice, int device) snd_ice1712_pcm_ds() argument 909 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_pro_trigger() local 964 snd_ice1712_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) snd_ice1712_set_pro_rate() argument 1022 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_prepare() local 1037 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_hw_params() local 1045 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_prepare() local 1059 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_hw_params() local 1067 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_pointer() local 1081 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_pointer() local 1134 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_open() local 1154 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_open() local 1172 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_close() local 1185 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_close() local 1211 snd_ice1712_pcm_profi(struct snd_ice1712 *ice, int device) snd_ice1712_pcm_profi() argument 1248 snd_ice1712_update_volume(struct snd_ice1712 *ice, int index) snd_ice1712_update_volume() argument 1263 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_mixer_switch_get() local 1278 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_mixer_switch_put() local 1305 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_mixer_volume_get() local 1320 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_mixer_volume_put() local 1403 snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice) snd_ice1712_build_pro_mixer() argument 1458 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_mixer_free_ac97() local 1462 snd_ice1712_ac97_mixer(struct snd_ice1712 *ice) snd_ice1712_ac97_mixer() argument 1517 eeprom_double(struct snd_ice1712 *ice, int idx) eeprom_double() argument 1525 struct snd_ice1712 *ice = entry->private_data; snd_ice1712_proc_read() local 1562 snd_ice1712_proc_init(struct snd_ice1712 *ice) snd_ice1712_proc_init() argument 1582 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_eeprom_get() local 1609 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_default_get() local 1618 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_default_put() local 1636 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_maskc_get() local 1658 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_maskp_get() local 1696 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_stream_get() local 1705 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_stream_put() local 1725 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_gpio_get() local 1739 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_gpio_put() local 1784 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_internal_clock_get() local 1808 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_internal_clock_put() local 1921 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_rate_locking_put() local 1952 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_rate_reset_put() local 1991 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_route_analog_get() local 2017 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_route_analog_put() local 2067 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_route_spdif_get() local 2087 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_route_spdif_put() local 2154 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_volume_rate_get() local 2163 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_volume_rate_put() local 2194 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_peak_get() local 2228 snd_ice1712_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr) snd_ice1712_read_i2c() argument 2240 snd_ice1712_read_eeprom(struct snd_ice1712 *ice, const char *modelname) snd_ice1712_read_eeprom() argument 2318 snd_ice1712_chip_init(struct snd_ice1712 *ice) snd_ice1712_chip_init() argument 2373 snd_ice1712_spdif_build_controls(struct snd_ice1712 *ice) snd_ice1712_spdif_build_controls() argument 2401 snd_ice1712_build_controls(struct snd_ice1712 *ice) snd_ice1712_build_controls() argument 2441 snd_ice1712_free(struct snd_ice1712 *ice) snd_ice1712_free() argument 2464 struct snd_ice1712 *ice = device->device_data; snd_ice1712_dev_free() local 2476 struct snd_ice1712 *ice; snd_ice1712_create() local 2589 struct snd_ice1712 *ice; snd_ice1712_probe() local 2733 struct snd_ice1712 *ice = card->private_data; snd_ice1712_remove() local 2744 struct snd_ice1712 *ice = card->private_data; snd_ice1712_suspend() local 2767 struct snd_ice1712 *ice = card->private_data; snd_ice1712_resume() local [all...] |
H A D | hoontech.c | 28 static void snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) in snd_ice1712_stdsp24_gpio_write() argument 32 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write() 35 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write() 38 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, 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() argument 43 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_darear() 44 mutex_lock(&ice->gpio_mutex); in snd_ice1712_stdsp24_darear() 46 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]); in snd_ice1712_stdsp24_darear() 47 mutex_unlock(&ice->gpio_mutex); in snd_ice1712_stdsp24_darear() 50 static void snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, in argument 59 snd_ice1712_stdsp24_insel(struct snd_ice1712 *ice, int activate) snd_ice1712_stdsp24_insel() argument 68 snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) snd_ice1712_stdsp24_box_channel() argument 118 snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) snd_ice1712_stdsp24_box_midi() argument 146 snd_ice1712_stdsp24_midi2(struct snd_ice1712 *ice, int activate) snd_ice1712_stdsp24_midi2() argument 155 hoontech_init(struct snd_ice1712 *ice, bool staudio) hoontech_init() argument 247 snd_ice1712_hoontech_init(struct snd_ice1712 *ice) snd_ice1712_hoontech_init() argument 252 snd_ice1712_staudio_init(struct snd_ice1712 *ice) snd_ice1712_staudio_init() argument 264 struct snd_ice1712 *ice = ak->private_data[0]; stdsp24_ak4524_lock() local 275 snd_ice1712_value_init(struct snd_ice1712 *ice) snd_ice1712_value_init() argument 321 snd_ice1712_ez8_init(struct snd_ice1712 *ice) snd_ice1712_ez8_init() argument [all...] |
H A D | se.c | 102 static void se200pci_WM8740_init(struct snd_ice1712 *ice) in se200pci_WM8740_init() argument 108 static void se200pci_WM8740_set_pro_rate(struct snd_ice1712 *ice, in se200pci_WM8740_set_pro_rate() argument 119 static void se200pci_WM8766_write(struct snd_ice1712 *ice, in se200pci_WM8766_write() argument 130 snd_ice1712_save_gpio_status(ice); in se200pci_WM8766_write() 133 snd_ice1712_gpio_set_dir(ice, ice->gpio.direction | ALL_MASK); in se200pci_WM8766_write() 134 snd_ice1712_gpio_set_mask(ice, ice->gpio.write_mask & ~ALL_MASK); in se200pci_WM8766_write() 135 bits = snd_ice1712_gpio_read(ice) & ~ALL_MASK; in se200pci_WM8766_write() 137 snd_ice1712_gpio_write(ice, bit in se200pci_WM8766_write() 165 se200pci_WM8766_set_volume(struct snd_ice1712 *ice, int ch, unsigned int vol1, unsigned int vol2) se200pci_WM8766_set_volume() argument 184 se200pci_WM8766_init(struct snd_ice1712 *ice) se200pci_WM8766_init() argument 203 se200pci_WM8766_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) se200pci_WM8766_set_pro_rate() argument 217 se200pci_WM8776_write(struct snd_ice1712 *ice, unsigned int addr, unsigned int data) se200pci_WM8776_write() argument 227 se200pci_WM8776_set_output_volume(struct snd_ice1712 *ice, unsigned int vol1, unsigned int vol2) se200pci_WM8776_set_output_volume() argument 234 se200pci_WM8776_set_input_volume(struct snd_ice1712 *ice, unsigned int vol1, unsigned int vol2) se200pci_WM8776_set_input_volume() argument 245 se200pci_WM8776_set_input_selector(struct snd_ice1712 *ice, unsigned int sel) se200pci_WM8776_set_input_selector() argument 257 se200pci_WM8776_set_afl(struct snd_ice1712 *ice, unsigned int afl) se200pci_WM8776_set_afl() argument 270 se200pci_WM8776_set_agc(struct snd_ice1712 *ice, unsigned int agc) se200pci_WM8776_set_agc() argument 288 se200pci_WM8776_init(struct snd_ice1712 *ice) se200pci_WM8776_init() argument 321 se200pci_WM8776_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) se200pci_WM8776_set_pro_rate() argument 332 se200pci_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) se200pci_set_pro_rate() argument 447 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_volume_get() local 458 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_boolean_get() local 468 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_enum_get() local 475 se200pci_cont_update(struct snd_ice1712 *ice, int n) se200pci_cont_update() argument 519 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_volume_put() local 545 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_boolean_put() local 562 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_enum_put() local 581 se200pci_add_controls(struct snd_ice1712 *ice) se200pci_add_controls() argument 659 se_init(struct snd_ice1712 *ice) se_init() argument 687 se_add_controls(struct snd_ice1712 *ice) se_add_controls() argument [all...] |
H A D | delta.c | 33 static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) in ap_cs8427_write_byte() argument 41 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_write_byte() 44 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, 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() argument 57 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_read_byte() 59 if (snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_DELTA_AP_DIN) in ap_cs8427_read_byte() 62 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_read_byte() 69 static unsigned char ap_cs8427_codec_select(struct snd_ice1712 *ice) in ap_cs8427_codec_select() argument 72 tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); in ap_cs8427_codec_select() 73 switch (ice in ap_cs8427_codec_select() 100 ap_cs8427_codec_deassert(struct snd_ice1712 *ice, unsigned char tmp) ap_cs8427_codec_deassert() argument 125 struct snd_ice1712 *ice = device->bus->private_data; ap_cs8427_sendbytes() local 142 struct snd_ice1712 *ice = device->bus->private_data; ap_cs8427_readbytes() local 172 snd_ice1712_delta_cs8403_spdif_write(struct snd_ice1712 *ice, unsigned char bits) snd_ice1712_delta_cs8403_spdif_write() argument 197 delta_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) delta_spdif_default_get() argument 202 delta_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) delta_spdif_default_put() argument 220 delta_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) delta_spdif_stream_get() argument 225 delta_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) delta_spdif_stream_put() argument 250 struct snd_ice1712 *ice = ak->private_data[0]; delta_ak4524_lock() local 264 struct snd_ice1712 *ice = ak->private_data[0]; delta1010lt_ak4524_lock() local 277 struct snd_ice1712 *ice = ak->private_data[0]; delta66e_ak4524_lock() local 291 struct snd_ice1712 *ice = ak->private_data[0]; vx442_ak4524_lock() local 302 delta_1010_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) delta_1010_set_rate_val() argument 325 struct snd_ice1712 *ice = ak->private_data[0]; delta_ak4524_set_rate_val() local 374 delta_open_spdif(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) delta_open_spdif() argument 380 delta_setup_spdif(struct snd_ice1712 *ice, int rate) delta_setup_spdif() argument 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_delta1010lt_wordclock_status_get() local 566 snd_ice1712_delta_resume(struct snd_ice1712 *ice) snd_ice1712_delta_resume() argument 605 snd_ice1712_delta_suspend(struct snd_ice1712 *ice) snd_ice1712_delta_suspend() argument 614 snd_ice1712_delta_init(struct snd_ice1712 *ice) snd_ice1712_delta_init() argument 768 snd_ice1712_delta_add_controls(struct snd_ice1712 *ice) snd_ice1712_delta_add_controls() argument [all...] |
H A D | pontis.c | 67 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() argument 70 return ((unsigned short)ice->akm[0].images[reg] << 8) | in wm_get() 71 ice->akm[0].images[reg + 1]; in wm_get() 77 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache() argument 81 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put_nocache() 84 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put() argument 86 wm_put_nocache(ice, reg, val); in wm_put() 88 ice->akm[0].images[reg] = val >> 8; in wm_put() 89 ice->akm[0].images[reg + 1] = val; in wm_put() 111 struct snd_ice1712 *ice in wm_dac_vol_get() local 127 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_dac_vol_put() local 166 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_get() local 182 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_put() local 208 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_get() local 219 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_put() local 245 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_bypass_get() local 255 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_bypass_put() local 280 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_chswap_get() local 290 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_chswap_put() local 313 set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) set_gpio_bit() argument 323 spi_send_byte(struct snd_ice1712 *ice, unsigned char data) spi_send_byte() argument 337 spi_read_byte(struct snd_ice1712 *ice) spi_read_byte() argument 356 spi_write(struct snd_ice1712 *ice, unsigned int dev, unsigned int reg, unsigned int data) spi_write() argument 372 spi_read(struct snd_ice1712 *ice, unsigned int dev, unsigned int reg) spi_read() argument 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); cs_source_get() local 421 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); cs_source_put() local 451 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_mask_get() local 461 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_mask_put() local 475 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_dir_get() local 485 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_dir_put() local 499 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_data_get() local 510 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_data_put() local 620 struct snd_ice1712 *ice = entry->private_data; wm_proc_regs_write() local 635 struct snd_ice1712 *ice = entry->private_data; wm_proc_regs_read() local 646 wm_proc_init(struct snd_ice1712 *ice) wm_proc_init() argument 654 struct snd_ice1712 *ice = entry->private_data; cs_proc_regs_read() local 667 cs_proc_init(struct snd_ice1712 *ice) cs_proc_init() argument 673 pontis_add_controls(struct snd_ice1712 *ice) pontis_add_controls() argument 694 pontis_init(struct snd_ice1712 *ice) pontis_init() argument [all...] |
H A D | quartet.c | 33 void (*set_register)(struct snd_ice1712 *ice, unsigned int val); 34 unsigned int (*get_register)(struct snd_ice1712 *ice); 263 struct snd_ice1712 *ice = ak->private_data[0]; in qtet_akm_write() local 267 /*dev_dbg(ice->card->dev, "Writing to AK4620: chip=%d, addr=0x%x, in qtet_akm_write() 269 orig_dir = ice->gpio.get_dir(ice); in qtet_akm_write() 270 ice->gpio.set_dir(ice, orig_dir | GPIO_SPI_ALL); in qtet_akm_write() 272 ice->gpio.set_mask(ice, ~GPIO_SPI_AL in qtet_akm_write() 394 reg_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) reg_write() argument 435 get_scr(struct snd_ice1712 *ice) get_scr() argument 441 get_mcr(struct snd_ice1712 *ice) get_mcr() argument 447 get_cpld(struct snd_ice1712 *ice) get_cpld() argument 453 set_scr(struct snd_ice1712 *ice, unsigned int val) set_scr() argument 460 set_mcr(struct snd_ice1712 *ice, unsigned int val) set_mcr() argument 467 set_cpld(struct snd_ice1712 *ice, unsigned int val) set_cpld() argument 477 struct snd_ice1712 *ice = entry->private_data; proc_regs_read() local 488 proc_init(struct snd_ice1712 *ice) proc_init() argument 496 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_mute_get() local 506 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_mute_put() local 542 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_ain12_sw_get() local 567 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_ain12_sw_put() local 611 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_php_get() local 622 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_php_put() local 687 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_sw_get() local 698 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_sw_put() local 789 qtet_add_controls(struct snd_ice1712 *ice) qtet_add_controls() argument 818 qtet_is_spdif_master(struct snd_ice1712 *ice) qtet_is_spdif_master() argument 824 qtet_get_rate(struct snd_ice1712 *ice) qtet_get_rate() argument 846 qtet_set_rate(struct snd_ice1712 *ice, unsigned int rate) qtet_set_rate() argument 862 qtet_set_mclk(struct snd_ice1712 *ice, unsigned int rate) qtet_set_mclk() argument 870 qtet_set_spdif_clock(struct snd_ice1712 *ice, int type) qtet_set_spdif_clock() argument 897 qtet_get_spdif_master_type(struct snd_ice1712 *ice) qtet_get_spdif_master_type() argument 931 struct snd_ice1712 *ice = ak4113->change_callback_private; qtet_ak4113_change() local 947 qtet_spdif_in_open(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) qtet_spdif_in_open() argument 968 qtet_init(struct snd_ice1712 *ice) qtet_init() argument [all...] |
H A D | aureon.c | 97 static void aureon_pca9554_write(struct snd_ice1712 *ice, unsigned char reg, in aureon_pca9554_write() argument 105 tmp = snd_ice1712_gpio_read(ice); in aureon_pca9554_write() 107 snd_ice1712_gpio_set_mask(ice, ~(AUREON_SPI_MOSI|AUREON_SPI_CLK| in aureon_pca9554_write() 115 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 123 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 126 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 129 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 132 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 152 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 158 snd_ice1712_gpio_write(ice, tm in aureon_pca9554_write() 200 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_universe_inmux_get() local 209 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_universe_inmux_put() local 229 aureon_ac97_write(struct snd_ice1712 *ice, unsigned short reg, unsigned short val) aureon_ac97_write() argument 283 aureon_ac97_read(struct snd_ice1712 *ice, unsigned short reg) aureon_ac97_read() argument 292 aureon_ac97_init(struct snd_ice1712 *ice) aureon_ac97_init() argument 358 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_vol_get() local 374 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_vol_put() local 402 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_mute_get() local 415 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_mute_put() local 440 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_micboost_get() local 452 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_micboost_put() local 473 aureon_spi_write(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits) aureon_spi_write() argument 526 aureon_spi_read(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits, unsigned char *buffer, int size) aureon_spi_read() argument 578 aureon_cs8415_get(struct snd_ice1712 *ice, int reg) aureon_cs8415_get() argument 586 aureon_cs8415_read(struct snd_ice1712 *ice, int reg, unsigned char *buffer, int size) aureon_cs8415_read() argument 593 aureon_cs8415_put(struct snd_ice1712 *ice, int reg, unsigned char val) aureon_cs8415_put() argument 602 wm_get(struct snd_ice1712 *ice, int reg) wm_get() argument 612 wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) wm_put_nocache() argument 624 wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) wm_put() argument 643 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_mmute_get() local 655 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_mmute_put() local 682 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) wm_set_vol() argument 705 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_pcm_mute_get() local 715 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_pcm_mute_put() local 744 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_vol_get() local 755 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_vol_put() local 794 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_vol_get() local 808 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_vol_put() local 847 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_mute_get() local 862 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_mute_put() local 893 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_mute_get() local 905 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_mute_put() local 944 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_pcm_vol_get() local 957 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_pcm_vol_put() local 983 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mute_get() local 998 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mute_put() local 1030 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_get() local 1046 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_put() local 1087 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_info() local 1097 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_get() local 1110 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_put() local 1131 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mux_info() local 1148 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mux_get() local 1160 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mux_put() local 1188 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_rate_get() local 1202 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mute_get() local 1211 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mute_put() local 1239 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_qsub_get() local 1263 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_spdif_get() local 1274 aureon_set_headphone_amp(struct snd_ice1712 *ice, int enable) aureon_set_headphone_amp() argument 1298 aureon_get_headphone_amp(struct snd_ice1712 *ice) aureon_get_headphone_amp() argument 1309 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_hpamp_get() local 1318 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_hpamp_put() local 1331 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_deemp_get() local 1338 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_deemp_put() local 1364 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_oversampling_get() local 1372 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_oversampling_put() local 1855 aureon_add_controls(struct snd_ice1712 *ice) aureon_add_controls() argument 1921 aureon_reset(struct snd_ice1712 *ice) aureon_reset() argument 2066 aureon_resume(struct snd_ice1712 *ice) aureon_resume() argument 2086 aureon_init(struct snd_ice1712 *ice) aureon_init() argument [all...] |
H A D | revo.c | 27 static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) in revo_i2s_mclk_changed() argument 30 outb(inb(ICEMT1724(ice, AC97_CMD)) | 0x80, ICEMT1724(ice, AC97_CMD)); in revo_i2s_mclk_changed() 33 outb(inb(ICEMT1724(ice, AC97_CMD)) & ~0x80, ICEMT1724(ice, AC97_CMD)); in revo_i2s_mclk_changed() 83 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_start() local 84 snd_ice1712_save_gpio_status(ice); in revo_i2c_start() 89 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_stop() local 90 snd_ice1712_restore_gpio_status(ice); in revo_i2c_stop() 95 struct snd_ice1712 *ice in revo_i2c_direction() local 112 struct snd_ice1712 *ice = bus->private_data; revo_i2c_setlines() local 127 struct snd_ice1712 *ice = bus->private_data; revo_i2c_getdata() local 144 revo51_i2c_init(struct snd_ice1712 *ice, struct snd_pt2258 *pt) revo51_i2c_init() argument 311 struct snd_ice1712 *ice = ak->private_data[0]; ap192_set_rate_val() local 364 write_data(struct snd_ice1712 *ice, unsigned int gpio, unsigned int data, int idx) write_data() argument 386 read_data(struct snd_ice1712 *ice, unsigned int gpio, int idx) read_data() argument 408 ap192_4wire_start(struct snd_ice1712 *ice) ap192_4wire_start() argument 422 ap192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) ap192_4wire_finish() argument 434 struct snd_ice1712 *ice = private_data; ap192_ak4114_write() local 446 struct snd_ice1712 *ice = private_data; ap192_ak4114_read() local 457 ap192_ak4114_init(struct snd_ice1712 *ice) ap192_ak4114_init() argument 492 revo_init(struct snd_ice1712 *ice) revo_init() argument 573 revo_add_controls(struct snd_ice1712 *ice) revo_add_controls() argument [all...] |
H A D | prodigy_hifi.c | 113 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() argument 116 return ((unsigned short)ice->akm[0].images[reg] << 8) | in wm_get() 117 ice->akm[0].images[reg + 1]; in wm_get() 123 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache() argument 127 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put_nocache() 130 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put() argument 132 wm_put_nocache(ice, reg, val); in wm_put() 134 ice->akm[0].images[reg] = val >> 8; in wm_put() 135 ice->akm[0].images[reg + 1] = val; in wm_put() 142 static void set_gpio_bit(struct snd_ice1712 *ice, unsigne argument 156 wm8766_spi_send_word(struct snd_ice1712 *ice, unsigned int data) wm8766_spi_send_word() argument 170 wm8766_spi_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) wm8766_spi_write() argument 196 ak4396_send_word(struct snd_ice1712 *ice, unsigned int data) ak4396_send_word() argument 210 ak4396_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) ak4396_write() argument 254 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); ak4396_dac_vol_get() local 266 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); ak4396_dac_vol_put() local 312 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) wm_set_vol() argument 329 wm8766_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) wm8766_set_vol() argument 363 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_dac_vol_get() local 375 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_dac_vol_put() local 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm8766_vol_get() local 424 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm8766_vol_put() local 462 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_vol_get() local 473 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_vol_put() local 536 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_enum_get() local 547 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_enum_put() local 585 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_get() local 602 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_put() local 629 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_get() local 642 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_put() local 669 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_bypass_get() local 681 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_bypass_put() local 707 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_chswap_get() local 719 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_chswap_put() local 864 struct snd_ice1712 *ice = entry->private_data; wm_proc_regs_write() local 880 struct snd_ice1712 *ice = entry->private_data; wm_proc_regs_read() local 891 wm_proc_init(struct snd_ice1712 *ice) wm_proc_init() argument 897 prodigy_hifi_add_controls(struct snd_ice1712 *ice) prodigy_hifi_add_controls() argument 914 prodigy_hd2_add_controls(struct snd_ice1712 *ice) prodigy_hd2_add_controls() argument 931 wm8766_init(struct snd_ice1712 *ice) wm8766_init() argument 954 wm8776_init(struct snd_ice1712 *ice) wm8776_init() argument 974 prodigy_hifi_resume(struct snd_ice1712 *ice) prodigy_hifi_resume() argument 1034 prodigy_hifi_init(struct snd_ice1712 *ice) prodigy_hifi_init() argument 1109 ak4396_init(struct snd_ice1712 *ice) ak4396_init() argument 1132 prodigy_hd2_resume(struct snd_ice1712 *ice) prodigy_hd2_resume() argument 1146 prodigy_hd2_init(struct snd_ice1712 *ice) prodigy_hd2_init() argument [all...] |
H A D | juli.c | 166 static void juli_spdif_in_open(struct snd_ice1712 *ice, in juli_spdif_in_open() argument 169 struct juli_spec *spec = ice->spec; in juli_spdif_in_open() 174 !ice->is_spdif_master(ice)) in juli_spdif_in_open() 198 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_write() local 202 snd_vt1724_write_i2c(ice, AK4358_ADDR, addr, data); in juli_akm_write() 212 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_set_rate_val() local 213 struct juli_spec *spec = ice->spec; in juli_akm_set_rate_val() 231 old_gpio = ice->gpio.get_data(ice); in juli_akm_set_rate_val() 292 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); juli_mute_get() local 307 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); juli_mute_put() local 435 juli_add_controls(struct snd_ice1712 *ice) juli_add_controls() argument 472 juli_resume(struct snd_ice1712 *ice) juli_resume() argument 483 juli_suspend(struct snd_ice1712 *ice) juli_suspend() argument 498 juli_is_spdif_master(struct snd_ice1712 *ice) juli_is_spdif_master() argument 503 juli_get_rate(struct snd_ice1712 *ice) juli_get_rate() argument 516 juli_set_rate(struct snd_ice1712 *ice, unsigned int rate) juli_set_rate() argument 533 juli_set_mclk(struct snd_ice1712 *ice, unsigned int rate) juli_set_mclk() argument 541 juli_set_spdif_clock(struct snd_ice1712 *ice, int type) juli_set_spdif_clock() argument 555 struct snd_ice1712 *ice = ak4114->change_callback_private; juli_ak4114_change() local 566 juli_init(struct snd_ice1712 *ice) juli_init() argument [all...] |
H A D | prodigy192.c | 61 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, unsigned char val) in stac9460_put() argument 63 snd_vt1724_write_i2c(ice, PRODIGY192_STAC9460_ADDR, reg, val); in stac9460_put() 66 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) in stac9460_get() argument 68 return snd_vt1724_read_i2c(ice, PRODIGY192_STAC9460_ADDR, reg); in stac9460_get() 78 static int stac9460_dac_mute(struct snd_ice1712 *ice, int idx, in stac9460_dac_mute() argument 83 old = stac9460_get(ice, idx); in stac9460_dac_mute() 87 /* dev_dbg(ice->card->dev, "Volume register 0x%02x: 0x%02x\n", idx, new);*/ in stac9460_dac_mute() 88 stac9460_put(ice, idx, new); in stac9460_dac_mute() 96 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get() local 104 val = stac9460_get(ice, id in stac9460_dac_mute_get() 111 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_dac_mute_put() local 144 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_dac_vol_get() local 160 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_dac_vol_put() local 191 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_adc_mute_get() local 205 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_adc_mute_put() local 236 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_adc_vol_get() local 251 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_adc_vol_put() local 280 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_mic_sw_get() local 291 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); stac9460_mic_sw_put() local 304 stac9460_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) stac9460_set_rate_val() argument 432 write_data(struct snd_ice1712 *ice, unsigned int gpio, unsigned int data, int idx) write_data() argument 457 read_data(struct snd_ice1712 *ice, unsigned int gpio, int idx) read_data() argument 481 prodigy192_4wire_start(struct snd_ice1712 *ice) prodigy192_4wire_start() argument 498 prodigy192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) prodigy192_4wire_finish() argument 512 struct snd_ice1712 *ice = private_data; prodigy192_ak4114_write() local 527 struct snd_ice1712 *ice = private_data; prodigy192_ak4114_read() local 551 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); ak4114_input_sw_get() local 565 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); ak4114_input_sw_put() local 593 prodigy192_ak4114_init(struct snd_ice1712 *ice) prodigy192_ak4114_init() argument 628 struct snd_ice1712 *ice = entry->private_data; stac9460_proc_regs_read() local 638 stac9460_proc_init(struct snd_ice1712 *ice) stac9460_proc_init() argument 645 prodigy192_add_controls(struct snd_ice1712 *ice) prodigy192_add_controls() argument 679 prodigy192_miodio_exists(struct snd_ice1712 *ice) prodigy192_miodio_exists() argument 701 prodigy192_init(struct snd_ice1712 *ice) prodigy192_init() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | ice1724.c | 87 static inline int stdclock_is_spdif_master(struct snd_ice1712 *ice) in stdclock_is_spdif_master() argument 89 return (inb(ICEMT1724(ice, RATE)) & VT1724_SPDIF_MASTER) ? 1 : 0; in stdclock_is_spdif_master() 95 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked() argument 97 return (!ice->is_spdif_master(ice)) && PRO_RATE_LOCKED; in is_pro_rate_locked() 104 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) in snd_vt1724_ac97_ready() argument 109 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_ready() 116 dev_dbg(ice->card->dev, "snd_vt1724_ac97_ready: timeout\n"); 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() argument 124 if ((inb(ICEMT1724(ice, AC97_CM in snd_vt1724_ac97_wait_bit() 134 struct snd_ice1712 *ice = ac97->private_data; snd_vt1724_ac97_write() local 148 struct snd_ice1712 *ice = ac97->private_data; snd_vt1724_ac97_read() local 167 snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) snd_vt1724_set_gpio_dir() argument 174 snd_vt1724_get_gpio_dir(struct snd_ice1712 *ice) snd_vt1724_get_gpio_dir() argument 180 snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) snd_vt1724_set_gpio_mask() argument 188 snd_vt1724_get_gpio_mask(struct snd_ice1712 *ice) snd_vt1724_get_gpio_mask() argument 199 snd_vt1724_set_gpio_data(struct snd_ice1712 *ice, unsigned int data) snd_vt1724_set_gpio_data() argument 207 snd_vt1724_get_gpio_data(struct snd_ice1712 *ice) snd_vt1724_get_gpio_data() argument 222 vt1724_midi_clear_rx(struct snd_ice1712 *ice) vt1724_midi_clear_rx() argument 231 get_rawmidi_substream(struct snd_ice1712 *ice, unsigned int stream) get_rawmidi_substream() argument 239 vt1724_midi_write(struct snd_ice1712 *ice) vt1724_midi_write() argument 259 vt1724_midi_read(struct snd_ice1712 *ice) vt1724_midi_read() argument 276 enable_midi_irq(struct snd_ice1712 *ice, u8 flag, int enable) enable_midi_irq() argument 289 struct snd_ice1712 *ice = substream->rmidi->private_data; vt1724_enable_midi_irq() local 308 struct snd_ice1712 *ice = s->rmidi->private_data; vt1724_midi_output_trigger() local 324 struct snd_ice1712 *ice = s->rmidi->private_data; vt1724_midi_output_drain() local 359 struct snd_ice1712 *ice = s->rmidi->private_data; vt1724_midi_input_trigger() local 385 struct snd_ice1712 *ice = dev_id; snd_vt1724_interrupt() local 524 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_trigger() local 588 stdclock_get_rate(struct snd_ice1712 *ice) stdclock_get_rate() argument 593 stdclock_set_rate(struct snd_ice1712 *ice, unsigned int rate) stdclock_set_rate() argument 604 stdclock_set_mclk(struct snd_ice1712 *ice, unsigned int rate) stdclock_set_mclk() argument 625 snd_vt1724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) snd_vt1724_set_pro_rate() argument 690 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_hw_params() local 732 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_hw_free() local 746 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_pro_prepare() local 780 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_pro_pointer() local 817 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_prepare() local 832 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_pcm_pointer() local 952 set_std_hw_rates(struct snd_ice1712 *ice) set_std_hw_rates() argument 967 set_rate_constraints(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) set_rate_constraints() argument 985 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); constrain_rate_if_locked() local 1007 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_pro_open() local 1040 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_capture_pro_open() local 1061 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_pro_close() local 1072 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_capture_pro_close() local 1100 snd_vt1724_pcm_profi(struct snd_ice1712 *ice, int device) snd_vt1724_pcm_profi() argument 1137 update_spdif_bits(struct snd_ice1712 *ice, unsigned int val) update_spdif_bits() argument 1152 update_spdif_rate(struct snd_ice1712 *ice, unsigned int rate) update_spdif_rate() argument 1176 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_spdif_prepare() local 1184 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_spdif_open() local 1208 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_spdif_close() local 1221 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_capture_spdif_open() local 1245 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_capture_spdif_close() local 1277 snd_vt1724_pcm_spdif(struct snd_ice1712 *ice, int device) snd_vt1724_pcm_spdif() argument 1354 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_indep_prepare() local 1367 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_indep_open() local 1388 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_vt1724_playback_indep_close() local 1409 snd_vt1724_pcm_indep(struct snd_ice1712 *ice, int device) snd_vt1724_pcm_indep() argument 1443 snd_vt1724_ac97_mixer(struct snd_ice1712 *ice) snd_vt1724_ac97_mixer() argument 1481 eeprom_triple(struct snd_ice1712 *ice, int idx) eeprom_triple() argument 1491 struct snd_ice1712 *ice = entry->private_data; snd_vt1724_proc_read() local 1530 snd_vt1724_proc_init(struct snd_ice1712 *ice) snd_vt1724_proc_init() argument 1550 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_eeprom_get() local 1647 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_spdif_default_get() local 1657 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_spdif_default_put() local 1724 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_spdif_sw_get() local 1733 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_spdif_sw_put() local 1807 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_internal_clock_info() local 1836 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_internal_clock_get() local 1857 stdclock_get_spdif_master_type(struct snd_ice1712 *ice) stdclock_get_spdif_master_type() argument 1864 stdclock_set_spdif_clock(struct snd_ice1712 *ice, int type) stdclock_set_spdif_clock() argument 1880 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_internal_clock_put() local 1942 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_rate_locking_put() local 1973 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_rate_reset_put() local 2018 snd_ice1724_get_route_val(struct snd_ice1712 *ice, int shift) snd_ice1724_get_route_val() argument 2037 snd_ice1724_put_route_val(struct snd_ice1712 *ice, unsigned int val, int shift) snd_ice1724_put_route_val() argument 2063 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_route_analog_get() local 2073 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_route_analog_put() local 2083 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_route_spdif_get() local 2093 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_route_spdif_put() local 2132 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_vt1724_pro_peak_get() local 2209 wait_i2c_busy(struct snd_ice1712 *ice) wait_i2c_busy() argument 2218 snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr) snd_vt1724_read_i2c() argument 2236 snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned char data) snd_vt1724_write_i2c() argument 2251 snd_vt1724_read_eeprom(struct snd_ice1712 *ice, const char *modelname) snd_vt1724_read_eeprom() argument 2340 snd_vt1724_chip_reset(struct snd_ice1712 *ice) snd_vt1724_chip_reset() argument 2350 snd_vt1724_chip_init(struct snd_ice1712 *ice) snd_vt1724_chip_init() argument 2376 snd_vt1724_spdif_build_controls(struct snd_ice1712 *ice) snd_vt1724_spdif_build_controls() argument 2422 snd_vt1724_build_controls(struct snd_ice1712 *ice) snd_vt1724_build_controls() argument 2456 struct snd_ice1712 *ice = card->private_data; snd_vt1724_free() local 2469 struct snd_ice1712 *ice = card->private_data; snd_vt1724_create() local 2531 struct snd_ice1712 *ice; __snd_vt1724_probe() local 2679 struct snd_ice1712 *ice = card->private_data; snd_vt1724_suspend() local 2703 struct snd_ice1712 *ice = card->private_data; snd_vt1724_resume() local [all...] |
H A D | ice1712.c | 95 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() argument 109 return (inb(ICEMT(ice, RATE)) & ICE1712_SPDIF_MASTER) ? 1 : 0; in is_spdif_master() 112 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked() argument 114 return is_spdif_master(ice) || PRO_RATE_LOCKED; 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() argument 119 outb((channel << 4) | addr, ICEDS(ice, INDEX)); in snd_ice1712_ds_write() 120 outl(data, ICEDS(ice, DATA)); in snd_ice1712_ds_write() 123 static inline u32 snd_ice1712_ds_read(struct snd_ice1712 *ice, u argument 133 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_ac97_write() local 157 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_ac97_read() local 187 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_pro_ac97_write() local 212 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_pro_ac97_read() local 241 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_digmix_route_ac97_get() local 249 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_digmix_route_ac97_put() local 274 snd_ice1712_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) snd_ice1712_set_gpio_dir() argument 280 snd_ice1712_get_gpio_dir(struct snd_ice1712 *ice) snd_ice1712_get_gpio_dir() argument 285 snd_ice1712_get_gpio_mask(struct snd_ice1712 *ice) snd_ice1712_get_gpio_mask() argument 290 snd_ice1712_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) snd_ice1712_set_gpio_mask() argument 296 snd_ice1712_get_gpio_data(struct snd_ice1712 *ice) snd_ice1712_get_gpio_data() argument 301 snd_ice1712_set_gpio_data(struct snd_ice1712 *ice, unsigned int val) snd_ice1712_set_gpio_data() argument 317 snd_ice1712_cs8427_set_input_clock(struct snd_ice1712 *ice, int spdif_clock) snd_ice1712_cs8427_set_input_clock() argument 352 open_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) open_cs8427() argument 357 close_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) close_cs8427() argument 362 setup_cs8427(struct snd_ice1712 *ice, int rate) setup_cs8427() argument 370 snd_ice1712_init_cs8427(struct snd_ice1712 *ice, int addr) snd_ice1712_init_cs8427() argument 386 snd_ice1712_set_input_clock_source(struct snd_ice1712 *ice, int spdif_is_master) snd_ice1712_set_input_clock_source() argument 407 struct snd_ice1712 *ice = dev_id; snd_ice1712_interrupt() local 483 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_trigger() local 508 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_trigger() local 533 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_trigger() local 553 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_prepare() local 586 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_prepare() local 620 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_prepare() local 645 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pointer() local 660 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_pointer() local 680 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pointer() local 751 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_open() local 761 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_open() local 776 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_open() local 788 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_close() local 796 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_ds_close() local 809 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_close() local 839 snd_ice1712_pcm(struct snd_ice1712 *ice, int device) snd_ice1712_pcm() argument 865 snd_ice1712_pcm_ds(struct snd_ice1712 *ice, int device) snd_ice1712_pcm_ds() argument 903 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_pro_trigger() local 958 snd_ice1712_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) snd_ice1712_set_pro_rate() argument 1016 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_prepare() local 1031 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_hw_params() local 1039 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_prepare() local 1053 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_hw_params() local 1061 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_pointer() local 1075 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_pointer() local 1128 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_open() local 1148 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_open() local 1166 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_playback_pro_close() local 1179 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); snd_ice1712_capture_pro_close() local 1205 snd_ice1712_pcm_profi(struct snd_ice1712 *ice, int device) snd_ice1712_pcm_profi() argument 1242 snd_ice1712_update_volume(struct snd_ice1712 *ice, int index) snd_ice1712_update_volume() argument 1257 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_mixer_switch_get() local 1272 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_mixer_switch_put() local 1299 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_mixer_volume_get() local 1314 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_mixer_volume_put() local 1397 snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice) snd_ice1712_build_pro_mixer() argument 1452 struct snd_ice1712 *ice = ac97->private_data; snd_ice1712_mixer_free_ac97() local 1456 snd_ice1712_ac97_mixer(struct snd_ice1712 *ice) snd_ice1712_ac97_mixer() argument 1511 eeprom_double(struct snd_ice1712 *ice, int idx) eeprom_double() argument 1519 struct snd_ice1712 *ice = entry->private_data; snd_ice1712_proc_read() local 1556 snd_ice1712_proc_init(struct snd_ice1712 *ice) snd_ice1712_proc_init() argument 1576 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_eeprom_get() local 1603 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_default_get() local 1612 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_default_put() local 1630 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_maskc_get() local 1652 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_maskp_get() local 1690 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_stream_get() local 1699 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_spdif_stream_put() local 1719 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_gpio_get() local 1733 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_gpio_put() local 1778 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_internal_clock_get() local 1802 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_internal_clock_put() local 1915 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_rate_locking_put() local 1946 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_rate_reset_put() local 1985 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_route_analog_get() local 2011 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_route_analog_put() local 2061 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_route_spdif_get() local 2081 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_route_spdif_put() local 2148 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_volume_rate_get() local 2157 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_volume_rate_put() local 2188 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_pro_peak_get() local 2222 snd_ice1712_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr) snd_ice1712_read_i2c() argument 2234 snd_ice1712_read_eeprom(struct snd_ice1712 *ice, const char *modelname) snd_ice1712_read_eeprom() argument 2312 snd_ice1712_chip_init(struct snd_ice1712 *ice) snd_ice1712_chip_init() argument 2367 snd_ice1712_spdif_build_controls(struct snd_ice1712 *ice) snd_ice1712_spdif_build_controls() argument 2399 snd_ice1712_build_controls(struct snd_ice1712 *ice) snd_ice1712_build_controls() argument 2441 struct snd_ice1712 *ice = card->private_data; snd_ice1712_free() local 2460 struct snd_ice1712 *ice = card->private_data; snd_ice1712_create() local 2545 struct snd_ice1712 *ice; snd_ice1712_probe() local 2669 struct snd_ice1712 *ice = card->private_data; snd_ice1712_suspend() local 2692 struct snd_ice1712 *ice = card->private_data; snd_ice1712_resume() local [all...] |
H A D | ews.c | 44 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_setlines() local 50 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ewx_i2c_setlines() 56 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getclock() local 57 return snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_EWX2496_SERIAL_CLOCK ? 1 : 0; in ewx_i2c_getclock() 62 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getdata() local 65 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~ICE1712_EWX2496_RW); in ewx_i2c_getdata() 66 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, 0); in ewx_i2c_getdata() 69 bit = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_EWX2496_SERIAL_DATA ? 1 : 0; in ewx_i2c_getdata() 71 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, ICE1712_EWX2496_RW); in ewx_i2c_getdata() 73 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MAS in ewx_i2c_getdata() 79 struct snd_ice1712 *ice = bus->private_data; ewx_i2c_start() local 98 struct snd_ice1712 *ice = bus->private_data; ewx_i2c_stop() local 104 struct snd_ice1712 *ice = bus->private_data; ewx_i2c_direction() local 132 snd_ice1712_ews88mt_chip_select(struct snd_ice1712 *ice, int chip_mask) snd_ice1712_ews88mt_chip_select() argument 160 struct snd_ice1712 *ice = ak->private_data[0]; ews88mt_ak4524_lock() local 177 struct snd_ice1712 *ice = ak->private_data[0]; ews88mt_ak4524_unlock() local 186 struct snd_ice1712 *ice = ak->private_data[0]; ewx2496_ak4524_lock() local 202 struct snd_ice1712 *ice = ak->private_data[0]; dmx6fire_ak4524_lock() local 218 snd_ice1712_ews_cs8404_spdif_write(struct snd_ice1712 *ice, unsigned char bits) snd_ice1712_ews_cs8404_spdif_write() argument 252 ews88_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ews88_spdif_default_get() argument 257 ews88_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ews88_spdif_default_put() argument 275 ews88_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ews88_spdif_stream_get() argument 280 ews88_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ews88_spdif_stream_put() argument 300 ews88_open_spdif(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) ews88_open_spdif() argument 306 ews88_setup_spdif(struct snd_ice1712 *ice, int rate) ews88_setup_spdif() argument 409 snd_ice1712_ews_init(struct snd_ice1712 *ice) snd_ice1712_ews_init() argument 578 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ewx_io_sense_get() local 589 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ewx_io_sense_put() local 630 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88mt_output_sense_get() local 647 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88mt_output_sense_put() local 669 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88mt_input_sense_get() local 690 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88mt_input_sense_put() local 738 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88d_control_get() local 759 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_ews88d_control_put() local 812 snd_ice1712_6fire_read_pca(struct snd_ice1712 *ice, unsigned char reg) snd_ice1712_6fire_read_pca() argument 835 snd_ice1712_6fire_write_pca(struct snd_ice1712 *ice, unsigned char reg, unsigned char data) snd_ice1712_6fire_write_pca() argument 855 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_6fire_control_get() local 872 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_6fire_control_put() local 902 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_6fire_select_input_get() local 914 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_6fire_select_input_put() local 955 snd_ice1712_ews_add_controls(struct snd_ice1712 *ice) snd_ice1712_ews_add_controls() argument [all...] |
H A D | hoontech.c | 28 static void snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) in snd_ice1712_stdsp24_gpio_write() argument 32 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write() 35 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write() 38 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, 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() argument 43 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_darear() 44 mutex_lock(&ice->gpio_mutex); in snd_ice1712_stdsp24_darear() 46 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]); in snd_ice1712_stdsp24_darear() 47 mutex_unlock(&ice->gpio_mutex); in snd_ice1712_stdsp24_darear() 50 static void snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, in argument 59 snd_ice1712_stdsp24_insel(struct snd_ice1712 *ice, int activate) snd_ice1712_stdsp24_insel() argument 68 snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) snd_ice1712_stdsp24_box_channel() argument 118 snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) snd_ice1712_stdsp24_box_midi() argument 146 snd_ice1712_stdsp24_midi2(struct snd_ice1712 *ice, int activate) snd_ice1712_stdsp24_midi2() argument 155 hoontech_init(struct snd_ice1712 *ice, bool staudio) hoontech_init() argument 247 snd_ice1712_hoontech_init(struct snd_ice1712 *ice) snd_ice1712_hoontech_init() argument 252 snd_ice1712_staudio_init(struct snd_ice1712 *ice) snd_ice1712_staudio_init() argument 264 struct snd_ice1712 *ice = ak->private_data[0]; stdsp24_ak4524_lock() local 275 snd_ice1712_value_init(struct snd_ice1712 *ice) snd_ice1712_value_init() argument 321 snd_ice1712_ez8_init(struct snd_ice1712 *ice) snd_ice1712_ez8_init() argument [all...] |
H A D | se.c | 102 static void se200pci_WM8740_init(struct snd_ice1712 *ice) in se200pci_WM8740_init() argument 108 static void se200pci_WM8740_set_pro_rate(struct snd_ice1712 *ice, in se200pci_WM8740_set_pro_rate() argument 119 static void se200pci_WM8766_write(struct snd_ice1712 *ice, in se200pci_WM8766_write() argument 130 snd_ice1712_save_gpio_status(ice); in se200pci_WM8766_write() 133 snd_ice1712_gpio_set_dir(ice, ice->gpio.direction | ALL_MASK); in se200pci_WM8766_write() 134 snd_ice1712_gpio_set_mask(ice, ice->gpio.write_mask & ~ALL_MASK); in se200pci_WM8766_write() 135 bits = snd_ice1712_gpio_read(ice) & ~ALL_MASK; in se200pci_WM8766_write() 137 snd_ice1712_gpio_write(ice, bit in se200pci_WM8766_write() 165 se200pci_WM8766_set_volume(struct snd_ice1712 *ice, int ch, unsigned int vol1, unsigned int vol2) se200pci_WM8766_set_volume() argument 184 se200pci_WM8766_init(struct snd_ice1712 *ice) se200pci_WM8766_init() argument 203 se200pci_WM8766_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) se200pci_WM8766_set_pro_rate() argument 217 se200pci_WM8776_write(struct snd_ice1712 *ice, unsigned int addr, unsigned int data) se200pci_WM8776_write() argument 227 se200pci_WM8776_set_output_volume(struct snd_ice1712 *ice, unsigned int vol1, unsigned int vol2) se200pci_WM8776_set_output_volume() argument 234 se200pci_WM8776_set_input_volume(struct snd_ice1712 *ice, unsigned int vol1, unsigned int vol2) se200pci_WM8776_set_input_volume() argument 245 se200pci_WM8776_set_input_selector(struct snd_ice1712 *ice, unsigned int sel) se200pci_WM8776_set_input_selector() argument 257 se200pci_WM8776_set_afl(struct snd_ice1712 *ice, unsigned int afl) se200pci_WM8776_set_afl() argument 270 se200pci_WM8776_set_agc(struct snd_ice1712 *ice, unsigned int agc) se200pci_WM8776_set_agc() argument 288 se200pci_WM8776_init(struct snd_ice1712 *ice) se200pci_WM8776_init() argument 321 se200pci_WM8776_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) se200pci_WM8776_set_pro_rate() argument 332 se200pci_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) se200pci_set_pro_rate() argument 447 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_volume_get() local 458 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_boolean_get() local 468 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_enum_get() local 475 se200pci_cont_update(struct snd_ice1712 *ice, int n) se200pci_cont_update() argument 519 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_volume_put() local 545 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_boolean_put() local 562 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); se200pci_cont_enum_put() local 581 se200pci_add_controls(struct snd_ice1712 *ice) se200pci_add_controls() argument 659 se_init(struct snd_ice1712 *ice) se_init() argument 687 se_add_controls(struct snd_ice1712 *ice) se_add_controls() argument [all...] |
H A D | delta.c | 33 static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) in ap_cs8427_write_byte() argument 41 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_write_byte() 44 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, 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() argument 57 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_read_byte() 59 if (snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_DELTA_AP_DIN) in ap_cs8427_read_byte() 62 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_read_byte() 69 static unsigned char ap_cs8427_codec_select(struct snd_ice1712 *ice) in ap_cs8427_codec_select() argument 72 tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); in ap_cs8427_codec_select() 73 switch (ice in ap_cs8427_codec_select() 100 ap_cs8427_codec_deassert(struct snd_ice1712 *ice, unsigned char tmp) ap_cs8427_codec_deassert() argument 125 struct snd_ice1712 *ice = device->bus->private_data; ap_cs8427_sendbytes() local 142 struct snd_ice1712 *ice = device->bus->private_data; ap_cs8427_readbytes() local 172 snd_ice1712_delta_cs8403_spdif_write(struct snd_ice1712 *ice, unsigned char bits) snd_ice1712_delta_cs8403_spdif_write() argument 197 delta_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) delta_spdif_default_get() argument 202 delta_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) delta_spdif_default_put() argument 220 delta_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) delta_spdif_stream_get() argument 225 delta_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) delta_spdif_stream_put() argument 250 struct snd_ice1712 *ice = ak->private_data[0]; delta_ak4524_lock() local 264 struct snd_ice1712 *ice = ak->private_data[0]; delta1010lt_ak4524_lock() local 277 struct snd_ice1712 *ice = ak->private_data[0]; delta66e_ak4524_lock() local 291 struct snd_ice1712 *ice = ak->private_data[0]; vx442_ak4524_lock() local 302 delta_1010_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) delta_1010_set_rate_val() argument 325 struct snd_ice1712 *ice = ak->private_data[0]; delta_ak4524_set_rate_val() local 374 delta_open_spdif(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) delta_open_spdif() argument 380 delta_setup_spdif(struct snd_ice1712 *ice, int rate) delta_setup_spdif() argument 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); snd_ice1712_delta1010lt_wordclock_status_get() local 566 snd_ice1712_delta_resume(struct snd_ice1712 *ice) snd_ice1712_delta_resume() argument 605 snd_ice1712_delta_suspend(struct snd_ice1712 *ice) snd_ice1712_delta_suspend() argument 614 snd_ice1712_delta_init(struct snd_ice1712 *ice) snd_ice1712_delta_init() argument 770 snd_ice1712_delta_add_controls(struct snd_ice1712 *ice) snd_ice1712_delta_add_controls() argument [all...] |
H A D | pontis.c | 67 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() argument 70 return ((unsigned short)ice->akm[0].images[reg] << 8) | in wm_get() 71 ice->akm[0].images[reg + 1]; in wm_get() 77 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache() argument 81 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put_nocache() 84 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put() argument 86 wm_put_nocache(ice, reg, val); in wm_put() 88 ice->akm[0].images[reg] = val >> 8; in wm_put() 89 ice->akm[0].images[reg + 1] = val; in wm_put() 111 struct snd_ice1712 *ice in wm_dac_vol_get() local 127 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_dac_vol_put() local 166 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_get() local 182 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_put() local 208 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_get() local 219 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_put() local 245 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_bypass_get() local 255 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_bypass_put() local 280 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_chswap_get() local 290 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_chswap_put() local 313 set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) set_gpio_bit() argument 323 spi_send_byte(struct snd_ice1712 *ice, unsigned char data) spi_send_byte() argument 337 spi_read_byte(struct snd_ice1712 *ice) spi_read_byte() argument 356 spi_write(struct snd_ice1712 *ice, unsigned int dev, unsigned int reg, unsigned int data) spi_write() argument 372 spi_read(struct snd_ice1712 *ice, unsigned int dev, unsigned int reg) spi_read() argument 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); cs_source_get() local 421 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); cs_source_put() local 451 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_mask_get() local 461 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_mask_put() local 475 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_dir_get() local 485 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_dir_put() local 499 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_data_get() local 510 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); pontis_gpio_data_put() local 620 struct snd_ice1712 *ice = entry->private_data; wm_proc_regs_write() local 635 struct snd_ice1712 *ice = entry->private_data; wm_proc_regs_read() local 646 wm_proc_init(struct snd_ice1712 *ice) wm_proc_init() argument 654 struct snd_ice1712 *ice = entry->private_data; cs_proc_regs_read() local 667 cs_proc_init(struct snd_ice1712 *ice) cs_proc_init() argument 673 pontis_add_controls(struct snd_ice1712 *ice) pontis_add_controls() argument 694 pontis_init(struct snd_ice1712 *ice) pontis_init() argument [all...] |
H A D | quartet.c | 33 void (*set_register)(struct snd_ice1712 *ice, unsigned int val); 34 unsigned int (*get_register)(struct snd_ice1712 *ice); 263 struct snd_ice1712 *ice = ak->private_data[0]; in qtet_akm_write() local 267 /*dev_dbg(ice->card->dev, "Writing to AK4620: chip=%d, addr=0x%x, in qtet_akm_write() 269 orig_dir = ice->gpio.get_dir(ice); in qtet_akm_write() 270 ice->gpio.set_dir(ice, orig_dir | GPIO_SPI_ALL); in qtet_akm_write() 272 ice->gpio.set_mask(ice, ~GPIO_SPI_AL in qtet_akm_write() 394 reg_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) reg_write() argument 435 get_scr(struct snd_ice1712 *ice) get_scr() argument 441 get_mcr(struct snd_ice1712 *ice) get_mcr() argument 447 get_cpld(struct snd_ice1712 *ice) get_cpld() argument 453 set_scr(struct snd_ice1712 *ice, unsigned int val) set_scr() argument 460 set_mcr(struct snd_ice1712 *ice, unsigned int val) set_mcr() argument 467 set_cpld(struct snd_ice1712 *ice, unsigned int val) set_cpld() argument 477 struct snd_ice1712 *ice = entry->private_data; proc_regs_read() local 488 proc_init(struct snd_ice1712 *ice) proc_init() argument 496 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_mute_get() local 506 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_mute_put() local 542 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_ain12_sw_get() local 567 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_ain12_sw_put() local 611 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_php_get() local 622 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_php_put() local 687 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_sw_get() local 698 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); qtet_sw_put() local 769 qtet_add_controls(struct snd_ice1712 *ice) qtet_add_controls() argument 800 qtet_is_spdif_master(struct snd_ice1712 *ice) qtet_is_spdif_master() argument 806 qtet_get_rate(struct snd_ice1712 *ice) qtet_get_rate() argument 828 qtet_set_rate(struct snd_ice1712 *ice, unsigned int rate) qtet_set_rate() argument 844 qtet_set_mclk(struct snd_ice1712 *ice, unsigned int rate) qtet_set_mclk() argument 852 qtet_set_spdif_clock(struct snd_ice1712 *ice, int type) qtet_set_spdif_clock() argument 879 qtet_get_spdif_master_type(struct snd_ice1712 *ice) qtet_get_spdif_master_type() argument 913 struct snd_ice1712 *ice = ak4113->change_callback_private; qtet_ak4113_change() local 929 qtet_spdif_in_open(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) qtet_spdif_in_open() argument 950 qtet_init(struct snd_ice1712 *ice) qtet_init() argument [all...] |
H A D | aureon.c | 97 static void aureon_pca9554_write(struct snd_ice1712 *ice, unsigned char reg, in aureon_pca9554_write() argument 105 tmp = snd_ice1712_gpio_read(ice); in aureon_pca9554_write() 107 snd_ice1712_gpio_set_mask(ice, ~(AUREON_SPI_MOSI|AUREON_SPI_CLK| in aureon_pca9554_write() 115 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 123 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 126 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 129 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 132 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 152 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 158 snd_ice1712_gpio_write(ice, tm in aureon_pca9554_write() 200 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_universe_inmux_get() local 209 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_universe_inmux_put() local 229 aureon_ac97_write(struct snd_ice1712 *ice, unsigned short reg, unsigned short val) aureon_ac97_write() argument 283 aureon_ac97_read(struct snd_ice1712 *ice, unsigned short reg) aureon_ac97_read() argument 292 aureon_ac97_init(struct snd_ice1712 *ice) aureon_ac97_init() argument 358 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_vol_get() local 374 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_vol_put() local 402 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_mute_get() local 415 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_mute_put() local 440 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_micboost_get() local 452 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_micboost_put() local 473 aureon_spi_write(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits) aureon_spi_write() argument 526 aureon_spi_read(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits, unsigned char *buffer, int size) aureon_spi_read() argument 578 aureon_cs8415_get(struct snd_ice1712 *ice, int reg) aureon_cs8415_get() argument 586 aureon_cs8415_read(struct snd_ice1712 *ice, int reg, unsigned char *buffer, int size) aureon_cs8415_read() argument 593 aureon_cs8415_put(struct snd_ice1712 *ice, int reg, unsigned char val) aureon_cs8415_put() argument 602 wm_get(struct snd_ice1712 *ice, int reg) wm_get() argument 612 wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) wm_put_nocache() argument 624 wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) wm_put() argument 643 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_mmute_get() local 655 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_ac97_mmute_put() local 682 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) wm_set_vol() argument 705 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_pcm_mute_get() local 715 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_pcm_mute_put() local 744 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_vol_get() local 755 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_vol_put() local 794 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_vol_get() local 808 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_vol_put() local 847 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_mute_get() local 862 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_mute_put() local 893 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_mute_get() local 905 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_mute_put() local 944 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_pcm_vol_get() local 957 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_pcm_vol_put() local 983 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mute_get() local 998 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mute_put() local 1030 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_get() local 1046 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_put() local 1087 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_info() local 1097 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_get() local 1110 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_put() local 1131 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mux_info() local 1148 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mux_get() local 1160 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mux_put() local 1188 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_rate_get() local 1202 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mute_get() local 1211 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_mute_put() local 1239 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_qsub_get() local 1263 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_cs8415_spdif_get() local 1274 aureon_set_headphone_amp(struct snd_ice1712 *ice, int enable) aureon_set_headphone_amp() argument 1298 aureon_get_headphone_amp(struct snd_ice1712 *ice) aureon_get_headphone_amp() argument 1309 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_hpamp_get() local 1318 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_hpamp_put() local 1331 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_deemp_get() local 1338 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_deemp_put() local 1364 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_oversampling_get() local 1372 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); aureon_oversampling_put() local 1855 aureon_add_controls(struct snd_ice1712 *ice) aureon_add_controls() argument 1918 aureon_reset(struct snd_ice1712 *ice) aureon_reset() argument 2063 aureon_resume(struct snd_ice1712 *ice) aureon_resume() argument 2083 aureon_init(struct snd_ice1712 *ice) aureon_init() argument [all...] |
H A D | revo.c | 27 static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) in revo_i2s_mclk_changed() argument 30 outb(inb(ICEMT1724(ice, AC97_CMD)) | 0x80, ICEMT1724(ice, AC97_CMD)); in revo_i2s_mclk_changed() 33 outb(inb(ICEMT1724(ice, AC97_CMD)) & ~0x80, ICEMT1724(ice, AC97_CMD)); in revo_i2s_mclk_changed() 83 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_start() local 84 snd_ice1712_save_gpio_status(ice); in revo_i2c_start() 89 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_stop() local 90 snd_ice1712_restore_gpio_status(ice); in revo_i2c_stop() 95 struct snd_ice1712 *ice in revo_i2c_direction() local 112 struct snd_ice1712 *ice = bus->private_data; revo_i2c_setlines() local 127 struct snd_ice1712 *ice = bus->private_data; revo_i2c_getdata() local 144 revo51_i2c_init(struct snd_ice1712 *ice, struct snd_pt2258 *pt) revo51_i2c_init() argument 311 struct snd_ice1712 *ice = ak->private_data[0]; ap192_set_rate_val() local 364 write_data(struct snd_ice1712 *ice, unsigned int gpio, unsigned int data, int idx) write_data() argument 386 read_data(struct snd_ice1712 *ice, unsigned int gpio, int idx) read_data() argument 408 ap192_4wire_start(struct snd_ice1712 *ice) ap192_4wire_start() argument 422 ap192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) ap192_4wire_finish() argument 434 struct snd_ice1712 *ice = private_data; ap192_ak4114_write() local 446 struct snd_ice1712 *ice = private_data; ap192_ak4114_read() local 457 ap192_ak4114_init(struct snd_ice1712 *ice) ap192_ak4114_init() argument 492 revo_init(struct snd_ice1712 *ice) revo_init() argument 573 revo_add_controls(struct snd_ice1712 *ice) revo_add_controls() argument [all...] |
H A D | prodigy_hifi.c | 113 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() argument 116 return ((unsigned short)ice->akm[0].images[reg] << 8) | in wm_get() 117 ice->akm[0].images[reg + 1]; in wm_get() 123 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache() argument 127 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put_nocache() 130 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put() argument 132 wm_put_nocache(ice, reg, val); in wm_put() 134 ice->akm[0].images[reg] = val >> 8; in wm_put() 135 ice->akm[0].images[reg + 1] = val; in wm_put() 142 static void set_gpio_bit(struct snd_ice1712 *ice, unsigne argument 156 wm8766_spi_send_word(struct snd_ice1712 *ice, unsigned int data) wm8766_spi_send_word() argument 170 wm8766_spi_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) wm8766_spi_write() argument 196 ak4396_send_word(struct snd_ice1712 *ice, unsigned int data) ak4396_send_word() argument 210 ak4396_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) ak4396_write() argument 254 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); ak4396_dac_vol_get() local 266 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); ak4396_dac_vol_put() local 312 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) wm_set_vol() argument 329 wm8766_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) wm8766_set_vol() argument 363 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_dac_vol_get() local 375 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_dac_vol_put() local 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm8766_vol_get() local 424 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm8766_vol_put() local 462 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_vol_get() local 473 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_master_vol_put() local 536 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_enum_get() local 547 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_enum_put() local 585 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_get() local 602 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_vol_put() local 629 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_get() local 642 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_adc_mux_put() local 669 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_bypass_get() local 681 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_bypass_put() local 707 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_chswap_get() local 719 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); wm_chswap_put() local 864 struct snd_ice1712 *ice = entry->private_data; wm_proc_regs_write() local 880 struct snd_ice1712 *ice = entry->private_data; wm_proc_regs_read() local 891 wm_proc_init(struct snd_ice1712 *ice) wm_proc_init() argument 897 prodigy_hifi_add_controls(struct snd_ice1712 *ice) prodigy_hifi_add_controls() argument 914 prodigy_hd2_add_controls(struct snd_ice1712 *ice) prodigy_hd2_add_controls() argument 931 wm8766_init(struct snd_ice1712 *ice) wm8766_init() argument 954 wm8776_init(struct snd_ice1712 *ice) wm8776_init() argument 974 prodigy_hifi_resume(struct snd_ice1712 *ice) prodigy_hifi_resume() argument 1034 prodigy_hifi_init(struct snd_ice1712 *ice) prodigy_hifi_init() argument 1109 ak4396_init(struct snd_ice1712 *ice) ak4396_init() argument 1132 prodigy_hd2_resume(struct snd_ice1712 *ice) prodigy_hd2_resume() argument 1146 prodigy_hd2_init(struct snd_ice1712 *ice) prodigy_hd2_init() argument [all...] |
H A D | juli.c | 166 static void juli_spdif_in_open(struct snd_ice1712 *ice, in juli_spdif_in_open() argument 169 struct juli_spec *spec = ice->spec; in juli_spdif_in_open() 174 !ice->is_spdif_master(ice)) in juli_spdif_in_open() 198 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_write() local 202 snd_vt1724_write_i2c(ice, AK4358_ADDR, addr, data); in juli_akm_write() 212 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_set_rate_val() local 213 struct juli_spec *spec = ice->spec; in juli_akm_set_rate_val() 231 old_gpio = ice->gpio.get_data(ice); in juli_akm_set_rate_val() 292 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); juli_mute_get() local 307 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); juli_mute_put() local 411 juli_add_controls(struct snd_ice1712 *ice) juli_add_controls() argument 450 juli_resume(struct snd_ice1712 *ice) juli_resume() argument 461 juli_suspend(struct snd_ice1712 *ice) juli_suspend() argument 476 juli_is_spdif_master(struct snd_ice1712 *ice) juli_is_spdif_master() argument 481 juli_get_rate(struct snd_ice1712 *ice) juli_get_rate() argument 494 juli_set_rate(struct snd_ice1712 *ice, unsigned int rate) juli_set_rate() argument 511 juli_set_mclk(struct snd_ice1712 *ice, unsigned int rate) juli_set_mclk() argument 519 juli_set_spdif_clock(struct snd_ice1712 *ice, int type) juli_set_spdif_clock() argument 533 struct snd_ice1712 *ice = ak4114->change_callback_private; juli_ak4114_change() local 544 juli_init(struct snd_ice1712 *ice) juli_init() argument [all...] |