/Linux-v4.19/include/sound/ |
D | ac97_codec.h | 173 struct snd_ac97; 178 int (*build_3d) (struct snd_ac97 *ac97); 179 int (*build_specific) (struct snd_ac97 *ac97); 180 int (*build_spdif) (struct snd_ac97 *ac97); 181 int (*build_post_spdif) (struct snd_ac97 *ac97); 183 void (*suspend) (struct snd_ac97 *ac97); 184 void (*resume) (struct snd_ac97 *ac97); 186 void (*update_jacks) (struct snd_ac97 *ac97); /* for jack-sharing */ 190 void (*reset) (struct snd_ac97 *ac97); 191 void (*warm_reset)(struct snd_ac97 *ac97); [all …]
|
/Linux-v4.19/sound/pci/ac97/ |
D | ac97_patch.c | 33 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, 43 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() 102 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put() 123 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get() 131 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put() 185 static inline int is_surround_on(struct snd_ac97 *ac97) in is_surround_on() [all …]
|
D | ac97_patch.h | 70 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);
|
D | ac97_local.h | 25 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);
|
D | ac97_codec.c | 64 int (*patch)(struct snd_ac97 *ac97); 65 int (*mpatch)(struct snd_ac97 *ac97); 210 static void update_power_regs(struct snd_ac97 *ac97); 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() 366 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_update() 398 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned s… in snd_ac97_update_bits() [all …]
|
D | ac97_proc.c | 37 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()
|
/Linux-v4.19/include/linux/ |
D | ucb1400.h | 88 struct snd_ac97 *ac97; 98 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-v4.19/sound/pci/cs5535audio/ |
D | cs5535audio.h | 87 struct snd_ac97 *ac97; 103 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97); 105 void olpc_analog_input(struct snd_ac97 *ac97, int on); 106 void olpc_mic_bias(struct snd_ac97 *ac97, int on); 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() 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() [all …]
|
D | cs5535audio_olpc.c | 28 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() 148 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks()
|
/Linux-v4.19/sound/ac97/ |
D | snd_ac97_compat.c | 23 static void compat_ac97_reset(struct snd_ac97 *ac97) in compat_ac97_reset() 32 static void compat_ac97_warm_reset(struct snd_ac97 *ac97) in compat_ac97_warm_reset() 41 static void compat_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in compat_ac97_write() 50 static unsigned short compat_ac97_read(struct snd_ac97 *ac97, in compat_ac97_read() 70 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev) in snd_ac97_compat_alloc() 72 struct snd_ac97 *ac97; in snd_ac97_compat_alloc() 75 ac97 = kzalloc(sizeof(struct snd_ac97), GFP_KERNEL); in snd_ac97_compat_alloc() 95 void snd_ac97_compat_release(struct snd_ac97 *ac97) in snd_ac97_compat_release() 101 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset()
|
/Linux-v4.19/sound/soc/ |
D | soc-ac97.c | 129 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio() 151 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio() 156 static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97, in snd_soc_ac97_init_gpio() 162 static void snd_soc_ac97_free_gpio(struct snd_ac97 *ac97) in snd_soc_ac97_free_gpio() 177 struct snd_ac97 *snd_soc_alloc_ac97_component(struct snd_soc_component *component) in snd_soc_alloc_ac97_component() 179 struct snd_ac97 *ac97; in snd_soc_alloc_ac97_component() 181 ac97 = kzalloc(sizeof(struct snd_ac97), GFP_KERNEL); in snd_soc_alloc_ac97_component() 216 struct snd_ac97 *snd_soc_new_ac97_component(struct snd_soc_component *component, in snd_soc_new_ac97_component() 219 struct snd_ac97 *ac97; in snd_soc_new_ac97_component() 257 void snd_soc_free_ac97_component(struct snd_ac97 *ac97) in snd_soc_free_ac97_component() [all …]
|
/Linux-v4.19/drivers/base/regmap/ |
D | regmap-ac97.c | 59 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_read() 69 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_write() 81 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97, in __regmap_init_ac97() 91 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97, in __devm_regmap_init_ac97()
|
/Linux-v4.19/include/linux/platform_data/ |
D | asoc-imx-ssi.h | 5 struct snd_ac97; 17 void (*ac97_reset) (struct snd_ac97 *ac97); 18 void (*ac97_warm_reset)(struct snd_ac97 *ac97);
|
/Linux-v4.19/sound/soc/codecs/ |
D | ac97.c | 40 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_prepare() 70 struct snd_ac97 *ac97; in ac97_soc_probe() 94 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_suspend() 104 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_resume()
|
D | ad1980.c | 210 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ad1980_reset() 237 struct snd_ac97 *ac97; in ad1980_soc_probe() 291 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ad1980_soc_remove()
|
/Linux-v4.19/include/sound/ac97/ |
D | compat.h | 14 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev); 15 void snd_ac97_compat_release(struct snd_ac97 *ac97);
|
/Linux-v4.19/include/linux/mfd/ |
D | wm97xx.h | 17 struct snd_ac97; 20 struct snd_ac97 *ac97;
|
/Linux-v4.19/sound/soc/pxa/ |
D | pxa2xx-ac97.c | 30 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() 44 static unsigned short pxa2xx_ac97_legacy_read(struct snd_ac97 *ac97, in pxa2xx_ac97_legacy_read() 56 static void pxa2xx_ac97_legacy_write(struct snd_ac97 *ac97, in pxa2xx_ac97_legacy_write()
|
/Linux-v4.19/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-v4.19/sound/ |
D | ac97_bus.c | 30 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()
|
/Linux-v4.19/sound/arm/ |
D | pxa2xx-ac97.c | 30 static void pxa2xx_ac97_legacy_reset(struct snd_ac97 *ac97) in pxa2xx_ac97_legacy_reset() 38 static unsigned short pxa2xx_ac97_legacy_read(struct snd_ac97 *ac97, in pxa2xx_ac97_legacy_read() 50 static void pxa2xx_ac97_legacy_write(struct snd_ac97 *ac97, in pxa2xx_ac97_legacy_write() 65 static struct snd_ac97 *pxa2xx_ac97_ac97;
|
/Linux-v4.19/sound/soc/au1x/ |
D | psc-ac97.c | 62 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()
|
D | ac97c.c | 82 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()
|
/Linux-v4.19/sound/soc/fsl/ |
D | mpc5200_psc_ac97.c | 34 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()
|
/Linux-v4.19/sound/soc/txx9/ |
D | txx9aclc-ac97.c | 48 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()
|