Home
last modified time | relevance | path

Searched refs:ac97 (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/include/linux/
Ducb1400.h88 struct snd_ac97 *ac97; member
98 struct snd_ac97 *ac97; member
115 static inline u16 ucb1400_reg_read(struct snd_ac97 *ac97, u16 reg) in ucb1400_reg_read() argument
117 return ac97->bus->ops->read(ac97, reg); in ucb1400_reg_read()
120 static inline void ucb1400_reg_write(struct snd_ac97 *ac97, u16 reg, u16 val) in ucb1400_reg_write() argument
122 ac97->bus->ops->write(ac97, reg, val); in ucb1400_reg_write()
125 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_value() argument
127 return ucb1400_reg_read(ac97, UCB_IO_DATA) & (1 << 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() argument
133 ucb1400_reg_write(ac97, UCB_IO_DATA, val ? in ucb1400_gpio_set_value()
[all …]
Dregmap.h556 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
601 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97,
781 #define regmap_init_ac97(ac97, config) \ argument
783 ac97, config)
940 #define devm_regmap_init_ac97(ac97, config) \ argument
942 ac97, config)
Dwm97xx.h273 struct snd_ac97 *ac97; /* ALSA codec access */ member
/linux-4.19.296/include/sound/
Dac97_codec.h178 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);
192 void (*write) (struct snd_ac97 *ac97, unsigned short reg, unsigned short val);
[all …]
Demu10k1.h1736 struct snd_ac97 *ac97; member
1860 unsigned short snd_emu10k1_ac97_read(struct snd_ac97 *ac97, unsigned short reg);
1861 void snd_emu10k1_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short data);
Dsoc.h554 void snd_soc_free_ac97_component(struct snd_ac97 *ac97);
/linux-4.19.296/drivers/base/regmap/
Dregmap-ac97.c59 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_read() local
61 *val = ac97->bus->ops->read(ac97, reg); in regmap_ac97_reg_read()
69 struct snd_ac97 *ac97 = context; in regmap_ac97_reg_write() local
71 ac97->bus->ops->write(ac97, reg, val); in regmap_ac97_reg_write()
81 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97, in __regmap_init_ac97() argument
86 return __regmap_init(&ac97->dev, &ac97_regmap_bus, ac97, config, in __regmap_init_ac97()
91 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97, in __devm_regmap_init_ac97() argument
96 return __devm_regmap_init(&ac97->dev, &ac97_regmap_bus, ac97, config, in __devm_regmap_init_ac97()
DMakefile9 obj-$(CONFIG_REGMAP_AC97) += regmap-ac97.o
/linux-4.19.296/drivers/gpio/
Dgpio-ucb1400.c19 ucb1400_gpio_set_direction(gpio->ac97, off, 0); in ucb1400_gpio_dir_in()
27 ucb1400_gpio_set_direction(gpio->ac97, off, 1); in ucb1400_gpio_dir_out()
28 ucb1400_gpio_set_value(gpio->ac97, off, val); in ucb1400_gpio_dir_out()
37 return !!ucb1400_gpio_get_value(gpio->ac97, off); in ucb1400_gpio_get()
44 ucb1400_gpio_set_value(gpio->ac97, off, val); in ucb1400_gpio_set()
/linux-4.19.296/include/linux/platform_data/
Dasoc-imx-ssi.h17 void (*ac97_reset) (struct snd_ac97 *ac97);
18 void (*ac97_warm_reset)(struct snd_ac97 *ac97);
/linux-4.19.296/include/sound/ac97/
Dcompat.h15 void snd_ac97_compat_release(struct snd_ac97 *ac97);
/linux-4.19.296/include/linux/mfd/
Dwm97xx.h20 struct snd_ac97 *ac97; member