Searched refs:busid_priv (Results 1 – 2 of 2) sorted by relevance
314 struct bus_id_priv *busid_priv; in stub_probe() local328 busid_priv = get_busid_priv(udev_busid); in stub_probe()329 if (!busid_priv || (busid_priv->status == STUB_BUSID_REMOV) || in stub_probe()330 (busid_priv->status == STUB_BUSID_OTHER)) { in stub_probe()341 if (!busid_priv) in stub_probe()368 busid_priv->shutdown_busid = 0; in stub_probe()373 busid_priv->sdev = sdev; in stub_probe()374 busid_priv->udev = udev; in stub_probe()376 save_status = busid_priv->status; in stub_probe()377 busid_priv->status = STUB_BUSID_ALLOC; in stub_probe()[all …]
199 static int do_rebind(char *busid, struct bus_id_priv *busid_priv) in do_rebind() argument204 if (busid_priv->udev->dev.parent) in do_rebind()205 device_lock(busid_priv->udev->dev.parent); in do_rebind()206 ret = device_attach(&busid_priv->udev->dev); in do_rebind()207 if (busid_priv->udev->dev.parent) in do_rebind()208 device_unlock(busid_priv->udev->dev.parent); in do_rebind()210 dev_err(&busid_priv->udev->dev, "rebind failed\n"); in do_rebind()217 struct bus_id_priv *busid_priv; in stub_device_rebind() local225 busid_priv = &(busid_table[i]); in stub_device_rebind()226 busid_priv->status = STUB_BUSID_OTHER; in stub_device_rebind()[all …]