/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ice1712/ |
H A D | hoontech.c | 38 static void __devinit snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) argument 42 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); 45 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); 48 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); 51 static void __devinit snd_ice1712_stdsp24_darear(struct snd_ice1712 *ice, int activate) argument 53 mutex_lock(&ice->gpio_mutex); 54 ICE1712_STDSP24_0_DAREAR(ice->spec.hoontech.boxbits, activate); 55 snd_ice1712_stdsp24_gpio_write(ice, ice->spec.hoontech.boxbits[0]); 56 mutex_unlock(&ice 59 snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, int activate) argument 67 snd_ice1712_stdsp24_insel(struct snd_ice1712 *ice, int activate) argument 75 snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) argument 123 snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) argument 149 snd_ice1712_stdsp24_midi2(struct snd_ice1712 *ice, int activate) argument 157 snd_ice1712_hoontech_init(struct snd_ice1712 *ice) argument 228 struct snd_ice1712 *ice = ak->private_data[0]; local 239 snd_ice1712_value_init(struct snd_ice1712 *ice) argument 289 snd_ice1712_ez8_init(struct snd_ice1712 *ice) argument [all...] |
H A D | delta.c | 49 static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) argument 57 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 60 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 66 static unsigned char ap_cs8427_read_byte(struct snd_ice1712 *ice, unsigned char tmp) argument 73 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 75 if (snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_DELTA_AP_DIN) 78 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 85 static unsigned char ap_cs8427_codec_select(struct snd_ice1712 *ice) argument 88 tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); 89 switch (ice 110 ap_cs8427_codec_deassert(struct snd_ice1712 *ice, unsigned char tmp) argument 131 struct snd_ice1712 *ice = device->bus->private_data; local 148 struct snd_ice1712 *ice = device->bus->private_data; local 178 snd_ice1712_delta_cs8403_spdif_write(struct snd_ice1712 *ice, unsigned char bits) argument 203 delta_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 208 delta_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 226 delta_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 231 delta_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 256 struct snd_ice1712 *ice = ak->private_data[0]; local 270 struct snd_ice1712 *ice = ak->private_data[0]; local 283 struct snd_ice1712 *ice = ak->private_data[0]; local 294 delta_1010_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) argument 317 struct snd_ice1712 *ice = ak->private_data[0]; local 366 delta_open_spdif(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 372 delta_setup_spdif(struct snd_ice1712 *ice, int rate) argument 410 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 540 snd_ice1712_delta_init(struct snd_ice1712 *ice) argument 665 snd_ice1712_delta_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | ews.c | 55 struct snd_ice1712 *ice = bus->private_data; local 61 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); 67 struct snd_ice1712 *ice = bus->private_data; local 68 return snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_EWX2496_SERIAL_CLOCK ? 1 : 0; 73 struct snd_ice1712 *ice = bus->private_data; local 76 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~ICE1712_EWX2496_RW); 77 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, 0); 80 bit = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ICE1712_EWX2496_SERIAL_DATA ? 1 : 0; 82 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, ICE1712_EWX2496_RW); 84 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MAS 90 struct snd_ice1712 *ice = bus->private_data; local 109 struct snd_ice1712 *ice = bus->private_data; local 115 struct snd_ice1712 *ice = bus->private_data; local 143 snd_ice1712_ews88mt_chip_select(struct snd_ice1712 *ice, int chip_mask) argument 167 struct snd_ice1712 *ice = ak->private_data[0]; local 184 struct snd_ice1712 *ice = ak->private_data[0]; local 193 struct snd_ice1712 *ice = ak->private_data[0]; local 209 struct snd_ice1712 *ice = ak->private_data[0]; local 225 snd_ice1712_ews_cs8404_spdif_write(struct snd_ice1712 *ice, unsigned char bits) argument 254 ews88_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 259 ews88_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 277 ews88_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 282 ews88_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 302 ews88_open_spdif(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 308 ews88_setup_spdif(struct snd_ice1712 *ice, int rate) argument 411 snd_ice1712_ews_init(struct snd_ice1712 *ice) argument 555 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 566 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 607 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 623 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 643 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 662 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 714 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 734 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 785 snd_ice1712_6fire_read_pca(struct snd_ice1712 *ice, unsigned char reg) argument 801 snd_ice1712_6fire_write_pca(struct snd_ice1712 *ice, unsigned char reg, unsigned char data) argument 826 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 842 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 877 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 888 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 928 snd_ice1712_ews_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | revo.c | 36 static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) argument 39 outb(inb(ICEMT1724(ice, AC97_CMD)) | 0x80, ICEMT1724(ice, AC97_CMD)); 42 outb(inb(ICEMT1724(ice, AC97_CMD)) & ~0x80, ICEMT1724(ice, AC97_CMD)); 92 struct snd_ice1712 *ice = bus->private_data; local 93 snd_ice1712_save_gpio_status(ice); 98 struct snd_ice1712 *ice = bus->private_data; local 99 snd_ice1712_restore_gpio_status(ice); 104 struct snd_ice1712 *ice local 121 struct snd_ice1712 *ice = bus->private_data; local 136 struct snd_ice1712 *ice = bus->private_data; local 153 revo51_i2c_init(struct snd_ice1712 *ice, struct snd_pt2258 *pt) argument 309 struct snd_ice1712 *ice = ak->private_data[0]; local 356 write_data(struct snd_ice1712 *ice, unsigned int gpio, unsigned int data, int idx) argument 378 read_data(struct snd_ice1712 *ice, unsigned int gpio, int idx) argument 400 ap192_4wire_start(struct snd_ice1712 *ice) argument 414 ap192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) argument 426 struct snd_ice1712 *ice = private_data; local 438 struct snd_ice1712 *ice = private_data; local 449 ap192_ak4114_init(struct snd_ice1712 *ice) argument 473 revo_init(struct snd_ice1712 *ice) argument 544 revo_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | ice1724.c | 107 static inline int is_spdif_master(struct snd_ice1712 *ice) argument 109 return (inb(ICEMT1724(ice, RATE)) & VT1724_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; 121 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) argument 126 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); 137 static int snd_vt1724_ac97_wait_bit(struct snd_ice1712 *ice, unsigned char bit) argument 141 if ((inb(ICEMT1724(ice, AC97_CMD)) & bit) == 0) 151 struct snd_ice1712 *ice = ac97->private_data; local 154 old_cmd = snd_vt1724_ac97_ready(ice); 165 struct snd_ice1712 *ice = ac97->private_data; local 184 snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) argument 191 snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) 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 224 struct snd_ice1712 *ice = dev_id; local 337 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 389 get_max_rate(struct snd_ice1712 *ice) argument 400 snd_vt1724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) argument 486 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 528 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 542 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 569 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 591 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 606 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 704 set_rate_constraints(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 751 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 780 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 798 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 809 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 839 snd_vt1724_pcm_profi(struct snd_ice1712 * ice, int device) argument 884 update_spdif_bits(struct snd_ice1712 *ice, unsigned int val) argument 899 update_spdif_rate(struct snd_ice1712 *ice, unsigned int rate) argument 923 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 931 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 952 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 963 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 984 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1016 snd_vt1724_pcm_spdif(struct snd_ice1712 * ice, int device) argument 1094 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1107 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1128 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1150 snd_vt1724_pcm_indep(struct snd_ice1712 * ice, int device) argument 1185 snd_vt1724_ac97_mixer(struct snd_ice1712 * ice) argument 1220 eeprom_triple(struct snd_ice1712 *ice, int idx) argument 1230 struct snd_ice1712 *ice = entry->private_data; local 1269 snd_vt1724_proc_init(struct snd_ice1712 * ice) argument 1292 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1389 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1399 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1474 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1483 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1549 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1565 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1589 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1658 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1697 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1748 get_route_val(struct snd_ice1712 *ice, int shift) argument 1767 put_route_val(struct snd_ice1712 *ice, unsigned int val, int shift) argument 1792 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1802 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1811 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1821 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1858 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1902 wait_i2c_busy(struct snd_ice1712 *ice) argument 1911 snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr) argument 1926 snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned char data) argument 1939 snd_vt1724_read_eeprom(struct snd_ice1712 *ice, const char *modelname) argument 2021 snd_vt1724_chip_init(struct snd_ice1712 *ice) argument 2043 snd_vt1724_spdif_build_controls(struct snd_ice1712 *ice) argument 2074 snd_vt1724_build_controls(struct snd_ice1712 *ice) argument 2109 snd_vt1724_free(struct snd_ice1712 *ice) argument 2131 struct snd_ice1712 *ice = device->device_data; local 2140 struct snd_ice1712 *ice; local 2234 struct snd_ice1712 *ice; local [all...] |
H A D | pontis.c | 82 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) argument 85 return ((unsigned short)ice->akm[0].images[reg] << 8) | 86 ice->akm[0].images[reg + 1]; 92 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) argument 96 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); 99 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 101 wm_put_nocache(ice, reg, val); 103 ice->akm[0].images[reg] = val >> 8; 104 ice->akm[0].images[reg + 1] = val; 126 struct snd_ice1712 *ice local 142 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 181 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 197 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 230 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 241 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 274 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 284 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 316 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 326 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 349 set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) argument 359 spi_send_byte(struct snd_ice1712 *ice, unsigned char data) argument 373 spi_read_byte(struct snd_ice1712 *ice) argument 392 spi_write(struct snd_ice1712 *ice, unsigned int dev, unsigned int reg, unsigned int data) argument 408 spi_read(struct snd_ice1712 *ice, unsigned int dev, unsigned int reg) argument 453 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 463 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 493 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 503 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 517 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 527 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 541 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 552 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 661 struct snd_ice1712 *ice = (struct snd_ice1712 *)entry->private_data; local 676 struct snd_ice1712 *ice = (struct snd_ice1712 *)entry->private_data; local 687 wm_proc_init(struct snd_ice1712 *ice) argument 699 struct snd_ice1712 *ice = (struct snd_ice1712 *)entry->private_data; local 712 cs_proc_init(struct snd_ice1712 *ice) argument 720 pontis_add_controls(struct snd_ice1712 *ice) argument 741 pontis_init(struct snd_ice1712 *ice) argument [all...] |
H A D | ice1712.c | 117 static int snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice); 118 static int snd_ice1712_build_controls(struct snd_ice1712 *ice); 129 static inline int is_spdif_master(struct snd_ice1712 *ice) argument 131 return (inb(ICEMT(ice, RATE)) & ICE1712_SPDIF_MASTER) ? 1 : 0; 134 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) argument 136 return is_spdif_master(ice) || PRO_RATE_LOCKED; 139 static inline void snd_ice1712_ds_write(struct snd_ice1712 * ice, u8 channel, u8 addr, u32 data) argument 141 outb((channel << 4) | addr, ICEDS(ice, INDEX)); 142 outl(data, ICEDS(ice, DATA)); 145 static inline u32 snd_ice1712_ds_read(struct snd_ice1712 * ice, u argument 155 struct snd_ice1712 *ice = ac97->private_data; local 179 struct snd_ice1712 *ice = ac97->private_data; local 209 struct snd_ice1712 *ice = ac97->private_data; local 234 struct snd_ice1712 *ice = ac97->private_data; local 270 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 278 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 302 snd_ice1712_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) argument 308 snd_ice1712_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) argument 314 snd_ice1712_get_gpio_data(struct snd_ice1712 *ice) argument 319 snd_ice1712_set_gpio_data(struct snd_ice1712 *ice, unsigned int val) argument 335 snd_ice1712_cs8427_set_input_clock(struct snd_ice1712 *ice, int spdif_clock) argument 370 open_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 375 close_cs8427(struct snd_ice1712 *ice, struct snd_pcm_substream *substream) argument 380 setup_cs8427(struct snd_ice1712 *ice, int rate) argument 388 snd_ice1712_init_cs8427(struct snd_ice1712 *ice, int addr) argument 404 snd_ice1712_set_input_clock_source(struct snd_ice1712 *ice, int spdif_is_master) argument 425 struct snd_ice1712 *ice = dev_id; local 515 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 540 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 565 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 585 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 618 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 653 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 678 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 692 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 711 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 784 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 794 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 809 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 821 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 829 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 842 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 881 snd_ice1712_pcm(struct snd_ice1712 * ice, int device, struct snd_pcm ** rpcm) argument 911 snd_ice1712_pcm_ds(struct snd_ice1712 * ice, int device, struct snd_pcm ** rpcm) argument 954 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1009 snd_ice1712_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate, int force) argument 1065 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1080 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1088 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1102 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1110 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1123 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1177 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1193 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1206 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1219 struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); local 1249 snd_ice1712_pcm_profi(struct snd_ice1712 * ice, int device, struct snd_pcm ** rpcm) argument 1292 snd_ice1712_update_volume(struct snd_ice1712 *ice, int index) argument 1314 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1326 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1352 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1364 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1446 snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice) argument 1501 struct snd_ice1712 *ice = ac97->private_data; local 1505 snd_ice1712_ac97_mixer(struct snd_ice1712 * ice) argument 1554 eeprom_double(struct snd_ice1712 *ice, int idx) argument 1562 struct snd_ice1712 *ice = entry->private_data; local 1599 snd_ice1712_proc_init(struct snd_ice1712 * ice) argument 1622 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1649 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1658 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1676 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1698 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1736 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1745 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1775 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1789 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1840 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1864 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1991 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2030 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2076 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2102 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2152 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2172 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2239 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2248 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2279 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 2313 snd_ice1712_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr) argument 2325 snd_ice1712_read_eeprom(struct snd_ice1712 *ice, const char *modelname) argument 2400 snd_ice1712_chip_init(struct snd_ice1712 *ice) argument 2447 snd_ice1712_spdif_build_controls(struct snd_ice1712 *ice) argument 2474 snd_ice1712_build_controls(struct snd_ice1712 *ice) argument 2517 snd_ice1712_free(struct snd_ice1712 *ice) argument 2540 struct snd_ice1712 *ice = device->device_data; local 2552 struct snd_ice1712 *ice; local 2666 struct snd_ice1712 *ice; local [all...] |
H A D | amp.c | 36 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 40 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); 43 static int __devinit snd_vt1724_amp_init(struct snd_ice1712 *ice) argument 56 ice->num_total_dacs = 2; /* only PSDOUT0 is connected */ 57 ice->num_total_adcs = 2; 61 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AV710) { 63 wm_put(ice, wm_inits[i], wm_inits[i+1]); 69 static int __devinit snd_vt1724_amp_add_controls(struct snd_ice1712 *ice) argument 72 snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice [all...] |
H A D | ak4xxx.c | 39 struct snd_ice1712 *ice = ak->private_data[0]; local 41 snd_ice1712_save_gpio_status(ice); 46 struct snd_ice1712 *ice = ak->private_data[0]; local 48 snd_ice1712_restore_gpio_status(ice); 61 struct snd_ice1712 *ice = ak->private_data[0]; local 65 tmp = snd_ice1712_gpio_read(ice); 73 snd_ice1712_gpio_write(ice, tmp); 80 snd_ice1712_gpio_write(ice, tmp); 90 snd_ice1712_gpio_write(ice, tmp); 97 snd_ice1712_gpio_write(ice, tm 124 snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak, const struct snd_akm4xxx *temp, const struct snd_ak4xxx_private *_priv, struct snd_ice1712 *ice) argument 151 snd_ice1712_akm4xxx_free(struct snd_ice1712 *ice) argument 166 snd_ice1712_akm4xxx_build_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | ice1712.h | 40 #define ICEREG(ice, x) ((ice)->port + ICE1712_REG_##x) 114 #define ICEDS(ice, x) ((ice)->dmapath_port + ICE1712_DS_##x) 145 #define ICEMT(ice, x) ((ice)->profi_port + ICE1712_MT_##x) 257 #define ice_has_con_ac97(ice) (!((ice)->eeprom.data[ICE_EEP1_CODEC] & ICE1712_CFG_NO_CON_AC97)) 358 void (*set_mask)(struct snd_ice1712 *ice, unsigned int data); 359 void (*set_dir)(struct snd_ice1712 *ice, unsigne 411 snd_ice1712_gpio_set_dir(struct snd_ice1712 *ice, unsigned int bits) argument 416 snd_ice1712_gpio_set_mask(struct snd_ice1712 *ice, unsigned int bits) argument 421 snd_ice1712_gpio_write(struct snd_ice1712 *ice, unsigned int val) argument 426 snd_ice1712_gpio_read(struct snd_ice1712 *ice) argument 436 snd_ice1712_save_gpio_status(struct snd_ice1712 *ice) argument 443 snd_ice1712_restore_gpio_status(struct snd_ice1712 *ice) argument 465 snd_ice1712_gpio_write_bits(struct snd_ice1712 *ice, unsigned int mask, unsigned int bits) argument 474 snd_ice1712_gpio_read_bits(struct snd_ice1712 *ice, unsigned int mask) argument 491 snd_ice1712_write(struct snd_ice1712 * ice, u8 addr, u8 data) argument 497 snd_ice1712_read(struct snd_ice1712 * ice, u8 addr) argument [all...] |
H A D | wtm.c | 45 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, argument 48 snd_vt1724_write_i2c(ice, STAC9460_I2C_ADDR, reg, val); 51 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) argument 53 return snd_vt1724_read_i2c(ice, STAC9460_I2C_ADDR, reg); 59 static inline void stac9460_2_put(struct snd_ice1712 *ice, int reg, argument 62 snd_vt1724_write_i2c(ice, STAC9460_2_I2C_ADDR, reg, val); 65 static inline unsigned char stac9460_2_get(struct snd_ice1712 *ice, int reg) argument 67 return snd_vt1724_read_i2c(ice, STAC9460_2_I2C_ADDR, reg); 86 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 98 val = stac9460_get(ice, id 108 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 159 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 181 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 234 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 256 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 302 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 326 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 373 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 389 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 476 wtm_add_controls(struct snd_ice1712 *ice) argument 490 wtm_init(struct snd_ice1712 *ice) argument [all...] |
H A D | phase.c | 110 static int __devinit phase22_init(struct snd_ice1712 *ice) argument 116 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 ak = ice->akm = kzalloc(sizeof(struct snd_akm4xxx), GFP_KERNEL); 131 ice->akm_codecs = 1; 132 switch (ice->eeprom.subvendor) { 134 if ((err = snd_ice1712_akm4xxx_init(ak, &akm_phase22, &akm_phase22_priv, ice)) < 0) 142 static int __devinit phase22_add_controls(struct snd_ice1712 *ice) argument 190 phase28_spi_write(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits) argument 231 wm_get(struct snd_ice1712 *ice, int reg) argument 241 wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) argument 249 wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 257 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) argument 277 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 287 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 315 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 324 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 344 phase28_init(struct snd_ice1712 *ice) argument 445 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 457 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 491 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 504 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 540 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 549 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 587 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 600 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 635 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 642 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 676 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 684 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 852 phase28_add_controls(struct snd_ice1712 *ice) argument [all...] |
H A D | aureon.c | 105 static void aureon_pca9554_write(struct snd_ice1712 *ice, unsigned char reg, argument 113 tmp = snd_ice1712_gpio_read(ice); 115 snd_ice1712_gpio_set_mask(ice, ~(AUREON_SPI_MOSI|AUREON_SPI_CLK| 123 snd_ice1712_gpio_write(ice, tmp); 131 snd_ice1712_gpio_write(ice, tmp); 134 snd_ice1712_gpio_write(ice, tmp); 137 snd_ice1712_gpio_write(ice, tmp); 140 snd_ice1712_gpio_write(ice, tmp); 154 snd_ice1712_gpio_write(ice, tmp); 160 snd_ice1712_gpio_write(ice, tm 207 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 215 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 233 aureon_ac97_write(struct snd_ice1712 *ice, unsigned short reg, unsigned short val) argument 286 aureon_ac97_read(struct snd_ice1712 *ice, unsigned short reg) argument 294 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 401 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 413 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 437 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 449 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 469 aureon_spi_write(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits) argument 523 aureon_spi_read(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits, unsigned char *buffer, int size) argument 573 aureon_cs8415_get(struct snd_ice1712 *ice, int reg) argument 580 aureon_cs8415_read(struct snd_ice1712 *ice, int reg, unsigned char *buffer, int size) argument 585 aureon_cs8415_put(struct snd_ice1712 *ice, int reg, unsigned char val) argument 592 wm_get(struct snd_ice1712 *ice, int reg) argument 602 wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) argument 614 wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) argument 640 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 651 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 695 wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) argument 715 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 725 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 753 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 762 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 797 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 809 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 843 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 856 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 892 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 901 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 939 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 952 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 1108 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1121 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1142 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1165 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1176 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1203 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1222 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1231 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1256 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1277 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1288 aureon_set_headphone_amp(struct snd_ice1712 *ice, int enable) argument 1312 aureon_get_headphone_amp(struct snd_ice1712 *ice) argument 1323 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1332 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1345 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1352 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1386 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1394 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 1877 aureon_add_controls(struct snd_ice1712 *ice) argument 1942 aureon_init(struct snd_ice1712 *ice) argument [all...] |
H A D | prodigy192.c | 71 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, unsigned char val) argument 73 snd_vt1724_write_i2c(ice, PRODIGY192_STAC9460_ADDR, reg, val); 76 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) argument 78 return snd_vt1724_read_i2c(ice, PRODIGY192_STAC9460_ADDR, reg); 95 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 103 val = stac9460_get(ice, idx); 110 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 119 old = stac9460_get(ice, idx); 123 stac9460_put(ice, idx, new); 142 struct snd_ice1712 *ice local 158 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 288 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 299 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 401 write_data(struct snd_ice1712 *ice, unsigned int gpio, unsigned int data, int idx) argument 426 read_data(struct snd_ice1712 *ice, unsigned int gpio, int idx) argument 450 prodigy192_4wire_start(struct snd_ice1712 *ice) argument 467 prodigy192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) argument 481 struct snd_ice1712 *ice = private_data; local 496 struct snd_ice1712 *ice = private_data; local 526 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 540 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); local 568 prodigy192_ak4114_init(struct snd_ice1712 *ice) argument 592 prodigy192_add_controls(struct snd_ice1712 *ice) argument 624 prodigy192_miodio_exists(struct snd_ice1712 *ice) argument 646 prodigy192_init(struct snd_ice1712 *ice) argument [all...] |
H A D | juli.c | 91 struct snd_ice1712 *ice = ak->private_data[0]; local 94 snd_vt1724_write_i2c(ice, AK4358_ADDR, addr, data); 139 static int __devinit juli_add_controls(struct snd_ice1712 *ice) argument 142 err = snd_ice1712_akm4xxx_build_controls(ice); 146 err = snd_ak4114_build(ice->spec.juli.ak4114, NULL, 147 ice->pcm_pro->streams[SNDRV_PCM_STREAM_CAPTURE].substream); 156 static int __devinit juli_init(struct snd_ice1712 *ice) argument 172 err = snd_ak4114_create(ice->card, 176 ice, &ice [all...] |
H A D | vt1720_mobo.c | 37 static int __devinit k8x800_init(struct snd_ice1712 *ice) argument 39 ice->vt1720 = 1; 42 ice->num_total_dacs = 6; 43 ice->num_total_adcs = 2; 50 static int __devinit k8x800_add_controls(struct snd_ice1712 *ice) argument
|
H A D | envy24ht.h | 53 #define ICEREG1724(ice, x) ((ice)->port + VT1724_REG_##x) 126 #define ICEMT1724(ice, x) ((ice)->profi_port + VT1724_MT_##x) 212 unsigned char snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr); 213 void snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned char data);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/tests/ |
H A D | lang-guile | 12 (use-modules (ice-9 format))
|