Lines Matching refs:driver
27 if (!hd || !hd->driver || !hd->driver->output)
29 return hd->driver->output(hd, req, size, cmd, async);
78 if (hd->driver->cport_allocate)
79 return hd->driver->cport_allocate(hd, cport_id, flags);
98 if (hd->driver->cport_release) {
99 hd->driver->cport_release(hd, cport_id);
124 struct gb_host_device *gb_hd_create(struct gb_hd_driver *driver,
133 * Validate that the driver implements all of the callbacks
136 if ((!driver->message_send) || (!driver->message_cancel)) {
161 hd = kzalloc(sizeof(*hd) + driver->hd_priv_size, GFP_KERNEL);
172 hd->driver = driver;