Searched refs:is_self (Results 1 – 5 of 5) sorted by relevance
447 int is_self) in bdc_udc_set_selfpowered() argument453 gadget->is_selfpowered = (is_self != 0); in bdc_udc_set_selfpowered()455 if (!is_self) in bdc_udc_set_selfpowered()
1004 static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) in usbhsg_set_selfpowered() argument1008 if (is_self) in usbhsg_set_selfpowered()1013 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()
2318 static int renesas_usb3_set_selfpowered(struct usb_gadget *gadget, int is_self) in renesas_usb3_set_selfpowered() argument2320 gadget->is_selfpowered = !!is_self; in renesas_usb3_set_selfpowered()
6259 int is_self; in pfm_flush_pmds() local6265 is_self = ctx->ctx_task == task ? 1 : 0; in pfm_flush_pmds()6315 DPRINT(("is_self=%d ovfl_val=0x%lx mask2=0x%lx\n", is_self, ovfl_val, mask2)); in pfm_flush_pmds()6357 if (is_self) ctx->th_pmds[i] = pmd_val; in pfm_flush_pmds()