/linux-6.12.1/sound/pci/ac97/ |
D | ac97_patch.c | 28 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() 52 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, un… in ac97_update_bits_page() 78 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_get() local 86 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put() local 107 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get() local 115 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put() local 169 static inline int is_surround_on(struct snd_ac97 *ac97) in is_surround_on() 174 static inline int is_clfe_on(struct snd_ac97 *ac97) in is_clfe_on() 180 static inline int is_shared_surrout(struct snd_ac97 *ac97) in is_shared_surrout() [all …]
|
D | ac97_codec.c | 196 #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 …]
|
D | ac97_proc.c | 22 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()
|
D | ac97_pcm.c | 159 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate() 243 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate) in snd_ac97_set_rate() 307 static unsigned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *… in get_pslots() 382 static unsigned short get_cslots(struct snd_ac97 *ac97) in get_cslots()
|
/linux-6.12.1/sound/soc/tegra/ |
D | tegra20_ac97.c | 36 static void tegra20_ac97_codec_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_reset() 62 static void tegra20_ac97_codec_warm_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_warm_reset() 141 static inline void tegra20_ac97_start_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_start_playback() 154 static inline void tegra20_ac97_stop_playback(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_playback() 163 static inline void tegra20_ac97_start_capture(struct tegra20_ac97 *ac97) in tegra20_ac97_start_capture() 170 static inline void tegra20_ac97_stop_capture(struct tegra20_ac97 *ac97) in tegra20_ac97_stop_capture() 179 struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); in tegra20_ac97_trigger() local 207 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 430 struct tegra20_ac97 *ac97 = dev_get_drvdata(&pdev->dev); in tegra20_ac97_platform_remove() local
|
/linux-6.12.1/sound/ac97/ |
D | snd_ac97_compat.c | 20 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()
|
/linux-6.12.1/sound/soc/ |
D | soc-ac97.c | 125 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()
|
/linux-6.12.1/sound/pci/cs5535audio/ |
D | cs5535audio_olpc.c | 24 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()
|
D | cs5535audio.h | 87 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()
|
D | cs5535audio.c | 121 static void snd_cs5535audio_ac97_codec_write(struct snd_ac97 *ac97, in snd_cs5535audio_ac97_codec_write() 128 static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, in snd_cs5535audio_ac97_codec_read() 139 struct snd_ac97_template ac97; in snd_cs5535audio_mixer() local
|
/linux-6.12.1/drivers/base/regmap/ |
D | regmap-ac97.c | 47 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()
|
/linux-6.12.1/sound/soc/codecs/ |
D | ac97.c | 36 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
|
D | ad1980.c | 206 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
|
D | stac9766.c | 218 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in stac9766_component_resume() local 273 struct snd_ac97 *ac97; in stac9766_component_probe() local 299 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in stac9766_component_remove() local
|
/linux-6.12.1/sound/soc/fsl/ |
D | mpc5200_psc_ac97.c | 29 static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in psc_ac97_read() 73 static void psc_ac97_write(struct snd_ac97 *ac97, in psc_ac97_write() 95 static void psc_ac97_warm_reset(struct snd_ac97 *ac97) in psc_ac97_warm_reset() 108 static void psc_ac97_cold_reset(struct snd_ac97 *ac97) in psc_ac97_cold_reset()
|
/linux-6.12.1/sound/soc/au1x/ |
D | psc-ac97.c | 71 static unsigned short au1xpsc_ac97_read(struct snd_ac97 *ac97, in au1xpsc_ac97_read() 112 static void au1xpsc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in au1xpsc_ac97_write() 144 static void au1xpsc_ac97_warm_reset(struct snd_ac97 *ac97) in au1xpsc_ac97_warm_reset() 155 static void au1xpsc_ac97_cold_reset(struct snd_ac97 *ac97) in au1xpsc_ac97_cold_reset()
|
D | ac97c.c | 83 static unsigned short au1xac97c_ac97_read(struct snd_ac97 *ac97, in au1xac97c_ac97_read() 125 static void au1xac97c_ac97_write(struct snd_ac97 *ac97, unsigned short r, in au1xac97c_ac97_write() 155 static void au1xac97c_ac97_warm_reset(struct snd_ac97 *ac97) in au1xac97c_ac97_warm_reset() 165 static void au1xac97c_ac97_cold_reset(struct snd_ac97 *ac97) in au1xac97c_ac97_cold_reset()
|
/linux-6.12.1/sound/ |
D | ac97_bus.c | 26 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id() 55 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset()
|
/linux-6.12.1/sound/arm/ |
D | pxa2xx-ac97.c | 26 static void pxa2xx_ac97_legacy_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_legacy_reset() 34 static unsigned short pxa2xx_ac97_legacy_read(struct snd_ac97 *ac97, in pxa2xx_ac97_legacy_read() 46 static void pxa2xx_ac97_legacy_write(struct snd_ac97 *ac97, in pxa2xx_ac97_legacy_write()
|
D | aaci.c | 37 static void aaci_ac97_select_codec(struct aaci *aaci, struct snd_ac97 *ac97) in aaci_ac97_select_codec() 66 static void aaci_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in aaci_ac97_write() 107 static unsigned short aaci_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in aaci_ac97_read() 816 struct snd_ac97 *ac97; in aaci_probe_ac97() local
|
/linux-6.12.1/sound/soc/sh/ |
D | hac.c | 162 static void hac_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in hac_ac97_write() 190 static unsigned short hac_ac97_read(struct snd_ac97 *ac97, in hac_ac97_read() 198 static void hac_ac97_warmrst(struct snd_ac97 *ac97) in hac_ac97_warmrst() 216 static void hac_ac97_coldrst(struct snd_ac97 *ac97) in hac_ac97_coldrst()
|
/linux-6.12.1/include/sound/ |
D | ac97_codec.h | 290 static inline int ac97_is_audio(struct snd_ac97 * ac97) in ac97_is_audio() 294 static inline int ac97_is_modem(struct snd_ac97 * ac97) in ac97_is_modem() 298 static inline int ac97_is_rev22(struct snd_ac97 * ac97) in ac97_is_rev22() 302 static inline int ac97_can_amap(struct snd_ac97 * ac97) in ac97_can_amap() 306 static inline int ac97_can_spdif(struct snd_ac97 * ac97) in ac97_can_spdif() 329 static inline int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, in snd_ac97_update_power() 339 static inline void snd_ac97_suspend(struct snd_ac97 *ac97) {} in snd_ac97_suspend() 340 static inline void snd_ac97_resume(struct snd_ac97 *ac97) {} in snd_ac97_resume() 416 static inline void snd_ac97_dev_add_pdata(struct snd_ac97 *ac97, void *data) in snd_ac97_dev_add_pdata()
|
/linux-6.12.1/sound/pci/ |
D | ad1889.c | 81 struct snd_ac97 *ac97; member 228 snd_ad1889_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in snd_ad1889_ac97_read() 235 snd_ad1889_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) in snd_ad1889_ac97_write() 747 struct snd_ac97_template ac97; in snd_ad1889_ac97_init() local
|
D | als300.c | 111 struct snd_ac97 *ac97; member 241 static unsigned short snd_als300_ac97_read(struct snd_ac97 *ac97, in snd_als300_ac97_read() 262 static void snd_als300_ac97_write(struct snd_ac97 *ac97, in snd_als300_ac97_write() 279 struct snd_ac97_template ac97; in snd_als300_ac97() local
|
/linux-6.12.1/arch/powerpc/boot/dts/ |
D | mpc5121ads.dts | 148 ac97: psc@11500 { label
|