Searched refs:unbind (Results 1 - 25 of 28) sorted by relevance

12

/u-boot/test/dm/
H A Dtest-driver.c90 .unbind = test_unbind,
101 .unbind = test_unbind,
155 .unbind = test_manual_unbind,
165 .unbind = test_manual_unbind,
176 .unbind = test_manual_unbind,
187 .unbind = test_manual_unbind,
198 .unbind = test_manual_unbind,
/u-boot/include/linux/usb/
H A Dcomposite.h106 * @unbind: Reverses @bind; called as a side effect of unregistering the
158 * Related: unbind() may kfree() but bind() won't...
161 /* configuration management: bind/unbind */
164 void (*unbind)(struct usb_configuration *, member in struct:usb_function
217 * @unbind: Reverses @bind; called as a side effect of unregistering the
261 /* configuration management: bind/unbind */
263 void (*unbind)(struct usb_configuration *); member in struct:usb_configuration
301 * @unbind: Reverses @bind(); called as a side effect of unregistering
332 int (*unbind)(struct usb_composite_dev *); member in struct:usb_composite_driver
H A Dgadget.h794 * @unbind: Invoked when the driver is unbound from a gadget,
850 void (*unbind)(struct usb_gadget *); member in struct:usb_gadget_driver
890 * to unbind() and clean up any device state, before this procedure
891 * finally returns. It's expected that the unbind() functions
/u-boot/drivers/usb/gadget/udc/
H A Dudc-core.c140 * @driver: The driver to unbind from @gadget
143 * gadget driver's unbind() method.
232 udc->driver->unbind(udc->gadget);
309 driver->unbind(udc->gadget);
344 /* When this happens, users should 'unbind <class> <index>'
348 printf("All UDCs in use (%d available), use the unbind command\n",
370 if (!driver || !driver->unbind)
/u-boot/drivers/core/
H A Ddevice-remove.c38 log_warning("device '%s' failed to unbind\n",
88 if (drv->unbind) {
89 ret = drv->unbind(dev);
91 return log_msg_ret("unbind", ret);
96 return log_msg_ret("child unbind", ret);
H A Ddevice.c194 /* There is no child unbind() method, so no clean-up required */
197 if (drv->unbind && drv->unbind(dev)) {
198 dm_warn("unbind() method failed on dev '%s' on error path\n",
206 dm_warn("Failed to unbind dev '%s' on error path\n",
/u-boot/drivers/usb/host/
H A Dusb-sandbox.c144 driver->unbind(&dev->gadget);
/u-boot/cmd/
H A Drkmtd.c89 printf("Cannot unbind device '%s'\n", dev->name);
176 U_BOOT_CMD_MKENT(unbind, 4, 0, do_rkmtd_unbind, "", ""),
201 "rkmtd unbind <label> - unbind RKMTD device\n"
H A Dbind.c88 printf("Unable to unbind. err:%d\n", ret);
118 printf("Unable to unbind all. err:%d\n", ret);
192 printf("Unable to unbind. err:%d\n", ret);
254 unbind, 4, 0, do_bind_unbind,
257 "unbind <class> <index>\n"
258 "unbind <class> <index> <driver>\n"
H A Dhost.c139 printf("Cannot unbind device '%s'\n", dev->name);
235 U_BOOT_CMD_MKENT(unbind, 4, 0, do_host_unbind, "", ""),
269 "host unbind <label> - unbind file from \"host\" device\n"
/u-boot/drivers/usb/gadget/
H A Dcomposite.c1353 if (f->unbind) {
1354 debug("unbind function '%s'/%p\n",
1356 f->unbind(c, f);
1360 if (c->unbind) {
1361 debug("unbind config '%s'/%p\n", c->label, c);
1362 c->unbind(c);
1366 if (composite->unbind)
1367 composite->unbind(cdev);
1475 .unbind = composite_unbind,
H A Dg_dnl.c292 .unbind = g_dnl_unbind,
H A Df_fastboot.c387 f_fb->usb_function.unbind = fastboot_unbind;
H A Df_dfu.c831 f_dfu->usb_function.unbind = dfu_unbind;
H A Df_acm.c539 f_acm->usb_function.unbind = acm_unbind;
H A Datmel_usba_udc.c1234 if (!driver || !driver->unbind || !driver->disconnect) {
1240 driver->unbind(&udc->gadget);
H A Dat91_udc.c1472 if (!driver || !driver->unbind || !driver->disconnect) {
1478 driver->unbind(&udc->gadget);
H A Dether.c2514 priv->eth_driver.unbind = eth_unbind;
2544 .unbind = usb_eth_unbind,
H A Df_thor.c1019 f_thor->usb_function.unbind = thor_unbind;
H A Df_rockusb.c304 f_rkusb->usb_function.unbind = rockusb_unbind;
H A Df_sdp.c695 sdp_func->usb_function.unbind = sdp_unbind;
/u-boot/drivers/usb/musb-new/
H A Dmusb_uboot.c422 if (driver->unbind)
423 driver->unbind(&gadget->g);
/u-boot/drivers/mmc/
H A Dsandbox_mmc.c243 .unbind = sandbox_mmc_unbind,
/u-boot/include/dm/
H A Ddevice.h45 /* Device name is allocated and should be freed on unbind() */
346 * @unbind: Called to unbind a device from its driver
381 int (*unbind)(struct udevice *dev); member in struct:driver
/u-boot/drivers/block/
H A Dblkmap.c420 .unbind = blkmap_dev_unbind,

Completed in 268 milliseconds

12