Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-6.6/sound/pci/ac97/
Dac97_patch.c28 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, in… in patch_build_controls()
41 static void reset_tlv(struct snd_ac97 *ac97, const char *name, in reset_tlv()
55 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, un… in ac97_update_bits_page()
81 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_get() local
89 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put() local
110 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get() local
118 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put() local
172 static inline int is_surround_on(struct snd_ac97 *ac97) in is_surround_on()
177 static inline int is_clfe_on(struct snd_ac97 *ac97) in is_clfe_on()
183 static inline int is_shared_surrout(struct snd_ac97 *ac97) in is_shared_surrout()
[all …]
Dac97_codec.c196 #define ac97_is_power_save_mode(ac97) \ argument
199 #define ac97_is_power_save_mode(ac97) 0 argument
202 #define ac97_err(ac97, fmt, args...) \ argument
204 #define ac97_warn(ac97, fmt, args...) \ argument
206 #define ac97_dbg(ac97, fmt, args...) \ argument
213 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_valid_reg()
271 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write()
296 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read()
304 static inline unsigned short snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read_cache()
325 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write_cache()
[all …]
Dac97_proc.c22 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) in snd_ac97_proc_read_functions()
92 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subi… in snd_ac97_proc_read_main()
330 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_read() local
365 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_write() local
380 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()
393 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_read() local
414 void snd_ac97_proc_init(struct snd_ac97 * ac97) in snd_ac97_proc_init()
442 void snd_ac97_proc_done(struct snd_ac97 * ac97) in snd_ac97_proc_done()
/kernel/linux/linux-5.10/sound/pci/ac97/
Dac97_patch.c28 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, in… in patch_build_controls()
39 static void reset_tlv(struct snd_ac97 *ac97, const char *name, in reset_tlv()
53 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, un… in ac97_update_bits_page()
79 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_get() local
87 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put() local
108 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get() local
116 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put() local
170 static inline int is_surround_on(struct snd_ac97 *ac97) in is_surround_on()
175 static inline int is_clfe_on(struct snd_ac97 *ac97) in is_clfe_on()
181 static inline int is_shared_surrout(struct snd_ac97 *ac97) in is_shared_surrout()
[all …]
Dac97_codec.c197 #define ac97_is_power_save_mode(ac97) \ argument
200 #define ac97_is_power_save_mode(ac97) 0 argument
203 #define ac97_err(ac97, fmt, args...) \ argument
205 #define ac97_warn(ac97, fmt, args...) \ argument
207 #define ac97_dbg(ac97, fmt, args...) \ argument
214 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_valid_reg()
272 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write()
297 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read()
305 static inline unsigned short snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read_cache()
326 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write_cache()
[all …]
Dac97_proc.c22 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) in snd_ac97_proc_read_functions()
92 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subi… in snd_ac97_proc_read_main()
330 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_read() local
365 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_write() local
380 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()
393 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_read() local
414 void snd_ac97_proc_init(struct snd_ac97 * ac97) in snd_ac97_proc_init()
442 void snd_ac97_proc_done(struct snd_ac97 * ac97) in snd_ac97_proc_done()
/kernel/linux/linux-6.6/sound/soc/tegra/
Dtegra20_ac97.c37 static void tegra20_ac97_codec_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_reset()
59 static void tegra20_ac97_codec_warm_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_warm_reset()
142 static inline void tegra20_ac97_start_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_start_playback()
155 static inline void tegra20_ac97_stop_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_playback()
164 static inline void tegra20_ac97_start_capture(struct tegra20_ac97 *ac97) in tegra20_ac97_start_capture()
171 static inline void tegra20_ac97_stop_capture(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_capture()
180 struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); in tegra20_ac97_trigger() local
208 struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); in tegra20_ac97_probe() local
304 struct tegra20_ac97 *ac97; in tegra20_ac97_platform_probe() local
433 struct tegra20_ac97 *ac97 = dev_get_drvdata(&pdev->dev); in tegra20_ac97_platform_remove() local
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra20_ac97.c37 static void tegra20_ac97_codec_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_reset()
59 static void tegra20_ac97_codec_warm_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_warm_reset()
142 static inline void tegra20_ac97_start_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_start_playback()
155 static inline void tegra20_ac97_stop_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_playback()
164 static inline void tegra20_ac97_start_capture(struct tegra20_ac97 *ac97) in tegra20_ac97_start_capture()
171 static inline void tegra20_ac97_stop_capture(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_capture()
180 struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); in tegra20_ac97_trigger() local
212 struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); in tegra20_ac97_probe() local
303 struct tegra20_ac97 *ac97; in tegra20_ac97_platform_probe() local
410 struct tegra20_ac97 *ac97 = dev_get_drvdata(&pdev->dev); in tegra20_ac97_platform_remove() local
/kernel/linux/linux-5.10/sound/ac97/
Dsnd_ac97_compat.c20 static void compat_ac97_reset(struct snd_ac97 *ac97) in compat_ac97_reset()
29 static void compat_ac97_warm_reset(struct snd_ac97 *ac97) in compat_ac97_warm_reset()
38 static void compat_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in compat_ac97_write()
47 static unsigned short compat_ac97_read(struct snd_ac97 *ac97, in compat_ac97_read()
69 struct snd_ac97 *ac97; in snd_ac97_compat_alloc() local
92 void snd_ac97_compat_release(struct snd_ac97 *ac97) in snd_ac97_compat_release()
98 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset()
/kernel/linux/linux-6.6/sound/ac97/
Dsnd_ac97_compat.c20 static void compat_ac97_reset(struct snd_ac97 *ac97) in compat_ac97_reset()
29 static void compat_ac97_warm_reset(struct snd_ac97 *ac97) in compat_ac97_warm_reset()
38 static void compat_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in compat_ac97_write()
47 static unsigned short compat_ac97_read(struct snd_ac97 *ac97, in compat_ac97_read()
69 struct snd_ac97 *ac97; in snd_ac97_compat_alloc() local
92 void snd_ac97_compat_release(struct snd_ac97 *ac97) in snd_ac97_compat_release()
98 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset()
/kernel/linux/linux-5.10/include/linux/
Ducb1400.h85 struct snd_ac97 *ac97; member
95 struct snd_ac97 *ac97; member
112 static inline u16 ucb1400_reg_read(struct snd_ac97 *ac97, u16 reg) in ucb1400_reg_read()
117 static inline void ucb1400_reg_write(struct snd_ac97 *ac97, u16 reg, u16 val) in ucb1400_reg_write()
122 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_value()
127 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_value()
135 static inline u16 ucb1400_gpio_get_direction(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_direction()
140 static inline void ucb1400_gpio_set_direction(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_direction()
148 static inline void ucb1400_adc_enable(struct snd_ac97 *ac97) in ucb1400_adc_enable()
153 static inline void ucb1400_adc_disable(struct snd_ac97 *ac97) in ucb1400_adc_disable()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-ac97.c128 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio()
150 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio()
155 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio()
161 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio()
178 struct snd_ac97 *ac97; in snd_soc_alloc_ac97_component() local
218 struct snd_ac97 *ac97; in snd_soc_new_ac97_component() local
256 void snd_soc_free_ac97_component(struct snd_ac97 *ac97) in snd_soc_free_ac97_component()
267 static void snd_soc_ac97_warm_reset(struct snd_ac97 *ac97) in snd_soc_ac97_warm_reset()
283 static void snd_soc_ac97_reset(struct snd_ac97 *ac97) in snd_soc_ac97_reset()
/kernel/linux/linux-6.6/sound/soc/
Dsoc-ac97.c125 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio()
147 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio()
152 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio()
158 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio()
175 struct snd_ac97 *ac97; in snd_soc_alloc_ac97_component() local
215 struct snd_ac97 *ac97; in snd_soc_new_ac97_component() local
253 void snd_soc_free_ac97_component(struct snd_ac97 *ac97) in snd_soc_free_ac97_component()
264 static void snd_soc_ac97_warm_reset(struct snd_ac97 *ac97) in snd_soc_ac97_warm_reset()
280 static void snd_soc_ac97_reset(struct snd_ac97 *ac97) in snd_soc_ac97_reset()
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap-ac97.c47 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_read() local
57 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_write() local
69 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97, in __regmap_init_ac97()
79 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97, in __devm_regmap_init_ac97()
/kernel/linux/linux-6.6/drivers/base/regmap/
Dregmap-ac97.c47 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_read() local
57 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_write() local
69 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97, in __regmap_init_ac97()
79 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97, in __devm_regmap_init_ac97()
/kernel/linux/linux-5.10/sound/pci/cs5535audio/
Dcs5535audio_olpc.c24 void olpc_analog_input(struct snd_ac97 *ac97, int on) in olpc_analog_input()
47 void olpc_mic_bias(struct snd_ac97 *ac97, int on) in olpc_mic_bias()
98 struct snd_ac97 *ac97 = cs5535au->ac97; in olpc_mic_get() local
134 struct snd_ac97_template *ac97) in olpc_prequirks()
144 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()
/kernel/linux/linux-6.6/sound/pci/cs5535audio/
Dcs5535audio_olpc.c24 void olpc_analog_input(struct snd_ac97 *ac97, int on) in olpc_analog_input()
47 void olpc_mic_bias(struct snd_ac97 *ac97, int on) in olpc_mic_bias()
98 struct snd_ac97 *ac97 = cs5535au->ac97; in olpc_mic_get() local
134 struct snd_ac97_template *ac97) in olpc_prequirks()
144 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()
/kernel/linux/linux-6.6/sound/soc/codecs/
Dac97.c36 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_prepare() local
66 struct snd_ac97 *ac97; in ac97_soc_probe() local
90 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_suspend() local
100 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_resume() local
Dad1980.c206 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ad1980_reset() local
233 struct snd_ac97 *ac97; in ad1980_soc_probe() local
287 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ad1980_soc_remove() local
/kernel/linux/linux-5.10/sound/soc/codecs/
Dac97.c36 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_prepare() local
66 struct snd_ac97 *ac97; in ac97_soc_probe() local
90 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_suspend() local
100 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_resume() local
Dad1980.c206 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ad1980_reset() local
233 struct snd_ac97 *ac97; in ad1980_soc_probe() local
287 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ad1980_soc_remove() local
/kernel/linux/linux-5.10/sound/soc/fsl/
Dmpc5200_psc_ac97.c30 static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in psc_ac97_read()
74 static void psc_ac97_write(struct snd_ac97 *ac97, in psc_ac97_write()
96 static void psc_ac97_warm_reset(struct snd_ac97 *ac97) in psc_ac97_warm_reset()
109 static void psc_ac97_cold_reset(struct snd_ac97 *ac97) in psc_ac97_cold_reset()
/kernel/linux/linux-6.6/sound/soc/fsl/
Dmpc5200_psc_ac97.c30 static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in psc_ac97_read()
74 static void psc_ac97_write(struct snd_ac97 *ac97, in psc_ac97_write()
96 static void psc_ac97_warm_reset(struct snd_ac97 *ac97) in psc_ac97_warm_reset()
109 static void psc_ac97_cold_reset(struct snd_ac97 *ac97) in psc_ac97_cold_reset()

1234567