Home
last modified time | relevance | path

Searched refs:snd_ac97 (Results 1 – 25 of 74) sorted by relevance

123

/linux-3.4.99/include/sound/
Dac97_codec.h424 struct snd_ac97;
427 int (*build_3d) (struct snd_ac97 *ac97);
428 int (*build_specific) (struct snd_ac97 *ac97);
429 int (*build_spdif) (struct snd_ac97 *ac97);
430 int (*build_post_spdif) (struct snd_ac97 *ac97);
432 void (*suspend) (struct snd_ac97 *ac97);
433 void (*resume) (struct snd_ac97 *ac97);
435 void (*update_jacks) (struct snd_ac97 *ac97); /* for jack-sharing */
439 void (*reset) (struct snd_ac97 *ac97);
440 void (*warm_reset)(struct snd_ac97 *ac97);
[all …]
Dpxa2xx-lib.h32 extern unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, unsigned short reg);
33 extern void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val);
35 extern bool pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97);
36 extern bool pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97);
37 extern void pxa2xx_ac97_finish_reset(struct snd_ac97 *ac97);
/linux-3.4.99/include/linux/
Ducb1400.h94 struct snd_ac97 *ac97;
101 struct snd_ac97 *ac97;
115 static inline u16 ucb1400_reg_read(struct snd_ac97 *ac97, u16 reg) in ucb1400_reg_read()
120 static inline void ucb1400_reg_write(struct snd_ac97 *ac97, u16 reg, u16 val) in ucb1400_reg_write()
125 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_value()
130 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_value()
138 static inline u16 ucb1400_gpio_get_direction(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_direction()
143 static inline void ucb1400_gpio_set_direction(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_direction()
151 static inline void ucb1400_adc_enable(struct snd_ac97 *ac97) in ucb1400_adc_enable()
156 static inline void ucb1400_adc_disable(struct snd_ac97 *ac97) in ucb1400_adc_disable()
[all …]
/linux-3.4.99/sound/pci/ac97/
Dac97_patch.c33 static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97,
35 static int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name,
42 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()
112 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put()
133 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get()
141 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put()
195 static inline int is_surround_on(struct snd_ac97 *ac97) in is_surround_on()
[all …]
Dac97_patch.h70 struct snd_ac97 * ac97);
77 static int snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit);
78 static int snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name,
80 static int snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src,
82 static int snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1,
84 static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src,
87 static void snd_ac97_restore_status(struct snd_ac97 *ac97);
88 static void snd_ac97_restore_iec958(struct snd_ac97 *ac97);
Dac97_local.h25 void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name,
27 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg,
34 void snd_ac97_proc_init(struct snd_ac97 * ac97);
35 void snd_ac97_proc_done(struct snd_ac97 * ac97);
Dac97_codec.c64 int (*patch)(struct snd_ac97 *ac97);
65 int (*mpatch)(struct snd_ac97 *ac97);
208 static void update_power_regs(struct snd_ac97 *ac97);
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()
[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()
380 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_write()
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()
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.c174 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate()
258 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate) in snd_ac97_set_rate()
322 static unsigned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *… in get_pslots()
397 static unsigned short get_cslots(struct snd_ac97 *ac97) in get_cslots()
456 struct snd_ac97 *codec; in snd_ac97_pcm_assign()
/linux-3.4.99/sound/pci/cs5535audio/
Dcs5535audio.h86 struct snd_ac97 *ac97;
105 int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97);
107 void olpc_analog_input(struct snd_ac97 *ac97, int on);
108 void olpc_mic_bias(struct snd_ac97 *ac97, int on);
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()
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()
[all …]
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()
147 int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
/linux-3.4.99/arch/arm/plat-mxc/include/mach/
Dssi.h4 struct snd_ac97;
16 void (*ac97_reset) (struct snd_ac97 *ac97);
17 void (*ac97_warm_reset)(struct snd_ac97 *ac97);
/linux-3.4.99/sound/arm/
Dpxa2xx-ac97-lib.c49 unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in pxa2xx_ac97_read()
89 void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in pxa2xx_ac97_write()
207 bool pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_try_warm_reset()
239 bool pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_try_cold_reset()
273 void pxa2xx_ac97_finish_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_finish_reset()
/linux-3.4.99/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()
/linux-3.4.99/sound/soc/blackfin/
Dbf5xx-ac97.c100 static void enqueue_cmd(struct snd_ac97 *ac97, __u16 addr, __u16 data) in enqueue_cmd()
121 static unsigned short bf5xx_ac97_read(struct snd_ac97 *ac97, in bf5xx_ac97_read()
146 void bf5xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in bf5xx_ac97_write()
167 static void bf5xx_ac97_warm_reset(struct snd_ac97 *ac97) in bf5xx_ac97_warm_reset()
184 static void bf5xx_ac97_cold_reset(struct snd_ac97 *ac97) in bf5xx_ac97_cold_reset()
/linux-3.4.99/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-3.4.99/sound/soc/au1x/
Dac97c.c82 static unsigned short au1xac97c_ac97_read(struct snd_ac97 *ac97, in au1xac97c_ac97_read()
124 static void au1xac97c_ac97_write(struct snd_ac97 *ac97, unsigned short r, in au1xac97c_ac97_write()
154 static void au1xac97c_ac97_warm_reset(struct snd_ac97 *ac97) in au1xac97c_ac97_warm_reset()
164 static void au1xac97c_ac97_cold_reset(struct snd_ac97 *ac97) in au1xac97c_ac97_cold_reset()
Dpsc-ac97.c62 static inline struct au1xpsc_audio_data *ac97_to_pscdata(struct snd_ac97 *x)
75 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-3.4.99/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-3.4.99/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-3.4.99/sound/soc/samsung/
Dac97.c69 static void s3c_ac97_activate(struct snd_ac97 *ac97) in s3c_ac97_activate()
96 static unsigned short s3c_ac97_read(struct snd_ac97 *ac97, in s3c_ac97_read()
134 static void s3c_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in s3c_ac97_write()
165 static void s3c_ac97_cold_reset(struct snd_ac97 *ac97) in s3c_ac97_cold_reset()
176 static void s3c_ac97_warm_reset(struct snd_ac97 *ac97) in s3c_ac97_warm_reset()
/linux-3.4.99/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()
/linux-3.4.99/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-3.4.99/sound/pci/au88x0/
Dau88x0.h150 struct snd_ac97 *codec;
237 static void vortex_codec_write(struct snd_ac97 * codec, unsigned short addr,
239 static unsigned short vortex_codec_read(struct snd_ac97 * codec, unsigned short addr);
/linux-3.4.99/sound/soc/imx/
Dimx-ssi.h204 void (*ac97_reset) (struct snd_ac97 *ac97);
205 void (*ac97_warm_reset)(struct snd_ac97 *ac97);

123