Home
last modified time | relevance | path

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

123

/sound/pci/ac97/
Dac97_patch.c43 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, in… in patch_build_controls()
54 static void reset_tlv(struct snd_ac97 *ac97, const char *name, in reset_tlv()
68 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, un… in ac97_update_bits_page()
94 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_get() local
102 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put() local
123 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get() local
131 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put() local
185 static inline int is_surround_on(struct snd_ac97 *ac97) in is_surround_on()
190 static inline int is_clfe_on(struct snd_ac97 *ac97) in is_clfe_on()
196 static inline int is_shared_surrout(struct snd_ac97 *ac97) in is_shared_surrout()
[all …]
Dac97_codec.c212 #define ac97_is_power_save_mode(ac97) \ argument
215 #define ac97_is_power_save_mode(ac97) 0 argument
218 #define ac97_err(ac97, fmt, args...) \ argument
220 #define ac97_warn(ac97, fmt, args...) \ argument
222 #define ac97_dbg(ac97, fmt, args...) \ argument
229 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_valid_reg()
287 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write()
312 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read()
320 static inline unsigned short snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read_cache()
341 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write_cache()
[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.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()
/sound/soc/tegra/
Dtegra20_ac97.c46 static void tegra20_ac97_codec_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_reset()
68 static void tegra20_ac97_codec_warm_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_warm_reset()
151 static inline void tegra20_ac97_start_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_start_playback()
164 static inline void tegra20_ac97_stop_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_playback()
173 static inline void tegra20_ac97_start_capture(struct tegra20_ac97 *ac97) in tegra20_ac97_start_capture()
180 static inline void tegra20_ac97_stop_capture(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_capture()
189 struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); in tegra20_ac97_trigger() local
221 struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); in tegra20_ac97_probe() local
313 struct tegra20_ac97 *ac97; in tegra20_ac97_platform_probe() local
420 struct tegra20_ac97 *ac97 = dev_get_drvdata(&pdev->dev); in tegra20_ac97_platform_remove() local
/sound/soc/
Dsoc-ac97.c130 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio()
152 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio()
157 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio()
163 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio()
180 struct snd_ac97 *ac97; in snd_soc_alloc_ac97_codec() local
220 struct snd_ac97 *ac97; in snd_soc_new_ac97_codec() local
258 void snd_soc_free_ac97_codec(struct snd_ac97 *ac97) in snd_soc_free_ac97_codec()
269 static void snd_soc_ac97_warm_reset(struct snd_ac97 *ac97) in snd_soc_ac97_warm_reset()
285 static void snd_soc_ac97_reset(struct snd_ac97 *ac97) in snd_soc_ac97_reset()
/sound/pci/cs5535audio/
Dcs5535audio_olpc.c28 void olpc_analog_input(struct snd_ac97 *ac97, int on) in olpc_analog_input()
51 void olpc_mic_bias(struct snd_ac97 *ac97, int on) in olpc_mic_bias()
102 struct snd_ac97 *ac97 = cs5535au->ac97; in olpc_mic_get() local
138 struct snd_ac97_template *ac97) in olpc_prequirks()
148 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
Dcs5535audio.h87 struct snd_ac97 *ac97; member
108 static inline void olpc_capture_open(struct snd_ac97 *ac97) in olpc_capture_open()
116 static inline void olpc_capture_close(struct snd_ac97 *ac97) in olpc_capture_close()
125 struct snd_ac97_template *ac97) { } in olpc_prequirks()
126 static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
131 static inline void olpc_analog_input(struct snd_ac97 *ac97, int on) { } in olpc_analog_input()
132 static inline void olpc_mic_bias(struct snd_ac97 *ac97, int on) { } in olpc_mic_bias()
133 static inline void olpc_capture_open(struct snd_ac97 *ac97) { } in olpc_capture_open()
134 static inline void olpc_capture_close(struct snd_ac97 *ac97) { } in olpc_capture_close()
Dcs5535audio.c135 static void snd_cs5535audio_ac97_codec_write(struct snd_ac97 *ac97, in snd_cs5535audio_ac97_codec_write()
142 static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, in snd_cs5535audio_ac97_codec_read()
153 struct snd_ac97_template ac97; in snd_cs5535audio_mixer() local
/sound/soc/codecs/
Dac97.c40 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in ac97_prepare() local
70 struct snd_ac97 *ac97; in ac97_soc_probe() local
94 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in ac97_soc_suspend() local
104 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in ac97_soc_resume() local
Dad1980.c210 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in ad1980_reset() local
237 struct snd_ac97 *ac97; in ad1980_soc_probe() local
291 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in ad1980_soc_remove() local
Dwm9705.c295 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in wm9705_soc_resume() local
314 struct snd_ac97 *ac97; in wm9705_soc_probe() local
342 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in wm9705_soc_remove() local
Dstac9766.c222 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in stac9766_codec_resume() local
277 struct snd_ac97 *ac97; in stac9766_codec_probe() local
303 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in stac9766_codec_remove() local
/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()
191 bool pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_try_warm_reset()
228 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()
/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()
/sound/soc/nuc900/
Dnuc900-ac97.c44 static unsigned short nuc900_ac97_read(struct snd_ac97 *ac97, in nuc900_ac97_read()
97 static void nuc900_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in nuc900_ac97_write()
138 static void nuc900_ac97_warm_reset(struct snd_ac97 *ac97) in nuc900_ac97_warm_reset()
159 static void nuc900_ac97_cold_reset(struct snd_ac97 *ac97) in nuc900_ac97_cold_reset()
/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()
Dimx-ssi.c437 static void imx_ssi_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in imx_ssi_ac97_write()
460 static unsigned short imx_ssi_ac97_read(struct snd_ac97 *ac97, in imx_ssi_ac97_read()
482 static void imx_ssi_ac97_reset(struct snd_ac97 *ac97) in imx_ssi_ac97_reset()
492 static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97) in imx_ssi_ac97_warm_reset()
/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()
/sound/
Dac97_bus.c30 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id()
59 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset()
/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()
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()
/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()
/sound/soc/cirrus/
Dep93xx-ac97.c132 static unsigned short ep93xx_ac97_read(struct snd_ac97 *ac97, in ep93xx_ac97_read()
153 static void ep93xx_ac97_write(struct snd_ac97 *ac97, in ep93xx_ac97_write()
175 static void ep93xx_ac97_warm_reset(struct snd_ac97 *ac97) in ep93xx_ac97_warm_reset()
195 static void ep93xx_ac97_cold_reset(struct snd_ac97 *ac97) in ep93xx_ac97_cold_reset()
/sound/soc/pxa/
Dpxa2xx-ac97.c30 static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_warm_reset()
37 static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_cold_reset()

123