Searched refs:soundbus_dev (Results 1 - 10 of 10) sorted by relevance
/linux-4.1.27/sound/aoa/soundbus/ |
H A D | core.c | 16 struct soundbus_dev *soundbus_dev_get(struct soundbus_dev *dev) soundbus_dev_get() 30 void soundbus_dev_put(struct soundbus_dev *dev) soundbus_dev_put() 41 struct soundbus_dev *soundbus_dev; soundbus_probe() local 44 soundbus_dev = to_soundbus_device(dev); soundbus_probe() 49 soundbus_dev_get(soundbus_dev); soundbus_probe() 51 error = drv->probe(soundbus_dev); soundbus_probe() 53 soundbus_dev_put(soundbus_dev); soundbus_probe() 61 struct soundbus_dev * soundbus_dev; soundbus_uevent() local 70 soundbus_dev = to_soundbus_device(dev); soundbus_uevent() 71 if (!soundbus_dev) soundbus_uevent() 74 of = &soundbus_dev->ofdev; soundbus_uevent() 103 retval = add_uevent_var(env, "MODALIAS=%s", soundbus_dev->modalias); soundbus_uevent() 110 struct soundbus_dev * soundbus_dev = to_soundbus_device(dev); soundbus_device_remove() local 114 drv->remove(soundbus_dev); soundbus_device_remove() 115 soundbus_dev_put(soundbus_dev); soundbus_device_remove() 122 struct soundbus_dev * soundbus_dev = to_soundbus_device(dev); soundbus_device_shutdown() local 126 drv->shutdown(soundbus_dev); soundbus_device_shutdown() 133 struct soundbus_dev * soundbus_dev = to_soundbus_device(dev); soundbus_device_suspend() local 137 return drv->suspend(soundbus_dev, state); soundbus_device_suspend() 143 struct soundbus_dev * soundbus_dev = to_soundbus_device(dev); soundbus_device_resume() local 147 return drv->resume(soundbus_dev); soundbus_device_resume() 166 int soundbus_add_one(struct soundbus_dev *dev) soundbus_add_one() 185 void soundbus_remove_one(struct soundbus_dev *dev) soundbus_remove_one()
|
H A D | sysfs.c | 11 struct soundbus_dev *mdev = to_soundbus_device (dev); \ 18 struct soundbus_dev *sdev = to_soundbus_device(dev); modalias_show()
|
H A 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, 166 void (*detach_codec)(struct soundbus_dev *dev, void *data); 173 #define to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev.dev) 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); 188 int (*probe)(struct soundbus_dev* dev); 189 int (*remove)(struct soundbus_dev* dev); 191 int (*suspend)(struct soundbus_dev* dev, pm_message_t state); 192 int (*resume)(struct soundbus_dev* dev); 193 int (*shutdown)(struct soundbus_dev* dev);
|
/linux-4.1.27/sound/aoa/codecs/ |
H A D | toonie.c | 100 if (toonie->codec.soundbus_dev->attach_codec(toonie->codec.soundbus_dev, toonie_init_codec() 115 if (!toonie->codec.soundbus_dev) { toonie_exit_codec() 116 printk(KERN_ERR PFX "toonie_exit_codec called without soundbus_dev!\n"); toonie_exit_codec() 119 toonie->codec.soundbus_dev->detach_codec(toonie->codec.soundbus_dev, toonie); toonie_exit_codec()
|
H A D | onyx.c | 919 if (onyx->codec.soundbus_dev->attach_codec(onyx->codec.soundbus_dev, onyx_init_codec() 930 onyx->codec.soundbus_dev->pcm->device; \ onyx_init_codec() 937 if (onyx->codec.soundbus_dev->pcm) { onyx_init_codec() 978 onyx->codec.soundbus_dev->detach_codec(onyx->codec.soundbus_dev, onyx); onyx_init_codec() 987 if (!onyx->codec.soundbus_dev) { onyx_exit_codec() 988 printk(KERN_ERR PFX "onyx_exit_codec called without soundbus_dev!\n"); onyx_exit_codec() 991 onyx->codec.soundbus_dev->detach_codec(onyx->codec.soundbus_dev, onyx); onyx_exit_codec()
|
H A D | tas.c | 42 * provide two soundbus_dev devices and the fabric 816 if (tas->codec.soundbus_dev->attach_codec(tas->codec.soundbus_dev, tas_init_codec() 865 tas->codec.soundbus_dev->detach_codec(tas->codec.soundbus_dev, tas); tas_init_codec() 874 if (!tas->codec.soundbus_dev) tas_exit_codec() 876 tas->codec.soundbus_dev->detach_codec(tas->codec.soundbus_dev, tas); tas_exit_codec()
|
/linux-4.1.27/sound/aoa/soundbus/i2sbus/ |
H A 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);
|
H A D | pcm.c | 76 struct soundbus_dev *sdev; i2sbus_pcm_open() 881 i2sbus_attach_codec(struct soundbus_dev *dev, struct snd_card *card, i2sbus_attach_codec() 1047 void i2sbus_detach_codec(struct soundbus_dev *dev, void *data) i2sbus_detach_codec()
|
/linux-4.1.27/sound/aoa/ |
H A D | aoa.h | 40 struct soundbus_dev *soundbus_dev; member in struct:aoa_codec
|
/linux-4.1.27/sound/aoa/fabrics/ |
H A D | layout.c | 602 struct soundbus_dev *sdev; 792 codec->soundbus_dev = ldev->sdev; check_codec() 838 codec->soundbus_dev = NULL; layout_remove_codec() 990 static int aoa_fabric_layout_probe(struct soundbus_dev *sdev) aoa_fabric_layout_probe() 1091 static int aoa_fabric_layout_remove(struct soundbus_dev *sdev) aoa_fabric_layout_remove() 1124 static int aoa_fabric_layout_suspend(struct soundbus_dev *sdev, pm_message_t state) aoa_fabric_layout_suspend() 1134 static int aoa_fabric_layout_resume(struct soundbus_dev *sdev) aoa_fabric_layout_resume()
|
Completed in 158 milliseconds