Searched refs:soundbus_dev (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/sound/aoa/soundbus/ |
D | core.c | 15 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 …]
|
D | soundbus.h | 48 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 …]
|
D | sysfs.c | 11 struct soundbus_dev *sdev = to_soundbus_device(dev); in modalias_show() 26 struct soundbus_dev *sdev = to_soundbus_device(dev); in name_show() 36 struct soundbus_dev *sdev = to_soundbus_device(dev); in type_show()
|
/linux-6.1.9/sound/aoa/codecs/ |
D | toonie.c | 98 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()
|
D | onyx.c | 918 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()
|
D | tas.c | 814 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-6.1.9/sound/aoa/soundbus/i2sbus/ |
D | i2sbus.h | 59 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);
|
D | pcm.c | 75 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-6.1.9/sound/aoa/ |
D | aoa.h | 39 struct soundbus_dev *soundbus_dev; member
|
/linux-6.1.9/sound/aoa/fabrics/ |
D | layout.c | 608 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()
|