Home
last modified time | relevance | path

Searched refs:ac97_codec_device (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/sound/ac97/
H A Dcodec.h47 struct ac97_codec_device { struct
65 int (*probe)(struct ac97_codec_device *);
66 void (*remove)(struct ac97_codec_device *dev);
67 void (*shutdown)(struct ac97_codec_device *);
71 static inline struct ac97_codec_device *to_ac97_device(struct device *d) in to_ac97_device()
73 return container_of(d, struct ac97_codec_device, dev); in to_ac97_device()
98 ac97_codec_dev2dev(struct ac97_codec_device *adev) in ac97_codec_dev2dev()
103 static inline void *ac97_get_drvdata(struct ac97_codec_device *adev) in ac97_get_drvdata()
108 static inline void ac97_set_drvdata(struct ac97_codec_device *adev, in ac97_set_drvdata()
114 void *snd_ac97_codec_get_platdata(const struct ac97_codec_device *adev);
H A Dcompat.h14 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev);
H A Dcontroller.h38 struct ac97_codec_device *codecs[AC97_BUS_MAX_CODECS];
/openbmc/linux/sound/ac97/
H A Dsnd_ac97_compat.c22 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_reset()
31 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_warm_reset()
41 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_write()
50 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_read()
67 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev) in snd_ac97_compat_alloc()
101 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in snd_ac97_reset()
H A Dbus.c60 static struct ac97_codec_device *
92 struct ac97_codec_device *adev; in ac97_codec_release()
105 struct ac97_codec_device *codec; in ac97_codec_add()
393 struct ac97_codec_device *codec = to_ac97_device(dev); in ac97_pm_runtime_suspend()
408 struct ac97_codec_device *codec = to_ac97_device(dev); in ac97_pm_runtime_resume()
437 static int ac97_get_enable_clk(struct ac97_codec_device *adev) in ac97_get_enable_clk()
452 static void ac97_put_disable_clk(struct ac97_codec_device *adev) in ac97_put_disable_clk()
461 struct ac97_codec_device *codec = to_ac97_device(dev); in vendor_id_show()
475 struct ac97_codec_device *adev = to_ac97_device(dev); in ac97_bus_match()
493 struct ac97_codec_device *adev = to_ac97_device(dev); in ac97_bus_probe()
[all …]
/openbmc/linux/drivers/mfd/
H A Dwm97xx-core.c251 static int wm97xx_ac97_probe(struct ac97_codec_device *adev) in wm97xx_ac97_probe()
322 static void wm97xx_ac97_remove(struct ac97_codec_device *adev) in wm97xx_ac97_remove()