Home
last modified time | relevance | path

Searched refs:busid_priv (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/usbip/
Dstub_dev.c312 struct bus_id_priv *busid_priv; in stub_probe() local
326 busid_priv = get_busid_priv(udev_busid); in stub_probe()
327 if (!busid_priv || (busid_priv->status == STUB_BUSID_REMOV) || in stub_probe()
328 (busid_priv->status == STUB_BUSID_OTHER)) { in stub_probe()
339 if (!busid_priv) in stub_probe()
366 busid_priv->shutdown_busid = 0; in stub_probe()
371 busid_priv->sdev = sdev; in stub_probe()
372 busid_priv->udev = udev; in stub_probe()
374 save_status = busid_priv->status; in stub_probe()
375 busid_priv->status = STUB_BUSID_ALLOC; in stub_probe()
[all …]
Dstub_main.c201 static int do_rebind(char *busid, struct bus_id_priv *busid_priv) in do_rebind() argument
206 if (busid_priv->udev->dev.parent) in do_rebind()
207 device_lock(busid_priv->udev->dev.parent); in do_rebind()
208 ret = device_attach(&busid_priv->udev->dev); in do_rebind()
209 if (busid_priv->udev->dev.parent) in do_rebind()
210 device_unlock(busid_priv->udev->dev.parent); in do_rebind()
212 dev_err(&busid_priv->udev->dev, "rebind failed\n"); in do_rebind()
219 struct bus_id_priv *busid_priv; in stub_device_rebind() local
227 busid_priv = &(busid_table[i]); in stub_device_rebind()
228 busid_priv->status = STUB_BUSID_OTHER; in stub_device_rebind()
[all …]