/linux-master/sound/pci/ice1712/ |
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 | 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 | envy24ht.h | 39 #define ICEREG1724(ice, x) ((ice)->port + VT1724_REG_##x) 117 #define ICEMT1724(ice, x) ((ice)->profi_port + VT1724_MT_##x) 203 unsigned char snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr); 204 void snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned char data);
|
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | maya44.c | 69 struct snd_ice1712 *ice; member in struct:snd_maya44 76 static void wm8776_write(struct snd_ice1712 *ice, struct snd_wm8776 *wm, argument 83 snd_vt1724_write_i2c(ice, wm->addr, 92 static int wm8776_write_bits(struct snd_ice1712 *ice, struct snd_wm8776 *wm, argument 98 wm8776_write(ice, wm, reg, val); 208 changed |= wm8776_write_bits(chip->ice, wm, vol->regs[ch], 211 wm8776_write_bits(chip->ice, wm, WM8776_REG_ADC_MUX, 260 changed = wm8776_write_bits(chip->ice, wm, 283 static int maya_set_gpio_bits(struct snd_ice1712 *ice, unsigned int mask, argument 287 data = snd_ice1712_gpio_read(ice); 517 maya44_add_controls(struct snd_ice1712 *ice) argument 534 wm8776_init(struct snd_ice1712 *ice, struct snd_wm8776 *wm, unsigned int addr) argument 587 set_rate(struct snd_ice1712 *ice, unsigned int rate) argument 672 maya44_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...] |
/linux-master/arch/arm/boot/dts/ti/keystone/ |
H A D | Makefile | 7 keystone-k2g-ice.dtb
|
/linux-master/drivers/mmc/host/ |
H A D | sdhci-msm.c | 21 #include <soc/qcom/ice.h> 268 struct qcom_ice *ice; member in struct:sdhci_msm_host 1815 struct qcom_ice *ice; local 1820 ice = of_qcom_ice_get(dev); 1821 if (ice == ERR_PTR(-EOPNOTSUPP)) { 1823 ice = NULL; 1826 if (IS_ERR_OR_NULL(ice)) 1827 return PTR_ERR_OR_ZERO(ice); 1829 msm_host->ice = ice; [all...] |
/linux-master/drivers/net/ethernet/intel/ |
H A D | Makefile | 20 obj-$(CONFIG_ICE) += ice/
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | Makefile | 9 obj-$(CONFIG_ICE) += ice.o 11 ice-y := ice_main.o \ 43 ice-$(CONFIG_PCI_IOV) += \ 51 ice-$(CONFIG_PTP_1588_CLOCK) += ice_ptp.o ice_ptp_hw.o ice_dpll.o 52 ice-$(CONFIG_DCB) += ice_dcb.o ice_dcb_nl.o ice_dcb_lib.o 53 ice-$(CONFIG_RFS_ACCEL) += ice_arfs.o 54 ice-$(CONFIG_XDP_SOCKETS) += ice_xsk.o 55 ice-$(CONFIG_ICE_SWITCHDEV) += ice_eswitch.o ice_eswitch_br.o 56 ice-$(CONFIG_GNSS) += ice_gnss.o 57 ice [all...] |
H A D | ice_trace.h | 6 /* The trace subsystem name for ice will be "ice". 15 #define TRACE_SYSTEM ice 46 #define _ICE_TRACE_NAME(trace_name) (trace_##ice##_##trace_name) 345 #define TRACE_INCLUDE_FILE ../../drivers/net/ethernet/intel/ice/ice_trace
|
/linux-master/drivers/soc/qcom/ |
H A D | Makefile | 36 qcom_ice-objs += ice.o
|
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/drivers/ufs/host/ |
H A D | ufs-qcom.c | 19 #include <soc/qcom/ice.h> 112 qcom_ice_enable(host->ice); 119 struct qcom_ice *ice; local 121 ice = of_qcom_ice_get(dev); 122 if (ice == ERR_PTR(-EOPNOTSUPP)) { 124 ice = NULL; 127 if (IS_ERR_OR_NULL(ice)) 128 return PTR_ERR_OR_ZERO(ice); 130 host->ice = ice; [all...] |
H A D | ufs-qcom.h | 10 #include <soc/qcom/ice.h> 197 struct qcom_ice *ice; member in struct:ufs_qcom_host
|
/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/scripts/dtc/include-prefixes/arm/ti/keystone/ |
H A D | Makefile | 7 keystone-k2g-ice.dtb
|