Lines Matching refs:is_on
724 static void pullup(struct at91_udc *udc, int is_on) in pullup() argument
727 is_on = 0; in pullup()
728 DBG("%sactive\n", is_on ? "" : "in"); in pullup()
730 if (is_on) { in pullup()
742 udc->caps->pullup(udc, is_on); in pullup()
762 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup() argument
768 udc->enabled = is_on = !!is_on; in at91_pullup()
769 pullup(udc, is_on); in at91_pullup()
774 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered() argument
780 udc->selfpowered = (is_on != 0); in at91_set_selfpowered()
1365 static void at91sam9260_udc_pullup(struct at91_udc *udc, int is_on) in at91sam9260_udc_pullup() argument
1369 if (is_on) in at91sam9260_udc_pullup()
1413 static void at91sam9261_udc_pullup(struct at91_udc *udc, int is_on) in at91sam9261_udc_pullup() argument
1418 if (is_on) in at91sam9261_udc_pullup()