Lines Matching defs:is_on
2101 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend)
2110 if (is_on) {
2138 } while (--timeout && !(!is_on ^ !reg));
2178 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on)
2183 is_on = !!is_on;
2185 dwc->softconnect = is_on;
2190 if (!is_on && dwc->ep0state != EP0_SETUP_PHASE) {
2204 if (!is_on) {
2223 if (dwc->pullups_connected == is_on) {
2228 if (!is_on) {