Searched refs:set_selfpowered (Results 1 – 2 of 2) sorted by relevance
454 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered); member589 if (!gadget->ops->set_selfpowered) in usb_gadget_set_selfpowered()591 return gadget->ops->set_selfpowered (gadget, 1); in usb_gadget_set_selfpowered()607 if (!gadget->ops->set_selfpowered) in usb_gadget_clear_selfpowered()609 return gadget->ops->set_selfpowered (gadget, 0); in usb_gadget_clear_selfpowered()
1428 .set_selfpowered = net2280_set_selfpowered,