Searched refs:to_udc (Results 1 – 5 of 5) sorted by relevance
147 static inline struct at91_udc *to_udc(struct usb_gadget *g) in to_udc() function
793 struct at91_udc *udc = to_udc(gadget); in at91_get_frame()795 if (!to_udc(gadget)->clocked) in at91_get_frame()802 struct at91_udc *udc = to_udc(gadget); in at91_wakeup()946 struct at91_udc *udc = to_udc(gadget); in at91_vbus_session()962 struct at91_udc *udc = to_udc(gadget); in at91_pullup()974 struct at91_udc *udc = to_udc(gadget); in at91_set_selfpowered()
189 #define to_udc(g) container_of((g), struct max3420_udc, gadget) macro1084 struct max3420_udc *udc = to_udc(gadget); in max3420_wakeup()1106 struct max3420_udc *udc = to_udc(gadget); in max3420_udc_start()1129 struct max3420_udc *udc = to_udc(gadget); in max3420_udc_stop()
106 #define to_udc(g) container_of((g), struct xusb_udc, gadget) macro1224 udc = to_udc(gadget); in xudc_get_frame()1237 struct xusb_udc *udc = to_udc(gadget); in xudc_wakeup()1277 struct xusb_udc *udc = to_udc(gadget); in xudc_pullup()1375 struct xusb_udc *udc = to_udc(gadget); in xudc_start()1413 struct xusb_udc *udc = to_udc(gadget); in xudc_stop()
182 static inline struct lpc32xx_udc *to_udc(struct usb_gadget *g) in to_udc() function2411 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_get_frame()2444 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_vbus_session()2480 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_pullup()2886 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_start()2919 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_stop()