Searched refs:is_self (Results 1 – 4 of 4) sorted by relevance
448 int is_self) in bdc_udc_set_selfpowered() argument454 gadget->is_selfpowered = (is_self != 0); in bdc_udc_set_selfpowered()456 if (!is_self) in bdc_udc_set_selfpowered()
1023 static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) in usbhsg_set_selfpowered() argument1027 if (is_self) in usbhsg_set_selfpowered()1032 gadget->is_selfpowered = (is_self != 0); in usbhsg_set_selfpowered()
1787 static int r8a66597_set_selfpowered(struct usb_gadget *gadget, int is_self) in r8a66597_set_selfpowered() argument1791 gadget->is_selfpowered = (is_self != 0); in r8a66597_set_selfpowered()1792 if (is_self) in r8a66597_set_selfpowered()
2422 static int renesas_usb3_set_selfpowered(struct usb_gadget *gadget, int is_self) in renesas_usb3_set_selfpowered() argument2424 gadget->is_selfpowered = !!is_self; in renesas_usb3_set_selfpowered()