Lines Matching refs:soundbus_dev
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()
73 of = &soundbus_dev->ofdev; in soundbus_uevent()
102 retval = add_uevent_var(env, "MODALIAS=%s", soundbus_dev->modalias); in soundbus_uevent()
109 struct soundbus_dev * soundbus_dev = to_soundbus_device(dev); in soundbus_device_remove() local
113 drv->remove(soundbus_dev); in soundbus_device_remove()
114 soundbus_dev_put(soundbus_dev); in soundbus_device_remove()
119 struct soundbus_dev * soundbus_dev = to_soundbus_device(dev); in soundbus_device_shutdown() local
123 drv->shutdown(soundbus_dev); in soundbus_device_shutdown()
127 ATTRIBUTE_GROUPS(soundbus_dev);
137 int soundbus_add_one(struct soundbus_dev *dev) in soundbus_add_one()
156 void soundbus_remove_one(struct soundbus_dev *dev) in soundbus_remove_one()