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
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()
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()
189 #define to_udc(g) container_of((g), struct max3420_udc, gadget) macro1082 struct max3420_udc *udc = to_udc(gadget); in max3420_wakeup()1105 struct max3420_udc *udc = to_udc(gadget); in max3420_udc_start()1129 struct max3420_udc *udc = to_udc(gadget); in max3420_udc_stop()
183 static inline struct lpc32xx_udc *to_udc(struct usb_gadget *g) in to_udc() function2410 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_get_frame()2443 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_vbus_session()2479 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_pullup()2885 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_start()2918 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_stop()