| /rk3399_rockchip-uboot/drivers/usb/gadget/udc/ |
| H A D | udc-core.c | 131 static inline int usb_gadget_udc_start(struct usb_udc *udc) in usb_gadget_udc_start() argument 133 return udc->gadget->ops->udc_start(udc->gadget, udc->driver); in usb_gadget_udc_start() 148 static inline void usb_gadget_udc_stop(struct usb_udc *udc) in usb_gadget_udc_stop() argument 150 udc->gadget->ops->udc_stop(udc->gadget); in usb_gadget_udc_stop() 162 struct usb_udc *udc; in usb_udc_release() local 164 udc = container_of(dev, struct usb_udc, dev); in usb_udc_release() 165 kfree(udc); in usb_udc_release() 180 struct usb_udc *udc; in usb_add_gadget_udc_release() local 183 udc = kzalloc(sizeof(*udc), GFP_KERNEL); in usb_add_gadget_udc_release() 184 if (!udc) in usb_add_gadget_udc_release() [all …]
|
| H A D | Makefile | 8 obj-$(CONFIG_USB_DWC3_GADGET) += udc-core.o 11 obj-$(CONFIG_$(SPL_)DM_USB_GADGET) += udc-core.o 12 obj-$(CONFIG_$(SPL_)DM) += udc-uclass.o
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | at91_udc.c | 62 #define at91_udp_read(udc, reg) \ argument 63 __raw_readl((udc)->udp_baseaddr + (reg)) 64 #define at91_udp_write(udc, reg, val) \ argument 65 __raw_writel((val), (udc)->udp_baseaddr + (reg)) 74 struct at91_udc *udc = ep->udc; in done() local 85 spin_unlock(&udc->lock); in done() 87 spin_lock(&udc->lock); in done() 92 at91_udp_write(udc, AT91_UDP_IDR, ep->int_mask); in done() 287 struct at91_udc *udc; in at91_ep_enable() local 301 udc = ep->udc; in at91_ep_enable() [all …]
|
| H A D | atmel_usba_udc.c | 23 static int vbus_is_present(struct usba_udc *udc) in vbus_is_present() argument 83 static void send_status(struct usba_udc *udc, struct usba_ep *ep) in send_status() argument 92 struct usba_udc *udc = ep->udc; in receive_data() local 130 spin_lock(&udc->lock); in receive_data() 132 spin_unlock(&udc->lock); in receive_data() 139 send_status(udc, ep); in receive_data() 172 struct usba_udc *udc = ep->udc; in usba_ep_enable() local 249 spin_lock_irqsave(&ep->udc->lock, flags); in usba_ep_enable() 257 usba_writel(udc, INT_ENB, in usba_ep_enable() 258 (usba_readl(udc, INT_ENB) in usba_ep_enable() [all …]
|
| H A D | ci_udc.c | 306 struct ci_udc *udc = (struct ci_udc *)controller.ctrl->hcor; in ep_enable() local 309 n = readl(&udc->epctrl[num]); in ep_enable() 321 writel(n, &udc->epctrl[num]); in ep_enable() 423 struct ci_udc *udc = (struct ci_udc *)controller.ctrl->hcor; in ci_ep_submit_next_request() local 525 writel(bit, &udc->epprime); in ci_ep_submit_next_request() 664 struct ci_udc *udc = (struct ci_udc *)controller.ctrl->hcor; in handle_setup() local 678 writel(EPT_RX(0), &udc->epsetupstat); in handle_setup() 680 writel(EPT_RX(0), &udc->epstat); in handle_setup() 737 writel((r.wValue << 25) | (1 << 24), &udc->devaddr); in handle_setup() 760 writel((1<<16) | (1 << 0), &udc->epctrl[0]); in handle_setup() [all …]
|
| H A D | pxa25x_udc.c | 69 static inline void start_watchdog(struct pxa25x_udc *udc) in start_watchdog() argument 72 udc->watchdog.base = get_timer(0); in start_watchdog() 73 udc->watchdog.running = 1; in start_watchdog() 76 static inline void stop_watchdog(struct pxa25x_udc *udc) in stop_watchdog() argument 78 udc->watchdog.running = 0; in stop_watchdog() 82 static inline void test_watchdog(struct pxa25x_udc *udc) in test_watchdog() argument 84 if (!udc->watchdog.running) in test_watchdog() 87 debug("watchdog %ld %ld\n", get_timer(udc->watchdog.base), in test_watchdog() 88 udc->watchdog.period); in test_watchdog() 90 if (get_timer(udc->watchdog.base) >= udc->watchdog.period) { in test_watchdog() [all …]
|
| H A D | at91_udc.h | 94 struct at91_udc *udc; member 108 int (*init)(struct at91_udc *udc); 109 void (*pullup)(struct at91_udc *udc, int is_on);
|
| H A D | atmel_usba_udc.h | 190 #define usba_readl(udc, reg) \ argument 191 __raw_readl((udc)->regs + USBA_##reg) 192 #define usba_writel(udc, reg, value) \ argument 193 __raw_writel((value), (udc)->regs + USBA_##reg) 257 struct usba_udc *udc; member
|
| H A D | pxa25x_udc.h | 112 struct pxa25x_udc *udc; member 114 void (*function)(struct pxa25x_udc *udc);
|
| /rk3399_rockchip-uboot/drivers/ |
| H A D | Makefile | 55 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/ 58 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
|
| /rk3399_rockchip-uboot/board/freescale/m5373evb/ |
| H A D | README | 299 udc: Freescale MCF53xx UDC driver version 27 October 2006 init 300 udc: MCF53xx USB Device is found. ID=0x5 Rev=0x41 i2c /dev entries driver
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | at91sam9261.dtsi | 130 compatible = "atmel,at91sam9261-udc";
|
| H A D | at91sam9n12.dtsi | 1011 compatible = "atmel,at91sam9260-udc";
|
| H A D | at91sam9260.dtsi | 876 compatible = "atmel,at91sam9260-udc";
|
| H A D | at91sam9rl.dtsi | 295 compatible = "atmel,at91sam9rl-udc";
|
| H A D | at91sam9263.dtsi | 882 compatible = "atmel,at91sam9263-udc";
|
| H A D | at91sam9x5.dtsi | 1127 compatible = "atmel,at91sam9g45-udc";
|
| H A D | at91sam9g45.dtsi | 1172 compatible = "atmel,at91sam9g45-udc";
|
| H A D | sama5d3.dtsi | 1375 compatible = "atmel,sama5d3-udc";
|
| H A D | sama5d4.dtsi | 131 compatible = "atmel,sama5d3-udc";
|
| /rk3399_rockchip-uboot/ |
| H A D | Makefile | 700 libs-y += drivers/usb/gadget/udc/
|