Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 7 of 7) sorted by relevance

/sound/aoa/soundbus/
Dcore.c40 struct soundbus_driver *drv; in soundbus_probe() local
43 drv = to_soundbus_driver(dev->driver); in soundbus_probe()
46 if (!drv->probe) in soundbus_probe()
51 error = drv->probe(soundbus_dev); in soundbus_probe()
111 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_remove() local
113 if (dev->driver && drv->remove) in soundbus_device_remove()
114 drv->remove(soundbus_dev); in soundbus_device_remove()
123 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_shutdown() local
125 if (dev->driver && drv->shutdown) in soundbus_device_shutdown()
126 drv->shutdown(soundbus_dev); in soundbus_device_shutdown()
[all …]
Dsoundbus.h197 #define to_soundbus_driver(drv) container_of(drv,struct soundbus_driver, driver) argument
199 extern int soundbus_register_driver(struct soundbus_driver *drv);
200 extern void soundbus_unregister_driver(struct soundbus_driver *drv);
/sound/core/seq/
Dseq_midi_emul.c46 static void note_off(struct snd_midi_op *ops, void *drv,
53 static void rpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan,
55 static void nrpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan,
87 void *drv; in snd_midi_process_event() local
107 drv = chanset->private_data; in snd_midi_process_event()
130 ops->note_off(drv, ev->data.note.note, 0, chan); in snd_midi_process_event()
134 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
140 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); in snd_midi_process_event()
144 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
147 do_control(ops, drv, chanset, chan, in snd_midi_process_event()
[all …]
/sound/
Dac97_bus.c25 static int ac97_bus_match(struct device *dev, struct device_driver *drv) in ac97_bus_match() argument
/sound/pcmcia/pdaudiocf/
Dpdaudiocf.c290 .drv = {
/sound/pcmcia/vx/
Dvxpocket.c361 .drv = {
/sound/arm/
Daaci.c1182 .drv = {