Lines Matching refs:busid_priv
201 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()
237 busid_priv = &(busid_table[i]); in stub_device_rebind()
238 do_rebind(busid_table[i].name, busid_priv); in stub_device_rebind()