Lines Matching defs:is_on
2602 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on)
2611 if (is_on) {
2635 } while (--timeout && !(!is_on ^ !reg));
2738 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on)
2743 is_on = !!is_on;
2745 dwc->softconnect = is_on;
2752 if (!is_on) {
2771 if (dwc->pullups_connected == is_on) {
2778 if (!is_on)