Lines Matching refs:soundbus_dev
17 struct soundbus_dev *soundbus_dev_get(struct soundbus_dev *dev) in soundbus_dev_get()
31 void soundbus_dev_put(struct soundbus_dev *dev) in soundbus_dev_put()
42 struct soundbus_dev *soundbus_dev; in soundbus_probe() local
45 soundbus_dev = to_soundbus_device(dev); in soundbus_probe()
50 soundbus_dev_get(soundbus_dev); in soundbus_probe()
52 error = drv->probe(soundbus_dev); in soundbus_probe()
54 soundbus_dev_put(soundbus_dev); in soundbus_probe()
62 const struct soundbus_dev * soundbus_dev; in soundbus_uevent() local
71 soundbus_dev = to_soundbus_device(dev); in soundbus_uevent()
72 if (!soundbus_dev) in soundbus_uevent()
75 of = &soundbus_dev->ofdev; in soundbus_uevent()
104 retval = add_uevent_var(env, "MODALIAS=%s", soundbus_dev->modalias); in soundbus_uevent()
111 struct soundbus_dev * soundbus_dev = to_soundbus_device(dev); in soundbus_device_remove() local
115 drv->remove(soundbus_dev); in soundbus_device_remove()
116 soundbus_dev_put(soundbus_dev); in soundbus_device_remove()
121 struct soundbus_dev * soundbus_dev = to_soundbus_device(dev); in soundbus_device_shutdown() local
125 drv->shutdown(soundbus_dev); in soundbus_device_shutdown()
129 ATTRIBUTE_GROUPS(soundbus_dev);
139 int soundbus_add_one(struct soundbus_dev *dev) in soundbus_add_one()
158 void soundbus_remove_one(struct soundbus_dev *dev) in soundbus_remove_one()