Searched refs:to_udc (Results 1 – 3 of 3) sorted by relevance
139 static inline struct at91_udc *to_udc(struct usb_gadget *g) in to_udc() function
788 struct at91_udc *udc = to_udc(gadget); in at91_get_frame()790 if (!to_udc(gadget)->clocked) in at91_get_frame()797 struct at91_udc *udc = to_udc(gadget); in at91_wakeup()942 struct at91_udc *udc = to_udc(gadget); in at91_vbus_session()958 struct at91_udc *udc = to_udc(gadget); in at91_pullup()970 struct at91_udc *udc = to_udc(gadget); in at91_set_selfpowered()
212 static inline struct lpc32xx_udc *to_udc(struct usb_gadget *g) in to_udc() function2482 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_get_frame()2503 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_set_selfpowered()2518 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_vbus_session()2554 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_pullup()2935 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_start()2969 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_stop()