Searched refs:soundbus_dev (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/sound/aoa/soundbus/ |
D | core.c | 16 struct soundbus_dev *soundbus_dev_get(struct soundbus_dev *dev) in soundbus_dev_get() 30 void soundbus_dev_put(struct soundbus_dev *dev) in soundbus_dev_put() 41 struct soundbus_dev *soundbus_dev; in soundbus_probe() local 44 soundbus_dev = to_soundbus_device(dev); in soundbus_probe() 49 soundbus_dev_get(soundbus_dev); in soundbus_probe() 51 error = drv->probe(soundbus_dev); in soundbus_probe() 53 soundbus_dev_put(soundbus_dev); in soundbus_probe() 61 struct soundbus_dev * soundbus_dev; in soundbus_uevent() local 70 soundbus_dev = to_soundbus_device(dev); in soundbus_uevent() 71 if (!soundbus_dev) in soundbus_uevent() [all …]
|
D | soundbus.h | 49 struct soundbus_dev *sdev; 139 struct soundbus_dev { struct 164 int (*attach_codec)(struct soundbus_dev *dev, struct snd_card *card, argument 166 void (*detach_codec)(struct soundbus_dev *dev, void *data); argument 173 #define to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev.dev) argument 174 #define of_to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev) 176 extern int soundbus_add_one(struct soundbus_dev *dev); 177 extern void soundbus_remove_one(struct soundbus_dev *dev); 179 extern struct soundbus_dev *soundbus_dev_get(struct soundbus_dev *dev); 180 extern void soundbus_dev_put(struct soundbus_dev *dev); [all …]
|
D | sysfs.c | 11 struct soundbus_dev *mdev = to_soundbus_device (dev); \ 18 struct soundbus_dev *sdev = to_soundbus_device(dev); in modalias_show()
|
/linux-4.1.27/sound/aoa/codecs/ |
D | toonie.c | 100 if (toonie->codec.soundbus_dev->attach_codec(toonie->codec.soundbus_dev, in toonie_init_codec() 115 if (!toonie->codec.soundbus_dev) { in toonie_exit_codec() 119 toonie->codec.soundbus_dev->detach_codec(toonie->codec.soundbus_dev, toonie); in toonie_exit_codec()
|
D | onyx.c | 919 if (onyx->codec.soundbus_dev->attach_codec(onyx->codec.soundbus_dev, in onyx_init_codec() 930 onyx->codec.soundbus_dev->pcm->device; \ in onyx_init_codec() 937 if (onyx->codec.soundbus_dev->pcm) { in onyx_init_codec() 978 onyx->codec.soundbus_dev->detach_codec(onyx->codec.soundbus_dev, onyx); in onyx_init_codec() 987 if (!onyx->codec.soundbus_dev) { in onyx_exit_codec() 991 onyx->codec.soundbus_dev->detach_codec(onyx->codec.soundbus_dev, onyx); in onyx_exit_codec()
|
D | tas.c | 816 if (tas->codec.soundbus_dev->attach_codec(tas->codec.soundbus_dev, in tas_init_codec() 865 tas->codec.soundbus_dev->detach_codec(tas->codec.soundbus_dev, tas); in tas_init_codec() 874 if (!tas->codec.soundbus_dev) in tas_exit_codec() 876 tas->codec.soundbus_dev->detach_codec(tas->codec.soundbus_dev, tas); in tas_exit_codec()
|
/linux-4.1.27/sound/aoa/soundbus/i2sbus/ |
D | i2sbus.h | 60 struct soundbus_dev sound; 98 i2sbus_attach_codec(struct soundbus_dev *dev, struct snd_card *card, 101 i2sbus_detach_codec(struct soundbus_dev *dev, void *data);
|
D | pcm.c | 76 struct soundbus_dev *sdev; in i2sbus_pcm_open() 881 i2sbus_attach_codec(struct soundbus_dev *dev, struct snd_card *card, in i2sbus_attach_codec() 1047 void i2sbus_detach_codec(struct soundbus_dev *dev, void *data) in i2sbus_detach_codec()
|
/linux-4.1.27/sound/aoa/ |
D | aoa.h | 40 struct soundbus_dev *soundbus_dev; member
|
/linux-4.1.27/sound/aoa/fabrics/ |
D | layout.c | 602 struct soundbus_dev *sdev; 792 codec->soundbus_dev = ldev->sdev; in check_codec() 838 codec->soundbus_dev = NULL; in layout_remove_codec() 990 static int aoa_fabric_layout_probe(struct soundbus_dev *sdev) in aoa_fabric_layout_probe() 1091 static int aoa_fabric_layout_remove(struct soundbus_dev *sdev) in aoa_fabric_layout_remove() 1124 static int aoa_fabric_layout_suspend(struct soundbus_dev *sdev, pm_message_t state) in aoa_fabric_layout_suspend() 1134 static int aoa_fabric_layout_resume(struct soundbus_dev *sdev) in aoa_fabric_layout_resume()
|