Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c203 static int do_rebind(char *busid, struct bus_id_priv *busid_priv) in do_rebind() argument
208 if (busid_priv->udev->dev.parent) in do_rebind()
209 device_lock(busid_priv->udev->dev.parent); in do_rebind()
210 ret = device_attach(&busid_priv->udev->dev); in do_rebind()
211 if (busid_priv->udev->dev.parent) in do_rebind()
212 device_unlock(busid_priv->udev->dev.parent); in do_rebind()
214 dev_err(&busid_priv->udev->dev, "rebind failed\n"); in do_rebind()
221 struct bus_id_priv *busid_priv; in stub_device_rebind() local
229 busid_priv = &(busid_table[i]); in stub_device_rebind()
230 busid_priv->status = STUB_BUSID_OTHER; in stub_device_rebind()
[all …]