| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | xhci-keystone.c | 37 struct xhci_hccr *hcd; member 92 struct xhci_hccr *hcd; in xhci_hcd_init() local 128 hcd = (struct xhci_hccr *)CONFIG_USB_HOST_XHCI_BASE; in xhci_hcd_init() 135 hcor = (struct xhci_hcor *)((uint32_t)hcd + in xhci_hcd_init() 136 HC_LENGTH(readl(&hcd->cr_capbase))); in xhci_hcd_init() 139 (u32)hcd, (u32)hcor, in xhci_hcd_init() 140 (u32)HC_LENGTH(xhci_readl(&hcd->cr_capbase))); in xhci_hcd_init() 144 keystone.hcd = hcd; in xhci_hcd_init() 147 *ret_hccr = hcd; in xhci_hcd_init()
|
| H A D | xhci-mvebu.c | 31 struct xhci_hccr *hcd; member 51 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe() 52 len = HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase)); in xhci_usb_probe() 53 hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len); in xhci_usb_probe() 67 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
|
| H A D | xhci-zynqmp.c | 63 struct xhci_hccr *hcd; member 104 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe() 105 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe() 113 hcor = (struct xhci_hcor *)((ulong)ctx->hcd + in xhci_usb_probe() 114 HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase))); in xhci_usb_probe() 116 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
|
| H A D | xhci-rcar.c | 41 struct xhci_hccr *hcd; member 47 void __iomem *regs = (void __iomem *)ctx->hcd; in xhci_rcar_download_fw() 105 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_rcar_probe() 106 len = HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase)); in xhci_rcar_probe() 107 hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len); in xhci_rcar_probe() 116 ret = xhci_register(dev, ctx->hcd, hcor); in xhci_rcar_probe()
|
| H A D | xhci-exynos5.c | 50 struct xhci_hccr *hcd; member 212 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe() 214 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe() 215 hcor = (struct xhci_hcor *)((uint32_t)ctx->hcd + in xhci_usb_probe() 216 HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase))); in xhci_usb_probe() 228 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
|
| H A D | xhci-fsl.c | 127 priv->ctx.hcd = (struct xhci_hccr *)priv->hcd_base; in xhci_fsl_probe() 139 hccr = (struct xhci_hccr *)(priv->ctx.hcd); in xhci_fsl_probe() 181 ctx->hcd = (struct xhci_hccr *)ctr_addr[index]; in xhci_hcd_init() 182 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init() 198 *hccr = (struct xhci_hccr *)ctx->hcd; in xhci_hcd_init()
|
| H A D | Makefile | 14 obj-$(CONFIG_USB_OHCI_NEW) += ohci-hcd.o 17 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o 18 obj-$(CONFIG_USB_SL811HS) += sl811-hcd.o 25 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
|
| H A D | ehci-exynos.c | 42 struct ehci_hccr *hcd; member 220 ctx->hcd = (struct ehci_hccr *)plat->hcd_base; in ehci_usb_probe() 228 hcor = (struct ehci_hcor *)((uint32_t)ctx->hcd + in ehci_usb_probe() 229 HC_LENGTH(ehci_readl(&ctx->hcd->cr_capbase))); in ehci_usb_probe() 231 return ehci_register(dev, ctx->hcd, hcor, NULL, 0, USB_INIT_HOST); in ehci_usb_probe()
|
| H A D | xhci-omap.c | 59 ctx->hcd = (struct xhci_hccr *)OMAP_XHCI_BASE; in xhci_hcd_init() 60 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
|
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_host.h | 22 static inline struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb() argument 24 return (struct musb *) (hcd->hcd_priv); in hcd_to_musb() 68 extern int musb_hub_status_data(struct usb_hcd *hcd, char *buf); 69 extern int musb_hub_control(struct usb_hcd *hcd, 88 int musb_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags); 89 int musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
|
| H A D | usb-compat.h | 47 #define usb_hcd_link_urb_to_ep(hcd, urb) ({ \ argument 51 #define usb_hcd_unlink_urb_from_ep(hcd, urb) list_del_init(&urb->urb_list) argument 54 static inline void usb_hcd_giveback_urb(struct usb_hcd *hcd, in usb_hcd_giveback_urb() argument 63 static inline int usb_hcd_unmap_urb_for_dma(struct usb_hcd *hcd, in usb_hcd_unmap_urb_for_dma() argument
|
| H A D | musb_uboot.c | 66 static int submit_urb(struct usb_hcd *hcd, struct urb *urb) in submit_urb() argument 68 struct musb *host = hcd->hcd_priv; in submit_urb() 72 ret = musb_urb_enqueue(hcd, urb, 0); in submit_urb() 87 musb_urb_dequeue(hcd, urb, -ETIME); in submit_urb() 103 return submit_urb(&host->hcd, &host->urb); in _musb_submit_control_msg() 111 return submit_urb(&host->hcd, &host->urb); in _musb_submit_bulk_msg() 120 return submit_urb(&host->hcd, &host->urb); in _musb_submit_int_msg() 147 ret = musb_urb_enqueue(&host->hcd, &queue->urb, 0); in _musb_create_int_queue() 165 musb_urb_dequeue(&host->hcd, &queue->urb, -ETIME); in _musb_destroy_int_queue() 247 host->hcd.hcd_priv = host->host; in musb_lowlevel_init()
|
| H A D | musb_uboot.h | 18 struct usb_hcd hcd; member
|
| H A D | musb_host.c | 1915 struct usb_hcd *hcd, argument 1920 struct musb *musb = hcd_to_musb(hcd); 1933 ret = usb_hcd_link_urb_to_ep(hcd, urb); 1959 usb_hcd_unlink_urb_from_ep(hcd, urb); 2053 if (parent != hcd->self.root_hub) { 2110 usb_hcd_unlink_urb_from_ep(hcd, urb); 2185 struct usb_hcd *hcd, argument 2189 struct musb *musb = hcd_to_musb(hcd); 2201 ret = usb_hcd_check_unlink_urb(hcd, urb, status); 2248 musb_h_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) argument [all …]
|
| H A D | musb_core.c | 370 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_hnp_stop() local 384 hcd->self.is_b_host = 0; in musb_hnp_stop() 669 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_stage0_irq() local 709 hcd->self.is_b_host = 1; in musb_stage0_irq() 717 hcd->self.is_b_host = 0; in musb_stage0_irq() 724 if (hcd->status_urb) in musb_stage0_irq() 725 usb_hcd_poll_rh_status(hcd); in musb_stage0_irq() 727 usb_hcd_resume_root_hub(hcd); in musb_stage0_irq() 1833 struct usb_hcd *hcd; in allocate_instance() local 1835 hcd = usb_create_hcd(&musb_hc_driver, dev, dev_name(dev)); in allocate_instance() [all …]
|
| H A D | musb_gadget.c | 2007 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_gadget_start() local 2025 hcd->self.uses_pio_for_control = 1; in musb_gadget_start()
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H A D | xhci-fsl.h | 53 struct xhci_hccr *hcd; member
|
| H A D | xhci-omap.h | 137 struct xhci_hccr *hcd; member
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | tegra124.dtsi | 649 reg-names = "hcd", "fpci", "ipfs";
|