Home
last modified time | relevance | path

Searched defs:ice (Results 1 – 21 of 21) sorted by relevance

/linux-2.6.39/sound/pci/ice1712/
Dice1724.c120 static inline int stdclock_is_spdif_master(struct snd_ice1712 *ice) in stdclock_is_spdif_master()
128 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
137 static unsigned char snd_vt1724_ac97_ready(struct snd_ice1712 *ice) in snd_vt1724_ac97_ready()
153 static int snd_vt1724_ac97_wait_bit(struct snd_ice1712 *ice, unsigned char bit) in snd_vt1724_ac97_wait_bit()
167 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_write() local
181 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read() local
200 static void snd_vt1724_set_gpio_dir(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_dir()
207 static unsigned int snd_vt1724_get_gpio_dir(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_dir()
213 static void snd_vt1724_set_gpio_mask(struct snd_ice1712 *ice, unsigned int data) in snd_vt1724_set_gpio_mask()
221 static unsigned int snd_vt1724_get_gpio_mask(struct snd_ice1712 *ice) in snd_vt1724_get_gpio_mask()
[all …]
Dice1712.c128 static inline int is_spdif_master(struct snd_ice1712 *ice) in is_spdif_master()
133 static inline int is_pro_rate_locked(struct snd_ice1712 *ice) in is_pro_rate_locked()
138 static inline void snd_ice1712_ds_write(struct snd_ice1712 *ice, u8 channel, u8 addr, u32 data) in snd_ice1712_ds_write()
144 static inline u32 snd_ice1712_ds_read(struct snd_ice1712 *ice, u8 channel, u8 addr) in snd_ice1712_ds_read()
154 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_write() local
178 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_ac97_read() local
208 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_write() local
233 struct snd_ice1712 *ice = ac97->private_data; in snd_ice1712_pro_ac97_read() local
262 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_digmix_route_ac97_get() local
270 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in snd_ice1712_digmix_route_ac97_put() local
[all …]
Ddelta.c48 static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) in ap_cs8427_write_byte()
65 static unsigned char ap_cs8427_read_byte(struct snd_ice1712 *ice, unsigned char tmp) in ap_cs8427_read_byte()
84 static unsigned char ap_cs8427_codec_select(struct snd_ice1712 *ice) in ap_cs8427_codec_select()
115 static void ap_cs8427_codec_deassert(struct snd_ice1712 *ice, unsigned char tmp) in ap_cs8427_codec_deassert()
140 struct snd_ice1712 *ice = device->bus->private_data; in ap_cs8427_sendbytes() local
157 struct snd_ice1712 *ice = device->bus->private_data; in ap_cs8427_readbytes() local
187 static void snd_ice1712_delta_cs8403_spdif_write(struct snd_ice1712 *ice, unsigned char bits) in snd_ice1712_delta_cs8403_spdif_write()
212 static void delta_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_default_get()
217 static int delta_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_default_put()
235 static void delta_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) in delta_spdif_stream_get()
[all …]
Dpontis.c82 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
92 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
99 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
126 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_get() local
142 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_dac_vol_put() local
181 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_get() local
197 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_put() local
223 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_get() local
234 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_put() local
260 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_bypass_get() local
[all …]
Dprodigy192.c76 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, unsigned char val) in stac9460_put()
81 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) in stac9460_get()
93 static int stac9460_dac_mute(struct snd_ice1712 *ice, int idx, in stac9460_dac_mute()
111 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get() local
126 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put() local
159 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get() local
175 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put() local
206 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get() local
220 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_put() local
251 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_vol_get() local
[all …]
Dews.c59 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_setlines() local
71 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getclock() local
77 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_getdata() local
94 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_start() local
113 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_stop() local
119 struct snd_ice1712 *ice = bus->private_data; in ewx_i2c_direction() local
147 static int snd_ice1712_ews88mt_chip_select(struct snd_ice1712 *ice, int chip_mask) in snd_ice1712_ews88mt_chip_select()
174 struct snd_ice1712 *ice = ak->private_data[0]; in ews88mt_ak4524_lock() local
191 struct snd_ice1712 *ice = ak->private_data[0]; in ews88mt_ak4524_unlock() local
200 struct snd_ice1712 *ice = ak->private_data[0]; in ewx2496_ak4524_lock() local
[all …]
Dse.c117 static void __devinit se200pci_WM8740_init(struct snd_ice1712 *ice) in se200pci_WM8740_init()
123 static void se200pci_WM8740_set_pro_rate(struct snd_ice1712 *ice, in se200pci_WM8740_set_pro_rate()
134 static void se200pci_WM8766_write(struct snd_ice1712 *ice, in se200pci_WM8766_write()
180 static void se200pci_WM8766_set_volume(struct snd_ice1712 *ice, int ch, in se200pci_WM8766_set_volume()
199 static void __devinit se200pci_WM8766_init(struct snd_ice1712 *ice) in se200pci_WM8766_init()
218 static void se200pci_WM8766_set_pro_rate(struct snd_ice1712 *ice, in se200pci_WM8766_set_pro_rate()
232 static void se200pci_WM8776_write(struct snd_ice1712 *ice, in se200pci_WM8776_write()
242 static void se200pci_WM8776_set_output_volume(struct snd_ice1712 *ice, in se200pci_WM8776_set_output_volume()
249 static void se200pci_WM8776_set_input_volume(struct snd_ice1712 *ice, in se200pci_WM8776_set_input_volume()
260 static void se200pci_WM8776_set_input_selector(struct snd_ice1712 *ice, in se200pci_WM8776_set_input_selector()
[all …]
Daureon.c112 static void aureon_pca9554_write(struct snd_ice1712 *ice, unsigned char reg, in aureon_pca9554_write()
220 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_get() local
229 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_put() local
249 static void aureon_ac97_write(struct snd_ice1712 *ice, unsigned short reg, in aureon_ac97_write()
303 static unsigned short aureon_ac97_read(struct snd_ice1712 *ice, unsigned short reg) in aureon_ac97_read()
312 static int aureon_ac97_init(struct snd_ice1712 *ice) in aureon_ac97_init()
378 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_get() local
394 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_put() local
422 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_get() local
435 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_put() local
[all …]
Dhoontech.c43 static void __devinit snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) in snd_ice1712_stdsp24_gpio_write()
56 static void __devinit snd_ice1712_stdsp24_darear(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_darear()
65 static void __devinit snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_mute()
74 static void __devinit snd_ice1712_stdsp24_insel(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_insel()
83 static void __devinit snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, in… in snd_ice1712_stdsp24_box_channel()
133 static void __devinit snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) in snd_ice1712_stdsp24_box_midi()
161 static void __devinit snd_ice1712_stdsp24_midi2(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_midi2()
170 static int __devinit snd_ice1712_hoontech_init(struct snd_ice1712 *ice) in snd_ice1712_hoontech_init()
259 struct snd_ice1712 *ice = ak->private_data[0]; in stdsp24_ak4524_lock() local
270 static int __devinit snd_ice1712_value_init(struct snd_ice1712 *ice) in snd_ice1712_value_init()
[all …]
Dprodigy_hifi.c128 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
138 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
145 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
157 static void set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) in set_gpio_bit()
171 static void wm8766_spi_send_word(struct snd_ice1712 *ice, unsigned int data) in wm8766_spi_send_word()
185 static void wm8766_spi_write(struct snd_ice1712 *ice, unsigned int reg, in wm8766_spi_write()
211 static void ak4396_send_word(struct snd_ice1712 *ice, unsigned int data) in ak4396_send_word()
225 static void ak4396_write(struct snd_ice1712 *ice, unsigned int reg, in ak4396_write()
269 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4396_dac_vol_get() local
281 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4396_dac_vol_put() local
[all …]
Drevo.c41 static void revo_i2s_mclk_changed(struct snd_ice1712 *ice) in revo_i2s_mclk_changed()
97 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_start() local
103 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_stop() local
109 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_direction() local
126 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_setlines() local
141 struct snd_ice1712 *ice = bus->private_data; in revo_i2c_getdata() local
158 static int revo51_i2c_init(struct snd_ice1712 *ice, in revo51_i2c_init()
325 struct snd_ice1712 *ice = ak->private_data[0]; in ap192_set_rate_val() local
378 static void write_data(struct snd_ice1712 *ice, unsigned int gpio, in write_data()
400 static unsigned char read_data(struct snd_ice1712 *ice, unsigned int gpio, in read_data()
[all …]
Dwtm.c43 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, in stac9460_put()
49 static inline unsigned char stac9460_get(struct snd_ice1712 *ice, int reg) in stac9460_get()
57 static inline void stac9460_2_put(struct snd_ice1712 *ice, int reg, in stac9460_2_put()
63 static inline unsigned char stac9460_2_get(struct snd_ice1712 *ice, int reg) in stac9460_2_get()
77 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get() local
99 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put() local
150 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get() local
172 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put() local
217 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get() local
239 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_put() local
[all …]
Dphase.c124 static int __devinit phase22_init(struct snd_ice1712 *ice) in phase22_init()
161 static int __devinit phase22_add_controls(struct snd_ice1712 *ice) in phase22_add_controls()
212 static void phase28_spi_write(struct snd_ice1712 *ice, unsigned int cs, in phase28_spi_write()
254 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get()
264 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache()
272 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
280 static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, in wm_set_vol()
303 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_get() local
315 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_put() local
346 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_master_vol_get() local
[all …]
Dquartet.c278 struct snd_ice1712 *ice = ak->private_data[0]; in qtet_akm_write() local
409 static void reg_write(struct snd_ice1712 *ice, unsigned int reg, in reg_write()
450 static unsigned int get_scr(struct snd_ice1712 *ice) in get_scr()
456 static unsigned int get_mcr(struct snd_ice1712 *ice) in get_mcr()
462 static unsigned int get_cpld(struct snd_ice1712 *ice) in get_cpld()
468 static void set_scr(struct snd_ice1712 *ice, unsigned int val) in set_scr()
475 static void set_mcr(struct snd_ice1712 *ice, unsigned int val) in set_mcr()
482 static void set_cpld(struct snd_ice1712 *ice, unsigned int val) in set_cpld()
492 struct snd_ice1712 *ice = entry->private_data; in proc_regs_read() local
503 static void proc_init(struct snd_ice1712 *ice) in proc_init()
[all …]
Dak4xxx.c39 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_lock() local
46 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_unlock() local
61 struct snd_ice1712 *ice = ak->private_data[0]; in snd_ice1712_akm4xxx_write() local
126 const struct snd_ak4xxx_private *_priv, struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_init()
152 void snd_ice1712_akm4xxx_free(struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_free()
167 int snd_ice1712_akm4xxx_build_controls(struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_build_controls()
Djuli.c181 static void juli_spdif_in_open(struct snd_ice1712 *ice, in juli_spdif_in_open()
213 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_write() local
227 struct snd_ice1712 *ice = ak->private_data[0]; in juli_akm_set_rate_val() local
307 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in juli_mute_get() local
322 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in juli_mute_put() local
450 static int __devinit juli_add_controls(struct snd_ice1712 *ice) in juli_add_controls()
490 static int juli_resume(struct snd_ice1712 *ice) in juli_resume()
501 static int juli_suspend(struct snd_ice1712 *ice) in juli_suspend()
514 static inline int juli_is_spdif_master(struct snd_ice1712 *ice) in juli_is_spdif_master()
519 static unsigned int juli_get_rate(struct snd_ice1712 *ice) in juli_get_rate()
[all …]
Damp.c34 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put()
41 static int __devinit snd_vt1724_amp_init(struct snd_ice1712 *ice) in snd_vt1724_amp_init()
69 static int __devinit snd_vt1724_amp_add_controls(struct snd_ice1712 *ice) in snd_vt1724_amp_add_controls()
Dvt1720_mobo.c35 static int __devinit k8x800_init(struct snd_ice1712 *ice) in k8x800_init()
49 static int __devinit k8x800_add_controls(struct snd_ice1712 *ice) in k8x800_add_controls()
Dmaya44.c84 struct snd_ice1712 *ice; member
91 static void wm8776_write(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write()
107 static int wm8776_write_bits(struct snd_ice1712 *ice, struct snd_wm8776 *wm, in wm8776_write_bits()
298 static int maya_set_gpio_bits(struct snd_ice1712 *ice, unsigned int mask, in maya_set_gpio_bits()
548 static int __devinit maya44_add_controls(struct snd_ice1712 *ice) in maya44_add_controls()
565 static void __devinit wm8776_init(struct snd_ice1712 *ice, in wm8776_init()
618 static void set_rate(struct snd_ice1712 *ice, unsigned int rate) in set_rate()
703 static int __devinit maya44_init(struct snd_ice1712 *ice) in maya44_init()
Dice1712.h40 #define ICEREG(ice, x) ((ice)->port + ICE1712_REG_##x) argument
114 #define ICEDS(ice, x) ((ice)->dmapath_port + ICE1712_DS_##x) argument
145 #define ICEMT(ice, x) ((ice)->profi_port + ICE1712_MT_##x) argument
257 #define ice_has_con_ac97(ice) (!((ice)->eeprom.data[ICE_EEP1_CODEC] & ICE1712_CFG_NO_CON_AC97)) argument
402 static inline void snd_ice1712_gpio_set_dir(struct snd_ice1712 *ice, unsigned int bits) in snd_ice1712_gpio_set_dir()
407 static inline unsigned int snd_ice1712_gpio_get_dir(struct snd_ice1712 *ice) in snd_ice1712_gpio_get_dir()
412 static inline void snd_ice1712_gpio_set_mask(struct snd_ice1712 *ice, unsigned int bits) in snd_ice1712_gpio_set_mask()
417 static inline void snd_ice1712_gpio_write(struct snd_ice1712 *ice, unsigned int val) in snd_ice1712_gpio_write()
422 static inline unsigned int snd_ice1712_gpio_read(struct snd_ice1712 *ice) in snd_ice1712_gpio_read()
432 static inline void snd_ice1712_save_gpio_status(struct snd_ice1712 *ice) in snd_ice1712_save_gpio_status()
[all …]
Denvy24ht.h53 #define ICEREG1724(ice, x) ((ice)->port + VT1724_REG_##x) argument
130 #define ICEMT1724(ice, x) ((ice)->profi_port + VT1724_MT_##x) argument