Lines Matching refs:drv
70 const struct driver *drv; in device_unbind() local
82 drv = dev->driver; in device_unbind()
83 assert(drv); in device_unbind()
85 if (drv->unbind) { in device_unbind()
86 ret = drv->unbind(dev); in device_unbind()
166 const struct driver *drv; in device_remove() local
175 drv = dev->driver; in device_remove()
176 assert(drv); in device_remove()
190 if (drv->remove && flags_remove(flags, drv->flags)) { in device_remove()
191 ret = drv->remove(dev); in device_remove()
204 if (flags_remove(flags, drv->flags)) { in device_remove()