/kernel/linux/linux-6.6/include/sound/ |
H A 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 *ac9 234 struct snd_ac97 { global() struct [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A 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 *ac9 234 struct snd_ac97 { global() struct [all...] |
/kernel/linux/linux-5.10/sound/pci/ac97/ |
H A D | ac97_patch.c | 18 static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97, 20 static int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name, 28 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, int count) 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, unsigned short value, unsigned short page) in ac97_update_bits_page() 79 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_get() 87 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put() 108 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get() 116 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put() 170 static inline int is_surround_on(struct snd_ac97 *ac9 [all...] |
H A D | ac97_patch.h | 55 struct snd_ac97 * ac97); 62 static int snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit); 63 static int snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name, 65 static int snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src, 67 static int snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1, 69 static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, 72 static void snd_ac97_restore_status(struct snd_ac97 *ac97); 73 static void snd_ac97_restore_iec958(struct snd_ac97 *ac97);
|
H A D | ac97_local.h | 10 void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name, 12 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg, 19 void snd_ac97_proc_init(struct snd_ac97 * ac97); 20 void snd_ac97_proc_done(struct snd_ac97 * ac97);
|
H A D | ac97_codec.c | 49 int (*patch)(struct snd_ac97 *ac97); 50 int (*mpatch)(struct snd_ac97 *ac97); 195 static void update_power_regs(struct snd_ac97 *ac97); 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() 351 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_update() 383 int snd_ac97_update_bits(struct snd_ac97 *ac9 [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | ucb1400.h | 85 struct snd_ac97 *ac97; 95 struct snd_ac97 *ac97; 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 *ac9 [all...] |
/kernel/linux/linux-5.10/sound/pci/cs5535audio/ |
H A 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 *ac9 in olpc_mic_bias() [all...] |
/kernel/linux/linux-6.6/sound/pci/cs5535audio/ |
H A 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 *ac9 in olpc_mic_bias() [all...] |
/kernel/linux/linux-6.6/sound/pci/ac97/ |
H A D | ac97_patch.c | 18 static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97, 20 static int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name, 28 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, int count) 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, unsigned short value, unsigned short page) in ac97_update_bits_page() 81 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_get() 89 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_surround_jack_mode_put() 110 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_get() 118 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in ac97_channel_mode_put() 172 static inline int is_surround_on(struct snd_ac97 *ac9 [all...] |
H A D | ac97_patch.h | 55 struct snd_ac97 * ac97); 62 static int snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit); 63 static int snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name, 65 static int snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src, 67 static int snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1, 69 static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, 72 static void snd_ac97_restore_status(struct snd_ac97 *ac97); 73 static void snd_ac97_restore_iec958(struct snd_ac97 *ac97);
|
H A D | ac97_local.h | 10 void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name, 12 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg, 19 void snd_ac97_proc_init(struct snd_ac97 * ac97); 20 void snd_ac97_proc_done(struct snd_ac97 * ac97);
|
H A D | ac97_codec.c | 49 int (*patch)(struct snd_ac97 *ac97); 50 int (*mpatch)(struct snd_ac97 *ac97); 194 static void update_power_regs(struct snd_ac97 *ac97); 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() 350 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_update() 382 int snd_ac97_update_bits(struct snd_ac97 *ac9 [all...] |
/kernel/linux/linux-5.10/sound/ac97/ |
H A 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() 67 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev) in snd_ac97_compat_alloc() 69 struct snd_ac97 *ac97; in snd_ac97_compat_alloc() 72 ac97 = kzalloc(sizeof(struct snd_ac97), GFP_KERNEL); in snd_ac97_compat_alloc() 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/ |
H A 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() 67 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev) in snd_ac97_compat_alloc() 69 struct snd_ac97 *ac97; in snd_ac97_compat_alloc() 72 ac97 = kzalloc(sizeof(struct snd_ac97), GFP_KERNEL); in snd_ac97_compat_alloc() 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/sound/soc/ |
H A D | soc-ac97.c | 128 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() 170 * Allocated a new snd_ac97 device and intializes it, but does not yet register 174 * Returns: A snd_ac97 device or a PTR_ERR in case of an error. 176 struct snd_ac97 *snd_soc_alloc_ac97_component(struct snd_soc_component *component) in snd_soc_alloc_ac97_component() 178 struct snd_ac97 *ac97; in snd_soc_alloc_ac97_component() 180 ac97 = kzalloc(sizeof(struct snd_ac97), GFP_KERNEL); in snd_soc_alloc_ac97_component() 213 * Returns: A PTR_ERR() on failure or a valid snd_ac97 struc [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A 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() 167 * Allocated a new snd_ac97 device and intializes it, but does not yet register 171 * Returns: A snd_ac97 device or a PTR_ERR in case of an error. 173 struct snd_ac97 *snd_soc_alloc_ac97_component(struct snd_soc_component *component) in snd_soc_alloc_ac97_component() 175 struct snd_ac97 *ac97; in snd_soc_alloc_ac97_component() 177 ac97 = kzalloc(sizeof(struct snd_ac97), GFP_KERNEL); in snd_soc_alloc_ac97_component() 210 * Returns: A PTR_ERR() on failure or a valid snd_ac97 struc [all...] |
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A 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);
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A 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);
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
H A D | regmap-ac97.c | 47 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_read() 57 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_write() 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/ |
H A D | regmap-ac97.c | 47 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_read() 57 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_write() 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/soc/codecs/ |
H A D | ac97.c | 36 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_prepare() 66 struct snd_ac97 *ac97; in ac97_soc_probe() 90 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_suspend() 100 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_resume()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | ac97.c | 36 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_prepare() 66 struct snd_ac97 *ac97; in ac97_soc_probe() 90 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_suspend() 100 struct snd_ac97 *ac97 = snd_soc_component_get_drvdata(component); in ac97_soc_resume()
|
/kernel/linux/linux-5.10/include/sound/ac97/ |
H A D | compat.h | 5 * This file is for backward compatibility with snd_ac97 structure and its 14 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev); 15 void snd_ac97_compat_release(struct snd_ac97 *ac97);
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
H A D | wm97xx.h | 13 struct snd_ac97; 16 struct snd_ac97 *ac97;
|