Home
last modified time | relevance | path

Searched defs:ac97 (Results 1 – 25 of 67) sorted by relevance

123

/linux-2.6.39/sound/pci/ac97/
Dac97_patch.c42 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, in… in patch_build_controls()
53 static void reset_tlv(struct snd_ac97 *ac97, const char *name, in reset_tlv()
67 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, un… in ac97_update_bits_page()
104 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_get() local
112 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put() local
133 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get() local
141 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put() local
195 static inline int is_surround_on(struct snd_ac97 *ac97) in is_surround_on()
200 static inline int is_clfe_on(struct snd_ac97 *ac97) in is_clfe_on()
206 static inline int is_shared_surrout(struct snd_ac97 *ac97) in is_shared_surrout()
[all …]
Dac97_codec.c210 #define ac97_is_power_save_mode(ac97) \ argument
213 #define ac97_is_power_save_mode(ac97) 0 argument
221 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_valid_reg()
279 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write()
304 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read()
312 static inline unsigned short snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read_cache()
333 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write_cache()
358 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_update()
390 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned s… in snd_ac97_update_bits()
405 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg, in snd_ac97_update_bits_nolock()
[all …]
Dac97_proc.c37 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) in snd_ac97_proc_read_functions()
107 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subi… in snd_ac97_proc_read_main()
345 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_read() local
380 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_write() local
395 static void snd_ac97_proc_regs_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int… in snd_ac97_proc_regs_read_main()
408 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_read() local
429 void snd_ac97_proc_init(struct snd_ac97 * ac97) in snd_ac97_proc_init()
462 void snd_ac97_proc_done(struct snd_ac97 * ac97) in snd_ac97_proc_done()
Dac97_pcm.c173 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate()
257 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate) in snd_ac97_set_rate()
321 static unsigned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *… in get_pslots()
396 static unsigned short get_cslots(struct snd_ac97 *ac97) in get_cslots()
/linux-2.6.39/include/linux/
Ducb1400.h94 struct snd_ac97 *ac97; member
105 struct snd_ac97 *ac97; member
117 static inline u16 ucb1400_reg_read(struct snd_ac97 *ac97, u16 reg) in ucb1400_reg_read()
122 static inline void ucb1400_reg_write(struct snd_ac97 *ac97, u16 reg, u16 val) in ucb1400_reg_write()
127 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_value()
132 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_value()
140 static inline u16 ucb1400_gpio_get_direction(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_direction()
145 static inline void ucb1400_gpio_set_direction(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_direction()
153 static inline void ucb1400_adc_enable(struct snd_ac97 *ac97) in ucb1400_adc_enable()
158 static inline void ucb1400_adc_disable(struct snd_ac97 *ac97) in ucb1400_adc_disable()
/linux-2.6.39/sound/pci/cs5535audio/
Dcs5535audio_olpc.c28 void olpc_analog_input(struct snd_ac97 *ac97, int on) in olpc_analog_input()
50 void olpc_mic_bias(struct snd_ac97 *ac97, int on) in olpc_mic_bias()
101 struct snd_ac97 *ac97 = cs5535au->ac97; in olpc_mic_get() local
137 struct snd_ac97_template *ac97) in olpc_prequirks()
147 int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
Dcs5535audio.h86 struct snd_ac97 *ac97; member
110 static inline void olpc_capture_open(struct snd_ac97 *ac97) in olpc_capture_open()
118 static inline void olpc_capture_close(struct snd_ac97 *ac97) in olpc_capture_close()
127 struct snd_ac97_template *ac97) { } in olpc_prequirks()
128 static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
133 static inline void olpc_analog_input(struct snd_ac97 *ac97, int on) { } in olpc_analog_input()
134 static inline void olpc_mic_bias(struct snd_ac97 *ac97, int on) { } in olpc_mic_bias()
135 static inline void olpc_capture_open(struct snd_ac97 *ac97) { } in olpc_capture_open()
136 static inline void olpc_capture_close(struct snd_ac97 *ac97) { } in olpc_capture_close()
Dcs5535audio.c133 static void snd_cs5535audio_ac97_codec_write(struct snd_ac97 *ac97, in snd_cs5535audio_ac97_codec_write()
140 static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, in snd_cs5535audio_ac97_codec_read()
151 struct snd_ac97_template ac97; in snd_cs5535audio_mixer() local
/linux-2.6.39/sound/arm/
Dpxa2xx-ac97-lib.c46 unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in pxa2xx_ac97_read()
86 void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in pxa2xx_ac97_write()
200 bool pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_try_warm_reset()
232 bool pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_try_cold_reset()
266 void pxa2xx_ac97_finish_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_finish_reset()
/linux-2.6.39/sound/soc/fsl/
Dmpc5200_psc_ac97.c34 static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in psc_ac97_read()
78 static void psc_ac97_write(struct snd_ac97 *ac97, in psc_ac97_write()
100 static void psc_ac97_warm_reset(struct snd_ac97 *ac97) in psc_ac97_warm_reset()
113 static void psc_ac97_cold_reset(struct snd_ac97 *ac97) in psc_ac97_cold_reset()
278 struct snd_ac97 ac97; in psc_ac97_of_probe() local
/linux-2.6.39/sound/soc/blackfin/
Dbf5xx-ac97.c141 static void enqueue_cmd(struct snd_ac97 *ac97, __u16 addr, __u16 data) in enqueue_cmd()
161 static unsigned short bf5xx_ac97_read(struct snd_ac97 *ac97, in bf5xx_ac97_read()
185 void bf5xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in bf5xx_ac97_write()
204 static void bf5xx_ac97_warm_reset(struct snd_ac97 *ac97) in bf5xx_ac97_warm_reset()
230 static void bf5xx_ac97_cold_reset(struct snd_ac97 *ac97) in bf5xx_ac97_cold_reset()
/linux-2.6.39/sound/soc/nuc900/
Dnuc900-ac97.c43 static unsigned short nuc900_ac97_read(struct snd_ac97 *ac97, in nuc900_ac97_read()
96 static void nuc900_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in nuc900_ac97_write()
137 static void nuc900_ac97_warm_reset(struct snd_ac97 *ac97) in nuc900_ac97_warm_reset()
158 static void nuc900_ac97_cold_reset(struct snd_ac97 *ac97) in nuc900_ac97_cold_reset()
/linux-2.6.39/sound/soc/samsung/
Dac97.c68 static void s3c_ac97_activate(struct snd_ac97 *ac97) in s3c_ac97_activate()
95 static unsigned short s3c_ac97_read(struct snd_ac97 *ac97, in s3c_ac97_read()
133 static void s3c_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in s3c_ac97_write()
164 static void s3c_ac97_cold_reset(struct snd_ac97 *ac97) in s3c_ac97_cold_reset()
175 static void s3c_ac97_warm_reset(struct snd_ac97 *ac97) in s3c_ac97_warm_reset()
/linux-2.6.39/sound/soc/txx9/
Dtxx9aclc-ac97.c48 static unsigned short txx9aclc_ac97_read(struct snd_ac97 *ac97, in txx9aclc_ac97_read()
81 static void txx9aclc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in txx9aclc_ac97_write()
98 static void txx9aclc_ac97_cold_reset(struct snd_ac97 *ac97) in txx9aclc_ac97_cold_reset()
/linux-2.6.39/drivers/input/touchscreen/
Ducb1400_ts.c38 static inline void ucb1400_ts_mode_int(struct snd_ac97 *ac97) in ucb1400_ts_mode_int()
130 static inline int ucb1400_ts_pen_up(struct snd_ac97 *ac97) in ucb1400_ts_pen_up()
137 static inline void ucb1400_ts_irq_enable(struct snd_ac97 *ac97) in ucb1400_ts_irq_enable()
144 static inline void ucb1400_ts_irq_disable(struct snd_ac97 *ac97) in ucb1400_ts_irq_disable()
/linux-2.6.39/drivers/mfd/
Ducb1400_core.c28 unsigned int ucb1400_adc_read(struct snd_ac97 *ac97, u16 adc_channel, in ucb1400_adc_read()
54 struct snd_ac97 *ac97; in ucb1400_core_probe() local
/linux-2.6.39/sound/soc/au1x/
Dpsc-ac97.c75 static unsigned short au1xpsc_ac97_read(struct snd_ac97 *ac97, in au1xpsc_ac97_read()
116 static void au1xpsc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in au1xpsc_ac97_write()
148 static void au1xpsc_ac97_warm_reset(struct snd_ac97 *ac97) in au1xpsc_ac97_warm_reset()
159 static void au1xpsc_ac97_cold_reset(struct snd_ac97 *ac97) in au1xpsc_ac97_cold_reset()
/linux-2.6.39/sound/soc/sh/
Dhac.c164 static void hac_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in hac_ac97_write()
192 static unsigned short hac_ac97_read(struct snd_ac97 *ac97, in hac_ac97_read()
200 static void hac_ac97_warmrst(struct snd_ac97 *ac97) in hac_ac97_warmrst()
218 static void hac_ac97_coldrst(struct snd_ac97 *ac97) in hac_ac97_coldrst()
/linux-2.6.39/sound/soc/imx/
Dimx-ssi.c525 static void imx_ssi_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in imx_ssi_ac97_write()
548 static unsigned short imx_ssi_ac97_read(struct snd_ac97 *ac97, in imx_ssi_ac97_read()
570 static void imx_ssi_ac97_reset(struct snd_ac97 *ac97) in imx_ssi_ac97_reset()
578 static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97) in imx_ssi_ac97_warm_reset()
/linux-2.6.39/sound/soc/ep93xx/
Dep93xx-ac97.c129 static unsigned short ep93xx_ac97_read(struct snd_ac97 *ac97, in ep93xx_ac97_read()
150 static void ep93xx_ac97_write(struct snd_ac97 *ac97, in ep93xx_ac97_write()
172 static void ep93xx_ac97_warm_reset(struct snd_ac97 *ac97) in ep93xx_ac97_warm_reset()
192 static void ep93xx_ac97_cold_reset(struct snd_ac97 *ac97) in ep93xx_ac97_cold_reset()
/linux-2.6.39/arch/arm/mach-imx/
Dmach-pca100.c214 static void pca100_ac97_warm_reset(struct snd_ac97 *ac97) in pca100_ac97_warm_reset()
224 static void pca100_ac97_cold_reset(struct snd_ac97 *ac97) in pca100_ac97_cold_reset()
/linux-2.6.39/sound/pci/au88x0/
Dau88x0_mixer.c16 struct snd_ac97_template ac97; in snd_vortex_mixer() local
/linux-2.6.39/sound/soc/pxa/
Dpxa2xx-ac97.c29 static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_warm_reset()
36 static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_cold_reset()
/linux-2.6.39/arch/arm/mach-mx3/
Dmach-pcm043.c231 static void pcm043_ac97_warm_reset(struct snd_ac97 *ac97) in pcm043_ac97_warm_reset()
254 static void pcm043_ac97_cold_reset(struct snd_ac97 *ac97) in pcm043_ac97_cold_reset()
/linux-2.6.39/sound/mips/
Dau1x00.c96 struct snd_ac97 *ac97; member
493 snd_au1000_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in snd_au1000_ac97_read()
532 snd_au1000_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) in snd_au1000_ac97_write()
559 struct snd_ac97_template ac97; in snd_au1000_ac97_new() local

123