| /u-boot/drivers/usb/musb-new/ |
| A D | musb_host.h | 21 static inline struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb() argument 23 return (struct musb *) (hcd->hcd_priv); in hcd_to_musb() 67 extern int musb_hub_status_data(struct usb_hcd *hcd, char *buf); 68 extern int musb_hub_control(struct usb_hcd *hcd, 87 int musb_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags); 88 int musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
|
| A D | usb-compat.h | 48 #define usb_hcd_link_urb_to_ep(hcd, urb) ({ \ argument 52 #define usb_hcd_unlink_urb_from_ep(hcd, urb) list_del_init(&urb->urb_list) argument 55 static inline void usb_hcd_giveback_urb(struct usb_hcd *hcd, in usb_hcd_giveback_urb() argument 64 static inline int usb_hcd_unmap_urb_for_dma(struct usb_hcd *hcd, in usb_hcd_unmap_urb_for_dma() argument
|
| A D | musb_uboot.c | 67 static int submit_urb(struct usb_hcd *hcd, struct urb *urb) in submit_urb() argument 69 struct musb *host = hcd->hcd_priv; in submit_urb() 73 ret = musb_urb_enqueue(hcd, urb, 0); in submit_urb() 88 musb_urb_dequeue(hcd, urb, -ETIME); in submit_urb() 104 return submit_urb(&host->hcd, &host->urb); in _musb_submit_control_msg() 112 return submit_urb(&host->hcd, &host->urb); in _musb_submit_bulk_msg() 121 return submit_urb(&host->hcd, &host->urb); in _musb_submit_int_msg() 148 ret = musb_urb_enqueue(&host->hcd, &queue->urb, 0); in _musb_create_int_queue() 166 musb_urb_dequeue(&host->hcd, &queue->urb, -ETIME); in _musb_destroy_int_queue() 245 host->hcd.hcd_priv = host->host; in musb_lowlevel_init()
|
| A D | musb_uboot.h | 17 struct usb_hcd hcd; member
|
| A D | musb_host.c | 1919 struct usb_hcd *hcd, argument 1963 usb_hcd_unlink_urb_from_ep(hcd, urb); 2057 if (parent != hcd->self.root_hub) { 2114 usb_hcd_unlink_urb_from_ep(hcd, urb); 2189 struct usb_hcd *hcd, argument 2306 struct musb *musb = hcd_to_musb(hcd); 2313 struct musb *musb = hcd_to_musb(hcd); 2318 hcd->state = HC_STATE_RUNNING; 2325 musb_stop(hcd_to_musb(hcd)); 2326 hcd->state = HC_STATE_HALT; [all …]
|
| A D | musb_core.c | 390 hcd->self.is_b_host = 0; in musb_hnp_stop() 715 hcd->self.is_b_host = 1; in musb_stage0_irq() 723 hcd->self.is_b_host = 0; in musb_stage0_irq() 730 if (hcd->status_urb) in musb_stage0_irq() 731 usb_hcd_poll_rh_status(hcd); in musb_stage0_irq() 1840 struct usb_hcd *hcd; in allocate_instance() local 1843 if (!hcd) in allocate_instance() 1847 musb = hcd_to_musb(hcd); in allocate_instance() 1858 hcd->uses_new_polling = 1; in allocate_instance() 1859 hcd->has_tt = 1; in allocate_instance() [all …]
|
| A D | musb_gadget.c | 2023 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_gadget_start() local 2041 hcd->self.uses_pio_for_control = 1; in musb_gadget_start()
|
| /u-boot/drivers/usb/host/ |
| A D | xhci-brcm.c | 35 struct xhci_hccr *hcd; in xhci_brcm_probe() local 43 hcd = dev_read_addr_ptr(dev); in xhci_brcm_probe() 44 if (!hcd) { in xhci_brcm_probe() 49 plat->hc_base = hcd; in xhci_brcm_probe() 50 len = HC_LENGTH(xhci_readl(&hcd->cr_capbase)); in xhci_brcm_probe() 65 ret = xhci_register(dev, hcd, hcor); in xhci_brcm_probe()
|
| A D | xhci-mvebu.c | 29 struct xhci_hccr *hcd; member 49 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe() 50 len = HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase)); in xhci_usb_probe() 51 hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len); in xhci_usb_probe() 65 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
|
| A D | xhci-rcar.c | 44 struct xhci_hccr *hcd; member 50 void __iomem *regs = (void __iomem *)ctx->hcd; in xhci_rcar_download_fw() 96 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_rcar_probe() 97 len = HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase)); in xhci_rcar_probe() 98 hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len); in xhci_rcar_probe() 107 ret = xhci_register(dev, ctx->hcd, hcor); in xhci_rcar_probe()
|
| A D | xhci-exynos5.c | 52 struct xhci_hccr *hcd; member 214 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe() 216 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe() 217 hcor = (struct xhci_hcor *)((uint32_t)ctx->hcd + in xhci_usb_probe() 218 HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase))); in xhci_usb_probe() 230 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
|
| A D | xhci-fsl.c | 128 priv->ctx.hcd = (struct xhci_hccr *)priv->hcd_base; in xhci_fsl_probe() 140 hccr = (struct xhci_hccr *)(priv->ctx.hcd); in xhci_fsl_probe() 182 ctx->hcd = (struct xhci_hccr *)ctr_addr[index]; in xhci_hcd_init() 183 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init() 199 *hccr = (struct xhci_hccr *)ctx->hcd; in xhci_hcd_init()
|
| A D | xhci-mtk.c | 55 struct xhci_hccr *hcd; member 160 mtk->hcd = devfdt_remap_addr_name(dev, "mac"); in xhci_mtk_ofdata_get() 161 if (!mtk->hcd) { in xhci_mtk_ofdata_get() 172 dev_info(dev, "hcd: 0x%p, ippc: 0x%p\n", mtk->hcd, mtk->ippc); in xhci_mtk_ofdata_get() 280 hcor = (struct xhci_hcor *)((uintptr_t)mtk->hcd + in xhci_mtk_probe() 281 HC_LENGTH(xhci_readl(&mtk->hcd->cr_capbase))); in xhci_mtk_probe() 283 return xhci_register(dev, mtk->hcd, hcor); in xhci_mtk_probe()
|
| A D | ehci-exynos.c | 44 struct ehci_hccr *hcd; member 222 ctx->hcd = (struct ehci_hccr *)plat->hcd_base; in ehci_usb_probe() 230 hcor = (struct ehci_hcor *)((uint32_t)ctx->hcd + in ehci_usb_probe() 231 HC_LENGTH(ehci_readl(&ctx->hcd->cr_capbase))); in ehci_usb_probe() 233 return ehci_register(dev, ctx->hcd, hcor, NULL, 0, USB_INIT_HOST); in ehci_usb_probe()
|
| A D | Makefile | 12 obj-$(CONFIG_USB_OHCI_NEW) += ohci-hcd.o 15 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o 16 obj-$(CONFIG_USB_SL811HS) += sl811-hcd.o 23 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
|
| A D | xhci-omap.c | 57 ctx->hcd = (struct xhci_hccr *)OMAP_XHCI_BASE; in xhci_hcd_init() 58 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
|
| /u-boot/include/linux/usb/ |
| A D | xhci-fsl.h | 52 struct xhci_hccr *hcd; member
|
| A D | xhci-omap.h | 136 struct xhci_hccr *hcd; member
|
| /u-boot/drivers/usb/mtu3/ |
| A D | mtu3_plat.c | 280 hcor = (struct xhci_hcor *)((uintptr_t)u3h->hcd + in mtu3_host_probe() 281 HC_LENGTH(xhci_readl(&u3h->hcd->cr_capbase))); in mtu3_host_probe() 283 return xhci_register(dev, u3h->hcd, hcor); in mtu3_host_probe()
|
| A D | mtu3_host.c | 113 u3h->hcd = ssusb->mac_base; in ssusb_host_init()
|
| A D | mtu3.h | 175 struct xhci_hccr *hcd; member
|
| /u-boot/arch/arm/dts/ |
| A D | tegra124.dtsi | 649 reg-names = "hcd", "fpci", "ipfs";
|