Lines Matching refs:is_on
726 static void pullup(struct at91_udc *udc, int is_on) in pullup() argument
729 is_on = 0; in pullup()
730 DBG("%sactive\n", is_on ? "" : "in"); in pullup()
732 if (is_on) { in pullup()
744 udc->caps->pullup(udc, is_on); in pullup()
764 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup() argument
770 udc->enabled = is_on = !!is_on; in at91_pullup()
771 pullup(udc, is_on); in at91_pullup()
776 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered() argument
782 udc->selfpowered = (is_on != 0); in at91_set_selfpowered()
1367 static void at91sam9260_udc_pullup(struct at91_udc *udc, int is_on) in at91sam9260_udc_pullup() argument
1371 if (is_on) in at91sam9260_udc_pullup()
1415 static void at91sam9261_udc_pullup(struct at91_udc *udc, int is_on) in at91sam9261_udc_pullup() argument
1420 if (is_on) in at91sam9261_udc_pullup()