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()
187 #define to_udc(g) container_of((g), struct max3420_udc, gadget) macro1082 struct max3420_udc *udc = to_udc(gadget); in max3420_wakeup()1104 struct max3420_udc *udc = to_udc(gadget); in max3420_udc_start()1126 struct max3420_udc *udc = to_udc(gadget); in max3420_udc_stop()
104 #define to_udc(g) container_of((g), struct xusb_udc, gadget) macro1226 udc = to_udc(gadget); in xudc_get_frame()1239 struct xusb_udc *udc = to_udc(gadget); in xudc_wakeup()1279 struct xusb_udc *udc = to_udc(gadget); in xudc_pullup()1377 struct xusb_udc *udc = to_udc(gadget); in xudc_start()1415 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() function2404 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_get_frame()2437 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_vbus_session()2473 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_pullup()2879 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_start()2912 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_stop()