Home
last modified time | relevance | path

Searched refs:hcd (Results 1 – 25 of 39) sorted by relevance

12

/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h73 void (*irq) (struct usb_hcd *hcd, struct pt_regs *regs);
75 int (*start) (struct usb_hcd *hcd);
76 int (*suspend) (struct usb_hcd *hcd, __u32 state);
77 int (*resume) (struct usb_hcd *hcd);
78 void (*stop) (struct usb_hcd *hcd);
79 int (*get_frame_number) (struct usb_hcd *hcd);
81 void (*hcd_free) (struct usb_hcd *hcd);
82 int (*urb_enqueue) (struct usb_hcd *hcd, struct urb *urb,
84 int (*urb_dequeue) (struct usb_hcd *hcd, struct urb *urb);
85 void (*free_config) (struct usb_hcd *hcd,
[all …]
Dtusb.c387 struct usb_hcd *hcd = NULL; in test_hcd_probe() local
404 hcd = pci_get_drvdata(pdev); in test_hcd_probe()
406 if (!hcd) { in test_hcd_probe()
410 release_region(pci_resource_start(pdev, hcd->region), in test_hcd_probe()
411 pci_resource_len(pdev, hcd->region)); in test_hcd_probe()
435 struct usb_hcd *hcd = NULL; in test_hcd_remove() local
444 hcd = pci_get_drvdata(pdev); in test_hcd_remove()
451 hcd->driver->stop(hcd); in test_hcd_remove()
/external/u-boot/drivers/usb/host/
Dxhci-keystone.c36 struct xhci_hccr *hcd; member
91 struct xhci_hccr *hcd; in xhci_hcd_init() local
127 hcd = (struct xhci_hccr *)CONFIG_USB_HOST_XHCI_BASE; in xhci_hcd_init()
134 hcor = (struct xhci_hcor *)((uint32_t)hcd + in xhci_hcd_init()
135 HC_LENGTH(readl(&hcd->cr_capbase))); in xhci_hcd_init()
138 (u32)hcd, (u32)hcor, in xhci_hcd_init()
139 (u32)HC_LENGTH(xhci_readl(&hcd->cr_capbase))); in xhci_hcd_init()
143 keystone.hcd = hcd; in xhci_hcd_init()
146 *ret_hccr = hcd; in xhci_hcd_init()
Dxhci-zynqmp.c60 struct xhci_hccr *hcd; member
101 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe()
102 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
110 hcor = (struct xhci_hcor *)((ulong)ctx->hcd + in xhci_usb_probe()
111 HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase))); in xhci_usb_probe()
113 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
Dxhci-mvebu.c28 struct xhci_hccr *hcd; member
48 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe()
49 len = HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase)); in xhci_usb_probe()
50 hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len); in xhci_usb_probe()
64 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
Dxhci-rcar.c40 struct xhci_hccr *hcd; member
46 void __iomem *regs = (void __iomem *)ctx->hcd; in xhci_rcar_download_fw()
92 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_rcar_probe()
93 len = HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase)); in xhci_rcar_probe()
94 hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len); in xhci_rcar_probe()
103 ret = xhci_register(dev, ctx->hcd, hcor); in xhci_rcar_probe()
Dxhci-rockchip.c30 struct xhci_hccr *hcd; member
125 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe()
126 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
127 hcor = (struct xhci_hcor *)((uint64_t)ctx->hcd + in xhci_usb_probe()
128 HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase))); in xhci_usb_probe()
144 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
Dxhci-exynos5.c49 struct xhci_hccr *hcd; member
211 ctx->hcd = (struct xhci_hccr *)plat->hcd_base; in xhci_usb_probe()
213 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_usb_probe()
214 hcor = (struct xhci_hcor *)((uint32_t)ctx->hcd + in xhci_usb_probe()
215 HC_LENGTH(xhci_readl(&ctx->hcd->cr_capbase))); in xhci_usb_probe()
227 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
Dxhci-fsl.c127 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()
Dehci-exynos.c41 struct ehci_hccr *hcd; member
219 ctx->hcd = (struct ehci_hccr *)plat->hcd_base; in ehci_usb_probe()
227 hcor = (struct ehci_hcor *)((uint32_t)ctx->hcd + in ehci_usb_probe()
228 HC_LENGTH(ehci_readl(&ctx->hcd->cr_capbase))); in ehci_usb_probe()
230 return ehci_register(dev, ctx->hcd, hcor, NULL, 0, USB_INIT_HOST); in ehci_usb_probe()
DMakefile12 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
Dxhci-omap.c56 ctx->hcd = (struct xhci_hccr *)OMAP_XHCI_BASE; in xhci_hcd_init()
57 ctx->dwc3_reg = (struct dwc3 *)((char *)(ctx->hcd) + DWC3_REG_OFFSET); in xhci_hcd_init()
/external/u-boot/drivers/usb/musb-new/
Dmusb_host.h21 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);
Dusb-compat.h47 #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
Dmusb_uboot.c63 static int submit_urb(struct usb_hcd *hcd, struct urb *urb) in submit_urb() argument
65 struct musb *host = hcd->hcd_priv; in submit_urb()
69 ret = musb_urb_enqueue(hcd, urb, 0); in submit_urb()
84 musb_urb_dequeue(hcd, urb, -ETIME); in submit_urb()
100 return submit_urb(&host->hcd, &host->urb); in _musb_submit_control_msg()
108 return submit_urb(&host->hcd, &host->urb); in _musb_submit_bulk_msg()
117 return submit_urb(&host->hcd, &host->urb); in _musb_submit_int_msg()
144 ret = musb_urb_enqueue(&host->hcd, &queue->urb, 0); in _musb_create_int_queue()
162 musb_urb_dequeue(&host->hcd, &queue->urb, -ETIME); in _musb_destroy_int_queue()
241 host->hcd.hcd_priv = host->host; in musb_lowlevel_init()
Dmusb_host.c1914 struct usb_hcd *hcd, argument
1919 struct musb *musb = hcd_to_musb(hcd);
1932 ret = usb_hcd_link_urb_to_ep(hcd, urb);
1958 usb_hcd_unlink_urb_from_ep(hcd, urb);
2052 if (parent != hcd->self.root_hub) {
2109 usb_hcd_unlink_urb_from_ep(hcd, urb);
2184 struct usb_hcd *hcd, argument
2188 struct musb *musb = hcd_to_musb(hcd);
2200 ret = usb_hcd_check_unlink_urb(hcd, urb, status);
2247 musb_h_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) argument
[all …]
Dmusb_core.c369 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_hnp_stop() local
383 hcd->self.is_b_host = 0; in musb_hnp_stop()
668 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_stage0_irq() local
708 hcd->self.is_b_host = 1; in musb_stage0_irq()
716 hcd->self.is_b_host = 0; in musb_stage0_irq()
723 if (hcd->status_urb) in musb_stage0_irq()
724 usb_hcd_poll_rh_status(hcd); in musb_stage0_irq()
726 usb_hcd_resume_root_hub(hcd); in musb_stage0_irq()
1832 struct usb_hcd *hcd; in allocate_instance() local
1834 hcd = usb_create_hcd(&musb_hc_driver, dev, dev_name(dev)); in allocate_instance()
[all …]
Dmusb_uboot.h17 struct usb_hcd hcd; member
/external/llvm/test/Analysis/BasicAA/
D2007-11-05-SizeCrash.ll15 define i32 @uhci_suspend(%struct.usb_hcd* %hcd) {
17 %tmp17 = getelementptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 2, i64 1
24 %tmp631 = getelementptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 2, i64
D2007-12-08-OutOfBoundsCrash.ll14 define i32 @ehci_pci_setup(%struct.usb_hcd* %hcd) {
16 …%tmp14 = getelementptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 0, i32 0 ; <%struct.dev…
24 …%tmp601 = getelementptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 1, i64 2305843009213693…
/external/swiftshader/third_party/LLVM/test/Analysis/BasicAA/
D2007-11-05-SizeCrash.ll15 define i32 @uhci_suspend(%struct.usb_hcd* %hcd) {
17 %tmp17 = getelementptr %struct.usb_hcd* %hcd, i32 0, i32 2, i64 1
24 %tmp631 = getelementptr %struct.usb_hcd* %hcd, i32 0, i32 2, i64
D2007-12-08-OutOfBoundsCrash.ll14 define i32 @ehci_pci_setup(%struct.usb_hcd* %hcd) {
16 %tmp14 = getelementptr %struct.usb_hcd* %hcd, i32 0, i32 0, i32 0 ; <%struct.device**> [#uses=1]
24 …%tmp601 = getelementptr %struct.usb_hcd* %hcd, i32 0, i32 1, i64 2305843009213693951 ; <i64*> [#u…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/BasicAA/
D2007-11-05-SizeCrash.ll15 define i32 @uhci_suspend(%struct.usb_hcd* %hcd) {
17 %tmp17 = getelementptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 2, i64 1
24 %tmp631 = getelementptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 2, i64
D2007-12-08-OutOfBoundsCrash.ll14 define i32 @ehci_pci_setup(%struct.usb_hcd* %hcd) {
16 …%tmp14 = getelementptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 0, i32 0 ; <%struct.dev…
24 …%tmp601 = getelementptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 1, i64 2305843009213693…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/
Davailable_events600 xhci-hcd:xhci_dbg_address
601 xhci-hcd:xhci_dbg_context_change
602 xhci-hcd:xhci_dbg_quirks
603 xhci-hcd:xhci_dbg_reset_ep
604 xhci-hcd:xhci_dbg_cancel_urb
605 xhci-hcd:xhci_dbg_init
606 xhci-hcd:xhci_dbg_ring_expansion
607 xhci-hcd:xhci_address_ctx
608 xhci-hcd:xhci_cmd_completion

12