/linux-master/sound/pci/ice1712/ |
H A D | ice1724.c | 87 static inline int stdclock_is_spdif_master(struct snd_ice1712 *ice) argument 89 return (inb(ICEMT1724(ice, RATE)) & VT1724_SPDIF_MASTER) ? 1 : 0; 95 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) argument 97 return (!ice->is_spdif_master(ice)) && PRO_RATE_LOCKED; 104 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) argument 109 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); 116 dev_dbg(ice->card->dev, "snd_vt1724_ac97_ready: timeout\n"); 120 static int snd_vt1724_ac97_wait_bit(struct snd_ice1712 *ice, unsigned char bit) argument 124 if ((inb(ICEMT1724(ice, AC97_CM 134 struct snd_ice1712 *ice = ac97->private_data; local 148 struct snd_ice1712 *ice = ac97->private_data; local 167 snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) argument 174 snd_vt1724_get_gpio_dir(struct snd_ice1712 *ice) argument 180 snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) argument 188 snd_vt1724_get_gpio_mask(struct snd_ice1712 *ice) argument 199 snd_vt1724_set_gpio_data(struct snd_ice1712 *ice, unsigned int data) argument 207 snd_vt1724_get_gpio_data(struct snd_ice1712 *ice) argument 222 vt1724_midi_clear_rx(struct snd_ice1712 *ice) argument 231 get_rawmidi_substream(struct snd_ice1712 *ice, unsigned int stream) argument 239 vt1724_midi_write(struct snd_ice1712 *ice) argument 259 vt1724_midi_read(struct snd_ice1712 *ice) argument 276 enable_midi_irq(struct snd_ice1712 *ice, u8 flag, int enable) argument 289 struct snd_ice1712 *ice = substream->rmidi->private_data; local 308 struct snd_ice1712 *ice = s->rmidi->private_data; local 324 struct snd_ice1712 *ice = s->rmidi->private_data; local 359 struct snd_ice1712 *ice = s->rmidi->private_data; local 385 struct snd_ice1712 *ice = dev_id; local 524 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 588 stdclock_get_rate(struct snd_ice1712 *ice) argument 593 stdclock_set_rate(struct snd_ice1712 *ice, unsigned int rate) argument 604 stdclock_set_mclk(struct snd_ice1712 *ice, unsigned int rate) argument 625 snd_vt1724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) argument 690 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 732 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 746 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 780 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 817 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 832 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 952 set_std_hw_rates(struct snd_ice1712 *ice) argument 967 set_rate_constraints(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 985 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1007 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1040 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1061 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1072 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1100 snd_vt1724_pcm_profi(struct snd_ice1712 *ice, int device) argument 1137 update_spdif_bits(struct snd_ice1712 *ice, unsigned int val) argument 1152 update_spdif_rate(struct snd_ice1712 *ice, unsigned int rate) argument 1176 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1184 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1208 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1221 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1245 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1277 snd_vt1724_pcm_spdif(struct snd_ice1712 *ice, int device) argument 1354 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1367 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1388 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1409 snd_vt1724_pcm_indep(struct snd_ice1712 *ice, int device) argument 1443 snd_vt1724_ac97_mixer(struct snd_ice1712 *ice) argument 1481 eeprom_triple(struct snd_ice1712 *ice, int idx) argument 1491 struct snd_ice1712 *ice = entry->private_data; local 1530 snd_vt1724_proc_init(struct snd_ice1712 *ice) argument 1550 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1647 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1657 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1724 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1733 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1807 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1836 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1857 stdclock_get_spdif_master_type(struct snd_ice1712 *ice) argument 1864 stdclock_set_spdif_clock(struct snd_ice1712 *ice, int type) argument 1880 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1942 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1973 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2018 snd_ice1724_get_route_val(struct snd_ice1712 *ice, int shift) argument 2037 snd_ice1724_put_route_val(struct snd_ice1712 *ice, unsigned int val, int shift) argument 2063 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2073 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2083 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2093 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2132 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2209 wait_i2c_busy(struct snd_ice1712 *ice) argument 2218 snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr) argument 2236 snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned char data) argument 2251 snd_vt1724_read_eeprom(struct snd_ice1712 *ice, const char *modelname) argument 2340 snd_vt1724_chip_reset(struct snd_ice1712 *ice) argument 2350 snd_vt1724_chip_init(struct snd_ice1712 *ice) argument 2376 snd_vt1724_spdif_build_controls(struct snd_ice1712 *ice) argument 2422 snd_vt1724_build_controls(struct snd_ice1712 *ice) argument 2456 struct snd_ice1712 *ice = card->private_data; local 2469 struct snd_ice1712 *ice = card->private_data; local 2531 struct snd_ice1712 *ice; local 2679 struct snd_ice1712 *ice = card->private_data; local 2703 struct snd_ice1712 *ice = card->private_data; local [all...] |
H A D | hoontech.c | 28 static void snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) argument 32 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); 35 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); 38 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); 41 static void snd_ice1712_stdsp24_darear(struct snd_ice1712 *ice, int activate) argument 43 struct hoontech_spec *spec = ice->spec; 44 mutex_lock(&ice->gpio_mutex); 46 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]); 47 mutex_unlock(&ice->gpio_mutex); 50 static void snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, in argument 59 snd_ice1712_stdsp24_insel(struct snd_ice1712 *ice, int activate) argument 68 snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) argument 118 snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) argument 146 snd_ice1712_stdsp24_midi2(struct snd_ice1712 *ice, int activate) argument 155 hoontech_init(struct snd_ice1712 *ice, bool staudio) argument 247 snd_ice1712_hoontech_init(struct snd_ice1712 *ice) argument 252 snd_ice1712_staudio_init(struct snd_ice1712 *ice) argument 264 struct snd_ice1712 *ice = ak->private_data[0]; local 275 snd_ice1712_value_init(struct snd_ice1712 *ice) argument 321 snd_ice1712_ez8_init(struct snd_ice1712 *ice) argument [all...] |
H A D | ews.c | 44 struct snd_ice1712 *ice = bus->private_data; local 50 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 56 struct snd_ice1712 *ice = bus->private_data; local 57 return snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_EWX2496_SERIAL_CLOCK ? 1 : 0; 62 struct snd_ice1712 *ice = bus->private_data; local 65 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~ICE1712_EWX2496_RW); 66 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, 0); 69 bit = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_EWX2496_SERIAL_DATA ? 1 : 0; 71 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, ICE1712_EWX2496_RW); 73 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MAS 79 struct snd_ice1712 *ice = bus->private_data; local 98 struct snd_ice1712 *ice = bus->private_data; local 104 struct snd_ice1712 *ice = bus->private_data; local 132 snd_ice1712_ews88mt_chip_select(struct snd_ice1712 *ice, int chip_mask) argument 160 struct snd_ice1712 *ice = ak->private_data[0]; local 177 struct snd_ice1712 *ice = ak->private_data[0]; local 186 struct snd_ice1712 *ice = ak->private_data[0]; local 202 struct snd_ice1712 *ice = ak->private_data[0]; local 218 snd_ice1712_ews_cs8404_spdif_write(struct snd_ice1712 *ice, unsigned char bits) argument 252 ews88_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 257 ews88_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 275 ews88_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 280 ews88_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 300 ews88_open_spdif(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 306 ews88_setup_spdif(struct snd_ice1712 *ice, int rate) argument 409 snd_ice1712_ews_init(struct snd_ice1712 *ice) argument 578 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 589 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 630 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 647 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 669 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 690 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 738 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 759 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 812 snd_ice1712_6fire_read_pca(struct snd_ice1712 *ice, unsigned char reg) argument 835 snd_ice1712_6fire_write_pca(struct snd_ice1712 *ice, unsigned char reg, unsigned char data) argument 855 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 872 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 902 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 914 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 955 snd_ice1712_ews_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | revo.c | 27 static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) argument 30 outb(inb(ICEMT1724(ice, AC97_CMD)) | 0x80, ICEMT1724(ice, AC97_CMD)); 33 outb(inb(ICEMT1724(ice, AC97_CMD)) & ~0x80, ICEMT1724(ice, AC97_CMD)); 83 struct snd_ice1712 *ice = bus->private_data; local 84 snd_ice1712_save_gpio_status(ice); 89 struct snd_ice1712 *ice = bus->private_data; local 90 snd_ice1712_restore_gpio_status(ice); 95 struct snd_ice1712 *ice local 112 struct snd_ice1712 *ice = bus->private_data; local 127 struct snd_ice1712 *ice = bus->private_data; local 144 revo51_i2c_init(struct snd_ice1712 *ice, struct snd_pt2258 *pt) argument 311 struct snd_ice1712 *ice = ak->private_data[0]; local 364 write_data(struct snd_ice1712 *ice, unsigned int gpio, unsigned int data, int idx) argument 386 read_data(struct snd_ice1712 *ice, unsigned int gpio, int idx) argument 408 ap192_4wire_start(struct snd_ice1712 *ice) argument 422 ap192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) argument 434 struct snd_ice1712 *ice = private_data; local 446 struct snd_ice1712 *ice = private_data; local 457 ap192_ak4114_init(struct snd_ice1712 *ice) argument 492 revo_init(struct snd_ice1712 *ice) argument 573 revo_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | juli.c | 166 static void juli_spdif_in_open(struct snd_ice1712 *ice, argument 169 struct juli_spec *spec = ice->spec; 174 !ice->is_spdif_master(ice)) 198 struct snd_ice1712 *ice = ak->private_data[0]; local 202 snd_vt1724_write_i2c(ice, AK4358_ADDR, addr, data); 212 struct snd_ice1712 *ice = ak->private_data[0]; local 213 struct juli_spec *spec = ice->spec; 231 old_gpio = ice->gpio.get_data(ice); 292 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 307 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 411 juli_add_controls(struct snd_ice1712 *ice) argument 450 juli_resume(struct snd_ice1712 *ice) argument 461 juli_suspend(struct snd_ice1712 *ice) argument 476 juli_is_spdif_master(struct snd_ice1712 *ice) argument 481 juli_get_rate(struct snd_ice1712 *ice) argument 494 juli_set_rate(struct snd_ice1712 *ice, unsigned int rate) argument 511 juli_set_mclk(struct snd_ice1712 *ice, unsigned int rate) argument 519 juli_set_spdif_clock(struct snd_ice1712 *ice, int type) argument 533 struct snd_ice1712 *ice = ak4114->change_callback_private; local 544 juli_init(struct snd_ice1712 *ice) argument [all...] |
H A D | delta.c | 33 static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) argument 41 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 44 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 50 static unsigned char ap_cs8427_read_byte(struct snd_ice1712 *ice, unsigned char tmp) argument 57 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 59 if (snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_DELTA_AP_DIN) 62 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 69 static unsigned char ap_cs8427_codec_select(struct snd_ice1712 *ice) argument 72 tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); 73 switch (ice 100 ap_cs8427_codec_deassert(struct snd_ice1712 *ice, unsigned char tmp) argument 125 struct snd_ice1712 *ice = device->bus->private_data; local 142 struct snd_ice1712 *ice = device->bus->private_data; local 172 snd_ice1712_delta_cs8403_spdif_write(struct snd_ice1712 *ice, unsigned char bits) argument 197 delta_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 202 delta_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 220 delta_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 225 delta_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 250 struct snd_ice1712 *ice = ak->private_data[0]; local 264 struct snd_ice1712 *ice = ak->private_data[0]; local 277 struct snd_ice1712 *ice = ak->private_data[0]; local 291 struct snd_ice1712 *ice = ak->private_data[0]; local 302 delta_1010_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) argument 325 struct snd_ice1712 *ice = ak->private_data[0]; local 374 delta_open_spdif(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 380 delta_setup_spdif(struct snd_ice1712 *ice, int rate) argument 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 566 snd_ice1712_delta_resume(struct snd_ice1712 *ice) argument 605 snd_ice1712_delta_suspend(struct snd_ice1712 *ice) argument 614 snd_ice1712_delta_init(struct snd_ice1712 *ice) argument 770 snd_ice1712_delta_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | se.c | 102 static void se200pci_WM8740_init(struct snd_ice1712 *ice) argument 108 static void se200pci_WM8740_set_pro_rate(struct snd_ice1712 *ice, argument 119 static void se200pci_WM8766_write(struct snd_ice1712 *ice, argument 130 snd_ice1712_save_gpio_status(ice); 133 snd_ice1712_gpio_set_dir(ice, ice->gpio.direction | ALL_MASK); 134 snd_ice1712_gpio_set_mask(ice, ice->gpio.write_mask & ~ALL_MASK); 135 bits = snd_ice1712_gpio_read(ice) & ~ALL_MASK; 137 snd_ice1712_gpio_write(ice, bit 165 se200pci_WM8766_set_volume(struct snd_ice1712 *ice, int ch, unsigned int vol1, unsigned int vol2) argument 184 se200pci_WM8766_init(struct snd_ice1712 *ice) argument 203 se200pci_WM8766_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) argument 217 se200pci_WM8776_write(struct snd_ice1712 *ice, unsigned int addr, unsigned int data) argument 227 se200pci_WM8776_set_output_volume(struct snd_ice1712 *ice, unsigned int vol1, unsigned int vol2) argument 234 se200pci_WM8776_set_input_volume(struct snd_ice1712 *ice, unsigned int vol1, unsigned int vol2) argument 245 se200pci_WM8776_set_input_selector(struct snd_ice1712 *ice, unsigned int sel) argument 257 se200pci_WM8776_set_afl(struct snd_ice1712 *ice, unsigned int afl) argument 270 se200pci_WM8776_set_agc(struct snd_ice1712 *ice, unsigned int agc) argument 288 se200pci_WM8776_init(struct snd_ice1712 *ice) argument 321 se200pci_WM8776_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) argument 332 se200pci_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) argument 447 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); local 458 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); local 468 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); local 475 se200pci_cont_update(struct snd_ice1712 *ice, int n) argument 519 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); local 545 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); local 562 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); local 581 se200pci_add_controls(struct snd_ice1712 *ice) argument 659 se_init(struct snd_ice1712 *ice) argument 687 se_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | pontis.c | 67 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) argument 70 return ((unsigned short)ice->akm[0].images[reg] << 8) | 71 ice->akm[0].images[reg + 1]; 77 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) argument 81 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); 84 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 86 wm_put_nocache(ice, reg, val); 88 ice->akm[0].images[reg] = val >> 8; 89 ice->akm[0].images[reg + 1] = val; 111 struct snd_ice1712 *ice local 127 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 166 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 182 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 208 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 219 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 245 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 255 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 280 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 290 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 313 set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) argument 323 spi_send_byte(struct snd_ice1712 *ice, unsigned char data) argument 337 spi_read_byte(struct snd_ice1712 *ice) argument 356 spi_write(struct snd_ice1712 *ice, unsigned int dev, unsigned int reg, unsigned int data) argument 372 spi_read(struct snd_ice1712 *ice, unsigned int dev, unsigned int reg) argument 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 421 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 451 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 461 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 475 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 485 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 499 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 510 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 620 struct snd_ice1712 *ice = entry->private_data; local 635 struct snd_ice1712 *ice = entry->private_data; local 646 wm_proc_init(struct snd_ice1712 *ice) argument 654 struct snd_ice1712 *ice = entry->private_data; local 667 cs_proc_init(struct snd_ice1712 *ice) argument 673 pontis_add_controls(struct snd_ice1712 *ice) argument 694 pontis_init(struct snd_ice1712 *ice) argument [all...] |
H A D | ice1712.h | 27 #define ICEREG(ice, x) ((ice)->port + ICE1712_REG_##x) 104 #define ICEDS(ice, x) ((ice)->dmapath_port + ICE1712_DS_##x) 135 #define ICEMT(ice, x) ((ice)->profi_port + ICE1712_MT_##x) 248 #define ice_has_con_ac97(ice) (!((ice)->eeprom.data[ICE_EEP1_CODEC] & ICE1712_CFG_NO_CON_AC97)) 354 void (*set_mask)(struct snd_ice1712 *ice, unsigned int data); 355 unsigned int (*get_mask)(struct snd_ice1712 *ice); 395 snd_ice1712_gpio_set_dir(struct snd_ice1712 *ice, unsigned int bits) argument 400 snd_ice1712_gpio_get_dir(struct snd_ice1712 *ice) argument 405 snd_ice1712_gpio_set_mask(struct snd_ice1712 *ice, unsigned int bits) argument 410 snd_ice1712_gpio_write(struct snd_ice1712 *ice, unsigned int val) argument 415 snd_ice1712_gpio_read(struct snd_ice1712 *ice) argument 425 snd_ice1712_save_gpio_status(struct snd_ice1712 *ice) argument 432 snd_ice1712_restore_gpio_status(struct snd_ice1712 *ice) argument 453 snd_ice1712_gpio_write_bits(struct snd_ice1712 *ice, unsigned int mask, unsigned int bits) argument 466 snd_ice1712_gpio_read_bits(struct snd_ice1712 *ice, unsigned int mask) argument 490 snd_ice1712_write(struct snd_ice1712 *ice, u8 addr, u8 data) argument 496 snd_ice1712_read(struct snd_ice1712 *ice, u8 addr) argument [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) argument 109 return (inb(ICEMT(ice, RATE)) & ICE1712_SPDIF_MASTER) ? 1 : 0; 112 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) argument 114 return is_spdif_master(ice) || PRO_RATE_LOCKED; 117 static inline void snd_ice1712_ds_write(struct snd_ice1712 *ice, u8 channel, u8 addr, u32 data) argument 119 outb((channel << 4) | addr, ICEDS(ice, INDEX)); 120 outl(data, ICEDS(ice, DATA)); 123 static inline u32 snd_ice1712_ds_read(struct snd_ice1712 *ice, u argument 133 struct snd_ice1712 *ice = ac97->private_data; local 157 struct snd_ice1712 *ice = ac97->private_data; local 187 struct snd_ice1712 *ice = ac97->private_data; local 212 struct snd_ice1712 *ice = ac97->private_data; local 241 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 249 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 274 snd_ice1712_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) argument 280 snd_ice1712_get_gpio_dir(struct snd_ice1712 *ice) argument 285 snd_ice1712_get_gpio_mask(struct snd_ice1712 *ice) argument 290 snd_ice1712_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) argument 296 snd_ice1712_get_gpio_data(struct snd_ice1712 *ice) argument 301 snd_ice1712_set_gpio_data(struct snd_ice1712 *ice, unsigned int val) argument 317 snd_ice1712_cs8427_set_input_clock(struct snd_ice1712 *ice, int spdif_clock) argument 352 open_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 357 close_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 362 setup_cs8427(struct snd_ice1712 *ice, int rate) argument 370 snd_ice1712_init_cs8427(struct snd_ice1712 *ice, int addr) argument 386 snd_ice1712_set_input_clock_source(struct snd_ice1712 *ice, int spdif_is_master) argument 407 struct snd_ice1712 *ice = dev_id; local 483 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 508 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 533 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 553 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 586 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 620 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 645 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 660 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 680 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 751 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 761 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 776 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 788 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 796 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 809 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 839 snd_ice1712_pcm(struct snd_ice1712 *ice, int device) argument 865 snd_ice1712_pcm_ds(struct snd_ice1712 *ice, int device) argument 903 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 958 snd_ice1712_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) argument 1016 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1031 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1039 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1053 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1061 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1075 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1128 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1148 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1166 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1179 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1205 snd_ice1712_pcm_profi(struct snd_ice1712 *ice, int device) argument 1242 snd_ice1712_update_volume(struct snd_ice1712 *ice, int index) argument 1257 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1272 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1299 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1314 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1397 snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice) argument 1452 struct snd_ice1712 *ice = ac97->private_data; local 1456 snd_ice1712_ac97_mixer(struct snd_ice1712 *ice) argument 1511 eeprom_double(struct snd_ice1712 *ice, int idx) argument 1519 struct snd_ice1712 *ice = entry->private_data; local 1556 snd_ice1712_proc_init(struct snd_ice1712 *ice) argument 1576 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1603 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1612 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1630 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1652 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1690 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1699 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1719 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1733 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1778 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1802 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1915 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1946 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1985 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2011 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2061 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2081 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2148 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2157 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2188 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2222 snd_ice1712_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr) argument 2234 snd_ice1712_read_eeprom(struct snd_ice1712 *ice, const char *modelname) argument 2312 snd_ice1712_chip_init(struct snd_ice1712 *ice) argument 2367 snd_ice1712_spdif_build_controls(struct snd_ice1712 *ice) argument 2399 snd_ice1712_build_controls(struct snd_ice1712 *ice) argument 2441 struct snd_ice1712 *ice = card->private_data; local 2460 struct snd_ice1712 *ice = card->private_data; local 2545 struct snd_ice1712 *ice; local 2669 struct snd_ice1712 *ice = card->private_data; local 2692 struct snd_ice1712 *ice = card->private_data; local [all...] |
H A D | amp.c | 19 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 23 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); 26 static int snd_vt1724_amp_init(struct snd_ice1712 *ice) argument 40 ice->num_total_dacs = 6; 41 ice->num_total_adcs = 2; 46 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AV710) { 48 wm_put(ice, wm_inits[i], wm_inits[i+1]); 54 static int snd_vt1724_amp_add_controls(struct snd_ice1712 *ice) argument 56 if (ice->ac97) 59 snd_ac97_write_cache(ice [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]; local 267 /*dev_dbg(ice->card->dev, "Writing to AK4620: chip=%d, addr=0x%x, 269 orig_dir = ice->gpio.get_dir(ice); 270 ice->gpio.set_dir(ice, orig_dir | GPIO_SPI_ALL); 272 ice->gpio.set_mask(ice, ~GPIO_SPI_AL 394 reg_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) argument 435 get_scr(struct snd_ice1712 *ice) argument 441 get_mcr(struct snd_ice1712 *ice) argument 447 get_cpld(struct snd_ice1712 *ice) argument 453 set_scr(struct snd_ice1712 *ice, unsigned int val) argument 460 set_mcr(struct snd_ice1712 *ice, unsigned int val) argument 467 set_cpld(struct snd_ice1712 *ice, unsigned int val) argument 477 struct snd_ice1712 *ice = entry->private_data; local 488 proc_init(struct snd_ice1712 *ice) argument 496 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 506 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 542 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 567 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 611 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 622 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 687 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 698 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 769 qtet_add_controls(struct snd_ice1712 *ice) argument 800 qtet_is_spdif_master(struct snd_ice1712 *ice) argument 806 qtet_get_rate(struct snd_ice1712 *ice) argument 828 qtet_set_rate(struct snd_ice1712 *ice, unsigned int rate) argument 844 qtet_set_mclk(struct snd_ice1712 *ice, unsigned int rate) argument 852 qtet_set_spdif_clock(struct snd_ice1712 *ice, int type) argument 879 qtet_get_spdif_master_type(struct snd_ice1712 *ice) argument 913 struct snd_ice1712 *ice = ak4113->change_callback_private; local 929 qtet_spdif_in_open(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 950 qtet_init(struct snd_ice1712 *ice) argument [all...] |
H A D | prodigy192.c | 61 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, unsigned char val) argument 63 snd_vt1724_write_i2c(ice, PRODIGY192_STAC9460_ADDR, reg, val); 66 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) argument 68 return snd_vt1724_read_i2c(ice, PRODIGY192_STAC9460_ADDR, reg); 78 static int stac9460_dac_mute(struct snd_ice1712 *ice, int idx, argument 83 old = stac9460_get(ice, idx); 87 /* dev_dbg(ice->card->dev, "Volume register 0x%02x: 0x%02x\n", idx, new);*/ 88 stac9460_put(ice, idx, new); 96 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 104 val = stac9460_get(ice, id 111 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 144 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 160 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 191 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 205 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 236 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 251 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 280 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 291 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 304 stac9460_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) argument 432 write_data(struct snd_ice1712 *ice, unsigned int gpio, unsigned int data, int idx) argument 457 read_data(struct snd_ice1712 *ice, unsigned int gpio, int idx) argument 481 prodigy192_4wire_start(struct snd_ice1712 *ice) argument 498 prodigy192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) argument 512 struct snd_ice1712 *ice = private_data; local 527 struct snd_ice1712 *ice = private_data; local 551 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 565 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 593 prodigy192_ak4114_init(struct snd_ice1712 *ice) argument 628 struct snd_ice1712 *ice = entry->private_data; local 638 stac9460_proc_init(struct snd_ice1712 *ice) argument 645 prodigy192_add_controls(struct snd_ice1712 *ice) argument 679 prodigy192_miodio_exists(struct snd_ice1712 *ice) argument 701 prodigy192_init(struct snd_ice1712 *ice) argument [all...] |
H A D | prodigy_hifi.c | 113 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) argument 116 return ((unsigned short)ice->akm[0].images[reg] << 8) | 117 ice->akm[0].images[reg + 1]; 123 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) argument 127 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); 130 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 132 wm_put_nocache(ice, reg, val); 134 ice->akm[0].images[reg] = val >> 8; 135 ice->akm[0].images[reg + 1] = val; 142 static void set_gpio_bit(struct snd_ice1712 *ice, unsigne argument 156 wm8766_spi_send_word(struct snd_ice1712 *ice, unsigned int data) argument 170 wm8766_spi_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) argument 196 ak4396_send_word(struct snd_ice1712 *ice, unsigned int data) argument 210 ak4396_write(struct snd_ice1712 *ice, unsigned int reg, unsigned int data) argument 254 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 266 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 312 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) argument 329 wm8766_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) argument 363 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 375 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 411 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 424 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 462 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 473 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 536 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 547 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 585 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 602 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 629 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 642 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 669 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 681 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 707 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 719 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 864 struct snd_ice1712 *ice = entry->private_data; local 880 struct snd_ice1712 *ice = entry->private_data; local 891 wm_proc_init(struct snd_ice1712 *ice) argument 897 prodigy_hifi_add_controls(struct snd_ice1712 *ice) argument 914 prodigy_hd2_add_controls(struct snd_ice1712 *ice) argument 931 wm8766_init(struct snd_ice1712 *ice) argument 954 wm8776_init(struct snd_ice1712 *ice) argument 974 prodigy_hifi_resume(struct snd_ice1712 *ice) argument 1034 prodigy_hifi_init(struct snd_ice1712 *ice) argument 1109 ak4396_init(struct snd_ice1712 *ice) argument 1132 prodigy_hd2_resume(struct snd_ice1712 *ice) argument 1146 prodigy_hd2_init(struct snd_ice1712 *ice) argument [all...] |
H A D | psc724.c | 25 struct snd_ice1712 *ice; member in struct:psc724_spec 107 struct snd_ice1712 *ice = spec->ice; local 111 snd_ice1712_save_gpio_status(ice); 114 snd_ice1712_gpio_set_dir(ice, ice->gpio.direction | PSC724_SPI_MASK); 115 snd_ice1712_gpio_set_mask(ice, ice->gpio.write_mask & ~PSC724_SPI_MASK); 116 bits = snd_ice1712_gpio_read(ice) & ~PSC724_SPI_MASK; 117 snd_ice1712_gpio_write(ice, bit 155 psc724_set_master_switch(struct snd_ice1712 *ice, bool on) argument 168 psc724_get_master_switch(struct snd_ice1712 *ice) argument 177 psc724_set_jack_state(struct snd_ice1712 *ice, bool hp_connected) argument 204 struct snd_ice1712 *ice = spec->ice; local 213 psc724_set_jack_detection(struct snd_ice1712 *ice, bool on) argument 230 psc724_get_jack_detection(struct snd_ice1712 *ice) argument 261 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 272 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 302 psc724_add_controls(struct snd_ice1712 *ice) argument 358 psc724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) argument 369 psc724_resume(struct snd_ice1712 *ice) argument 382 psc724_init(struct snd_ice1712 *ice) argument 412 psc724_exit(struct snd_ice1712 *ice) argument [all...] |
H A D | ak4xxx.c | 26 struct snd_ice1712 *ice = ak->private_data[0]; local 28 snd_ice1712_save_gpio_status(ice); 33 struct snd_ice1712 *ice = ak->private_data[0]; local 35 snd_ice1712_restore_gpio_status(ice); 48 struct snd_ice1712 *ice = ak->private_data[0]; local 53 tmp = snd_ice1712_gpio_read(ice); 61 snd_ice1712_gpio_write(ice, tmp); 68 snd_ice1712_gpio_write(ice, tmp); 78 snd_ice1712_gpio_write(ice, tmp); 85 snd_ice1712_gpio_write(ice, tm 112 snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak, const struct snd_akm4xxx *temp, const struct snd_ak4xxx_private *_priv, struct snd_ice1712 *ice) argument 139 snd_ice1712_akm4xxx_free(struct snd_ice1712 *ice) argument 154 snd_ice1712_akm4xxx_build_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | aureon.c | 97 static void aureon_pca9554_write(struct snd_ice1712 *ice, unsigned char reg, argument 105 tmp = snd_ice1712_gpio_read(ice); 107 snd_ice1712_gpio_set_mask(ice, ~(AUREON_SPI_MOSI|AUREON_SPI_CLK| 115 snd_ice1712_gpio_write(ice, tmp); 123 snd_ice1712_gpio_write(ice, tmp); 126 snd_ice1712_gpio_write(ice, tmp); 129 snd_ice1712_gpio_write(ice, tmp); 132 snd_ice1712_gpio_write(ice, tmp); 152 snd_ice1712_gpio_write(ice, tmp); 158 snd_ice1712_gpio_write(ice, tm 200 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 209 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 229 aureon_ac97_write(struct snd_ice1712 *ice, unsigned short reg, unsigned short val) argument 283 aureon_ac97_read(struct snd_ice1712 *ice, unsigned short reg) argument 292 aureon_ac97_init(struct snd_ice1712 *ice) argument 358 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 374 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 402 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 415 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 440 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 452 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 473 aureon_spi_write(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits) argument 526 aureon_spi_read(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits, unsigned char *buffer, int size) argument 578 aureon_cs8415_get(struct snd_ice1712 *ice, int reg) argument 586 aureon_cs8415_read(struct snd_ice1712 *ice, int reg, unsigned char *buffer, int size) argument 593 aureon_cs8415_put(struct snd_ice1712 *ice, int reg, unsigned char val) argument 602 wm_get(struct snd_ice1712 *ice, int reg) argument 612 wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) argument 624 wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 643 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 655 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 682 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) argument 705 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 715 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 744 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 755 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 794 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 808 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 847 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 862 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 893 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 905 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 944 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 957 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 983 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 998 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1030 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1046 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1087 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1097 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1110 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1131 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1148 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1160 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1188 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1202 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1211 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1239 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1263 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1274 aureon_set_headphone_amp(struct snd_ice1712 *ice, int enable) argument 1298 aureon_get_headphone_amp(struct snd_ice1712 *ice) argument 1309 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1318 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1331 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1338 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1364 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1372 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1855 aureon_add_controls(struct snd_ice1712 *ice) argument 1918 aureon_reset(struct snd_ice1712 *ice) argument 2063 aureon_resume(struct snd_ice1712 *ice) argument 2083 aureon_init(struct snd_ice1712 *ice) argument [all...] |
H A D | wtm.c | 35 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, argument 38 snd_vt1724_write_i2c(ice, STAC9460_I2C_ADDR, reg, val); 41 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) argument 43 return snd_vt1724_read_i2c(ice, STAC9460_I2C_ADDR, reg); 49 static inline void stac9460_2_put(struct snd_ice1712 *ice, int reg, argument 52 snd_vt1724_write_i2c(ice, STAC9460_2_I2C_ADDR, reg, val); 55 static inline unsigned char stac9460_2_get(struct snd_ice1712 *ice, int reg) argument 57 return snd_vt1724_read_i2c(ice, STAC9460_2_I2C_ADDR, reg); 64 static void stac9460_dac_mute_all(struct snd_ice1712 *ice, unsigned char mute, argument 77 old = stac9460_get(ice, id 116 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 143 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 194 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 216 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 261 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 283 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 329 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 353 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 398 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 414 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 438 stac9460_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) argument 554 wtm_add_controls(struct snd_ice1712 *ice) argument 568 wtm_init(struct snd_ice1712 *ice) argument [all...] |
H A D | phase.c | 109 static int phase22_init(struct snd_ice1712 *ice) argument 115 switch (ice->eeprom.subvendor) { 118 ice->num_total_dacs = 2; 119 ice->num_total_adcs = 2; 120 ice->vt1720 = 1; /* Envy24HT-S have 16 bit wide GPIO */ 128 ice->akm = kzalloc(sizeof(struct snd_akm4xxx), GFP_KERNEL); 129 ak = ice->akm; 132 ice->akm_codecs = 1; 133 switch (ice->eeprom.subvendor) { 137 &akm_phase22_priv, ice); 146 phase22_add_controls(struct snd_ice1712 *ice) argument 197 phase28_spi_write(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits) argument 239 wm_get(struct snd_ice1712 *ice, int reg) argument 249 wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) argument 257 wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 265 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) argument 288 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 300 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 331 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 343 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 367 phase28_init(struct snd_ice1712 *ice) argument 478 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 493 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 534 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 550 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 583 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 596 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 638 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 652 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 680 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 689 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 718 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 728 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 897 phase28_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | vt1720_mobo.c | 20 static int k8x800_init(struct snd_ice1712 *ice) argument 22 ice->vt1720 = 1; 25 ice->num_total_dacs = 6; 26 ice->num_total_adcs = 2; 34 static int k8x800_add_controls(struct snd_ice1712 *ice) argument
|
/linux-master/include/soc/qcom/ |
H A D | ice.h | 28 int qcom_ice_enable(struct qcom_ice *ice); 29 int qcom_ice_resume(struct qcom_ice *ice); 30 int qcom_ice_suspend(struct qcom_ice *ice); 31 int qcom_ice_program_key(struct qcom_ice *ice, 35 int qcom_ice_evict_key(struct qcom_ice *ice, int slot);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | Makefile | 8 obj-$(CONFIG_ICE) += ice.o 10 ice-y := ice_main.o \ 40 ice-$(CONFIG_PCI_IOV) += \ 48 ice-$(CONFIG_PTP_1588_CLOCK) += ice_ptp.o ice_ptp_hw.o ice_dpll.o 49 ice-$(CONFIG_DCB) += ice_dcb.o ice_dcb_nl.o ice_dcb_lib.o 50 ice-$(CONFIG_RFS_ACCEL) += ice_arfs.o 51 ice-$(CONFIG_XDP_SOCKETS) += ice_xsk.o 52 ice-$(CONFIG_ICE_SWITCHDEV) += ice_eswitch.o ice_eswitch_br.o 53 ice-$(CONFIG_GNSS) += ice_gnss.o 54 ice [all...] |
/linux-master/drivers/soc/qcom/ |
H A D | ice.c | 20 #include <soc/qcom/ice.h> 51 static bool qcom_ice_check_supported(struct qcom_ice *ice) argument 53 u32 regval = qcom_ice_readl(ice, QCOM_ICE_REG_VERSION); 54 struct device *dev = ice->dev; 70 regval = qcom_ice_readl(ice, QCOM_ICE_REG_FUSE_SETTING); 81 static void qcom_ice_low_power_mode_enable(struct qcom_ice *ice) argument 85 regval = qcom_ice_readl(ice, QCOM_ICE_REG_ADVANCED_CONTROL); 89 qcom_ice_writel(ice, regval, QCOM_ICE_REG_ADVANCED_CONTROL); 92 static void qcom_ice_optimization_enable(struct qcom_ice *ice) argument 97 regval = qcom_ice_readl(ice, QCOM_ICE_REG_ADVANCED_CONTRO 117 qcom_ice_wait_bist_status(struct qcom_ice *ice) argument 131 qcom_ice_enable(struct qcom_ice *ice) argument 140 qcom_ice_resume(struct qcom_ice *ice) argument 156 qcom_ice_suspend(struct qcom_ice *ice) argument 164 qcom_ice_program_key(struct qcom_ice *ice, u8 algorithm_id, u8 key_size, const u8 crypto_key[], u8 data_unit_size, int slot) argument 202 qcom_ice_evict_key(struct qcom_ice *ice, int slot) argument 267 struct qcom_ice *ice; local [all...] |
/linux-master/arch/arm/boot/dts/ti/keystone/ |
H A D | Makefile | 7 keystone-k2g-ice.dtb
|
/linux-master/scripts/dtc/include-prefixes/arm/ti/keystone/ |
H A D | Makefile | 7 keystone-k2g-ice.dtb
|