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