Home
last modified time | relevance | path

Searched refs:soundbus_dev (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/sound/aoa/soundbus/
Dcore.c15 struct soundbus_dev *soundbus_dev_get(struct soundbus_dev *dev) in soundbus_dev_get()
29 void soundbus_dev_put(struct soundbus_dev *dev) in soundbus_dev_put()
40 struct soundbus_dev *soundbus_dev; in soundbus_probe() local
43 soundbus_dev = to_soundbus_device(dev); in soundbus_probe()
48 soundbus_dev_get(soundbus_dev); in soundbus_probe()
50 error = drv->probe(soundbus_dev); in soundbus_probe()
52 soundbus_dev_put(soundbus_dev); in soundbus_probe()
60 struct soundbus_dev * soundbus_dev; in soundbus_uevent() local
69 soundbus_dev = to_soundbus_device(dev); in soundbus_uevent()
70 if (!soundbus_dev) in soundbus_uevent()
[all …]
Dsoundbus.h48 struct soundbus_dev *sdev;
138 struct soundbus_dev { struct
163 int (*attach_codec)(struct soundbus_dev *dev, struct snd_card *card, argument
165 void (*detach_codec)(struct soundbus_dev *dev, void *data); argument
172 #define to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev.dev) argument
173 #define of_to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev)
175 extern int soundbus_add_one(struct soundbus_dev *dev);
176 extern void soundbus_remove_one(struct soundbus_dev *dev);
178 extern struct soundbus_dev *soundbus_dev_get(struct soundbus_dev *dev);
179 extern void soundbus_dev_put(struct soundbus_dev *dev);
[all …]
Dsysfs.c11 struct soundbus_dev *sdev = to_soundbus_device(dev); in modalias_show()
32 struct soundbus_dev *sdev = to_soundbus_device(dev); in name_show()
42 struct soundbus_dev *sdev = to_soundbus_device(dev); in type_show()
/linux-5.19.10/sound/aoa/codecs/
Dtoonie.c98 if (toonie->codec.soundbus_dev->attach_codec(toonie->codec.soundbus_dev, in toonie_init_codec()
113 if (!toonie->codec.soundbus_dev) { in toonie_exit_codec()
117 toonie->codec.soundbus_dev->detach_codec(toonie->codec.soundbus_dev, toonie); in toonie_exit_codec()
Donyx.c918 if (onyx->codec.soundbus_dev->attach_codec(onyx->codec.soundbus_dev, in onyx_init_codec()
929 onyx->codec.soundbus_dev->pcm->device; \ in onyx_init_codec()
936 if (onyx->codec.soundbus_dev->pcm) { in onyx_init_codec()
977 onyx->codec.soundbus_dev->detach_codec(onyx->codec.soundbus_dev, onyx); in onyx_init_codec()
986 if (!onyx->codec.soundbus_dev) { in onyx_exit_codec()
990 onyx->codec.soundbus_dev->detach_codec(onyx->codec.soundbus_dev, onyx); in onyx_exit_codec()
Dtas.c814 if (tas->codec.soundbus_dev->attach_codec(tas->codec.soundbus_dev, in tas_init_codec()
863 tas->codec.soundbus_dev->detach_codec(tas->codec.soundbus_dev, tas); in tas_init_codec()
872 if (!tas->codec.soundbus_dev) in tas_exit_codec()
874 tas->codec.soundbus_dev->detach_codec(tas->codec.soundbus_dev, tas); in tas_exit_codec()
/linux-5.19.10/sound/aoa/soundbus/i2sbus/
Di2sbus.h59 struct soundbus_dev sound;
97 i2sbus_attach_codec(struct soundbus_dev *dev, struct snd_card *card,
100 i2sbus_detach_codec(struct soundbus_dev *dev, void *data);
Dpcm.c75 struct soundbus_dev *sdev; in i2sbus_pcm_open()
868 i2sbus_attach_codec(struct soundbus_dev *dev, struct snd_card *card, in i2sbus_attach_codec()
1032 void i2sbus_detach_codec(struct soundbus_dev *dev, void *data) in i2sbus_detach_codec()
/linux-5.19.10/sound/aoa/
Daoa.h39 struct soundbus_dev *soundbus_dev; member
/linux-5.19.10/sound/aoa/fabrics/
Dlayout.c608 struct soundbus_dev *sdev;
798 codec->soundbus_dev = ldev->sdev; in check_codec()
844 codec->soundbus_dev = NULL; in layout_remove_codec()
996 static int aoa_fabric_layout_probe(struct soundbus_dev *sdev) in aoa_fabric_layout_probe()
1097 static int aoa_fabric_layout_remove(struct soundbus_dev *sdev) in aoa_fabric_layout_remove()