Searched refs:to_udc (Results 1 – 5 of 5) sorted by relevance
149 static inline struct at91_udc *to_udc(struct usb_gadget *g) in to_udc() function
105 #define to_udc(g) container_of((g), struct xusb_udc, gadget) macro1218 udc = to_udc(gadget); in xudc_get_frame()1231 struct xusb_udc *udc = to_udc(gadget); in xudc_wakeup()1271 struct xusb_udc *udc = to_udc(gadget); in xudc_pullup()1369 struct xusb_udc *udc = to_udc(gadget); in xudc_start()1407 struct xusb_udc *udc = to_udc(gadget); in xudc_stop()
791 struct at91_udc *udc = to_udc(gadget); in at91_get_frame()793 if (!to_udc(gadget)->clocked) in at91_get_frame()800 struct at91_udc *udc = to_udc(gadget); in at91_wakeup()944 struct at91_udc *udc = to_udc(gadget); in at91_vbus_session()960 struct at91_udc *udc = to_udc(gadget); in at91_pullup()972 struct at91_udc *udc = to_udc(gadget); in at91_set_selfpowered()
189 #define to_udc(g) container_of((g), struct max3420_udc, gadget) macro1080 struct max3420_udc *udc = to_udc(gadget); in max3420_wakeup()1102 struct max3420_udc *udc = to_udc(gadget); in max3420_udc_start()1125 struct max3420_udc *udc = to_udc(gadget); in max3420_udc_stop()
182 static inline struct lpc32xx_udc *to_udc(struct usb_gadget *g) in to_udc() function2409 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_get_frame()2442 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_vbus_session()2478 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_pullup()2884 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_start()2917 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_stop()