Home
last modified time | relevance | path

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

12345

/linux/drivers/usb/core/
H A Dhcd.c416 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len) in rh_string() argument
433 s = hcd->self.bus_name; in rh_string()
437 s = hcd->product_desc; in rh_string()
442 init_utsname()->release, hcd->driver->description); in rh_string()
455 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control() argument
471 status = usb_hcd_link_urb_to_ep(hcd, urb); in rh_call_control()
475 urb->hcpriv = hcd; /* Indicate it's queued */ in rh_call_control()
522 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
530 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control()
535 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
[all …]
H A Dhcd-pci.c41 typedef void (*companion_fn)(struct pci_dev *pdev, struct usb_hcd *hcd,
45 static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd, in for_each_companion() argument
74 fn(pdev, hcd, companion, companion_hcd); in for_each_companion()
84 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_pre_add() argument
101 static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_post_add() argument
110 companion_hcd->self.hs_companion = &hcd->self; in ehci_post_add()
122 static void non_ehci_add(struct pci_dev *pdev, struct usb_hcd *hcd, in non_ehci_add() argument
128 hcd->self.hs_companion = &companion_hcd->self; in non_ehci_add()
133 static void ehci_remove(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_remove() argument
143 static void ehci_wait_for_companions(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_wait_for_companions() argument
[all …]
H A Dbuffer.c65 int hcd_buffer_create(struct usb_hcd *hcd) in hcd_buffer_create() argument
70 if (hcd->localmem_pool || !hcd_uses_dma(hcd)) in hcd_buffer_create()
78 hcd->pool[i] = dma_pool_create(name, hcd->self.sysdev, in hcd_buffer_create()
80 if (!hcd->pool[i]) { in hcd_buffer_create()
81 hcd_buffer_destroy(hcd); in hcd_buffer_create()
97 void hcd_buffer_destroy(struct usb_hcd *hcd) in hcd_buffer_destroy() argument
105 dma_pool_destroy(hcd->pool[i]); in hcd_buffer_destroy()
106 hcd->pool[i] = NULL; in hcd_buffer_destroy()
122 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_alloc() local
128 if (hcd->localmem_pool) in hcd_buffer_alloc()
[all …]
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c41 typedef void (packet_enqueue)(struct usb_hcd *hcd, struct isp1760_qh *qh,
44 static inline struct isp1760_hcd *hcd_to_priv(struct usb_hcd *hcd) in hcd_to_priv() argument
46 return *(struct isp1760_hcd **)hcd->hcd_priv; in hcd_to_priv()
200 static u32 isp1760_hcd_read(struct usb_hcd *hcd, u32 field) in isp1760_hcd_read() argument
202 struct isp1760_hcd *priv = hcd_to_priv(hcd); in isp1760_hcd_read()
225 static void isp1760_hcd_write(struct usb_hcd *hcd, u32 field, u32 val) in isp1760_hcd_write() argument
227 struct isp1760_hcd *priv = hcd_to_priv(hcd); in isp1760_hcd_write()
235 static void isp1760_hcd_set(struct usb_hcd *hcd, u32 field) in isp1760_hcd_set() argument
237 isp1760_hcd_write(hcd, field, 0xFFFFFFFF); in isp1760_hcd_set()
240 static void isp1760_hcd_clear(struct usb_hcd *hcd, u32 field) in isp1760_hcd_clear() argument
[all …]
/linux/drivers/usb/host/
H A Dohci-da8xx.c33 static int (*orig_ohci_hub_control)(struct usb_hcd *hcd, u16 typeReq,
35 static int (*orig_ohci_hub_status_data)(struct usb_hcd *hcd, char *buf);
38 struct usb_hcd *hcd; member
46 #define to_da8xx_ohci(hcd) (struct da8xx_ohci_hcd *)(hcd_to_ohci(hcd)->priv) argument
51 static int ohci_da8xx_enable(struct usb_hcd *hcd) in ohci_da8xx_enable() argument
53 struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd); in ohci_da8xx_enable()
78 static void ohci_da8xx_disable(struct usb_hcd *hcd) in ohci_da8xx_disable() argument
80 struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd); in ohci_da8xx_disable()
87 static int ohci_da8xx_set_power(struct usb_hcd *hcd, int on) in ohci_da8xx_set_power() argument
89 struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd); in ohci_da8xx_set_power()
[all …]
H A Dehci-fsl.c50 struct usb_hcd *hcd; in fsl_ehci_drv_probe() local
83 hcd = __usb_create_hcd(&fsl_ehci_hc_driver, pdev->dev.parent, in fsl_ehci_drv_probe()
85 if (!hcd) { in fsl_ehci_drv_probe()
90 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in fsl_ehci_drv_probe()
91 if (IS_ERR(hcd->regs)) { in fsl_ehci_drv_probe()
92 retval = PTR_ERR(hcd->regs); in fsl_ehci_drv_probe()
96 hcd->rsrc_start = res->start; in fsl_ehci_drv_probe()
97 hcd->rsrc_len = resource_size(res); in fsl_ehci_drv_probe()
99 pdata->regs = hcd->regs; in fsl_ehci_drv_probe()
102 hcd->power_budget = pdata->power_budget; in fsl_ehci_drv_probe()
[all …]
H A Dohci-ps3.c12 static int ps3_ohci_hc_reset(struct usb_hcd *hcd) in ps3_ohci_hc_reset() argument
14 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ps3_ohci_hc_reset()
21 static int ps3_ohci_hc_start(struct usb_hcd *hcd) in ps3_ohci_hc_start() argument
24 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ps3_ohci_hc_start()
36 dev_err(hcd->self.controller, "can't start %s\n", in ps3_ohci_hc_start()
37 hcd->self.bus_name); in ps3_ohci_hc_start()
38 ohci_stop(hcd); in ps3_ohci_hc_start()
70 struct usb_hcd *hcd; in ps3_ohci_probe() local
122 hcd = usb_create_hcd(&ps3_ohci_hc_driver, &dev->core, dev_name(&dev->core)); in ps3_ohci_probe()
124 if (!hcd) { in ps3_ohci_probe()
[all …]
H A Dohci-sa1111.c44 static void dump_hci_status(struct usb_hcd *hcd, const char *label)
46 unsigned long status = readl_relaxed(hcd->regs + USB_STATUS);
57 static int ohci_sa1111_reset(struct usb_hcd *hcd) in ohci_sa1111_reset() argument
59 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_sa1111_reset()
65 static int ohci_sa1111_start(struct usb_hcd *hcd) in ohci_sa1111_start() argument
67 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_sa1111_start()
73 ohci_stop(hcd); in ohci_sa1111_start()
178 struct usb_hcd *hcd; in ohci_hcd_sa1111_probe() local
190 hcd = usb_create_hcd(&ohci_sa1111_hc_driver, &dev->dev, "sa1111"); in ohci_hcd_sa1111_probe()
191 if (!hcd) in ohci_hcd_sa1111_probe()
[all …]
H A Dehci-ps3.c40 static int ps3_ehci_hc_reset(struct usb_hcd *hcd) in ps3_ehci_hc_reset() argument
43 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ps3_ehci_hc_reset()
46 ehci->caps = hcd->regs; in ps3_ehci_hc_reset()
48 result = ehci_setup(hcd); in ps3_ehci_hc_reset()
87 struct usb_hcd *hcd; in ps3_ehci_probe() local
138 hcd = usb_create_hcd(&ps3_ehci_hc_driver, &dev->core, dev_name(&dev->core)); in ps3_ehci_probe()
140 if (!hcd) { in ps3_ehci_probe()
147 hcd->rsrc_start = dev->m_region->lpar_addr; in ps3_ehci_probe()
148 hcd->rsrc_len = dev->m_region->len; in ps3_ehci_probe()
150 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) in ps3_ehci_probe()
[all …]
H A Dehci-sh.c14 struct usb_hcd *hcd; member
17 static int ehci_sh_reset(struct usb_hcd *hcd) in ehci_sh_reset() argument
19 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_sh_reset()
21 ehci->caps = hcd->regs; in ehci_sh_reset()
23 return ehci_setup(hcd); in ehci_sh_reset()
78 struct usb_hcd *hcd; in ehci_hcd_sh_probe() local
91 hcd = usb_create_hcd(&ehci_sh_hc_driver, &pdev->dev, in ehci_hcd_sh_probe()
93 if (!hcd) { in ehci_hcd_sh_probe()
98 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in ehci_hcd_sh_probe()
99 if (IS_ERR(hcd->regs)) { in ehci_hcd_sh_probe()
[all …]
H A Dohci-pci.c35 static int broken_suspend(struct usb_hcd *hcd) in broken_suspend() argument
37 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
44 static int ohci_quirk_amd756(struct usb_hcd *hcd) in ohci_quirk_amd756() argument
46 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_quirk_amd756()
52 return broken_suspend(hcd); in ohci_quirk_amd756()
59 static int ohci_quirk_opti(struct usb_hcd *hcd) in ohci_quirk_opti() argument
61 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_quirk_opti()
72 static int ohci_quirk_ns(struct usb_hcd *hcd) in ohci_quirk_ns() argument
74 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_quirk_ns()
80 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_quirk_ns()
[all …]
H A Dohci-spear.c30 #define to_spear_ohci(hcd) (struct spear_ohci *)(hcd_to_ohci(hcd)->priv) argument
37 struct usb_hcd *hcd = NULL; in spear_ohci_hcd_drv_probe() local
65 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in spear_ohci_hcd_drv_probe()
66 if (!hcd) { in spear_ohci_hcd_drv_probe()
71 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in spear_ohci_hcd_drv_probe()
72 if (IS_ERR(hcd->regs)) { in spear_ohci_hcd_drv_probe()
73 retval = PTR_ERR(hcd->regs); in spear_ohci_hcd_drv_probe()
77 hcd->rsrc_start = res->start; in spear_ohci_hcd_drv_probe()
78 hcd->rsrc_len = resource_size(res); in spear_ohci_hcd_drv_probe()
80 sohci_p = to_spear_ohci(hcd); in spear_ohci_hcd_drv_probe()
[all …]
H A DMakefile9 fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o
14 xhci-hcd-y := xhci.o xhci-mem.o xhci-ext-caps.o
15 xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
16 xhci-hcd-y += xhci-trace.o
19 xhci-hcd-y += xhci-dbgcap.o xhci-dbgtty.o
22 xhci-mtk-hcd-y := xhci-mtk.o xhci-mtk-sch.o
24 xhci-plat-hcd-y := xhci-plat.o
26 xhci-plat-hcd-y += xhci-mvebu.o
29 xhci-hcd-y += xhci-debugfs.o
32 xhci-rcar-hcd-y += xhci-rcar.o
[all …]
H A Dxhci-pci.c101 static int xhci_pci_setup(struct usb_hcd *hcd);
102 static int xhci_pci_run(struct usb_hcd *hcd);
103 static int xhci_pci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev,
118 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_msix_sync_irqs() local
120 if (hcd->msix_enabled) { in xhci_msix_sync_irqs()
121 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_msix_sync_irqs()
131 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cleanup_msix() local
132 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_cleanup_msix()
134 if (hcd->irq > 0) in xhci_cleanup_msix()
139 hcd->msix_enabled = 0; in xhci_cleanup_msix()
[all …]
H A Dohci-at91.c98 struct usb_hcd *hcd = platform_get_drvdata(pdev); in at91_start_hc() local
99 struct ohci_regs __iomem *regs = hcd->regs; in at91_start_hc()
100 struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); in at91_start_hc()
117 struct usb_hcd *hcd = platform_get_drvdata(pdev); in at91_stop_hc() local
118 struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); in at91_stop_hc()
186 struct usb_hcd *hcd; in usb_hcd_at91_probe() local
196 hcd = usb_create_hcd(driver, dev, dev_name(dev)); in usb_hcd_at91_probe()
197 if (!hcd) in usb_hcd_at91_probe()
199 ohci_at91 = hcd_to_ohci_at91_priv(hcd); in usb_hcd_at91_probe()
201 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in usb_hcd_at91_probe()
[all …]
H A Dehci-platform.c57 static int ehci_platform_reset(struct usb_hcd *hcd) in ehci_platform_reset() argument
59 struct platform_device *pdev = to_platform_device(hcd->self.controller); in ehci_platform_reset()
61 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_platform_reset()
67 retval = pdata->pre_setup(hcd); in ehci_platform_reset()
72 ehci->caps = hcd->regs + pdata->caps_offset; in ehci_platform_reset()
73 retval = ehci_setup(hcd); in ehci_platform_reset()
89 struct usb_hcd *hcd = platform_get_drvdata(dev); in ehci_platform_power_on() local
90 struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd); in ehci_platform_power_on()
110 struct usb_hcd *hcd = platform_get_drvdata(dev); in ehci_platform_power_off() local
111 struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd); in ehci_platform_power_off()
[all …]
H A Duhci-platform.c16 static int uhci_platform_init(struct usb_hcd *hcd) in uhci_platform_init() argument
18 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_platform_init()
22 uhci->rh_numports = uhci_count_ports(hcd); in uhci_platform_init()
72 struct usb_hcd *hcd; in uhci_hcd_platform_probe() local
93 hcd = usb_create_hcd(&uhci_platform_hc_driver, &pdev->dev, in uhci_hcd_platform_probe()
95 if (!hcd) in uhci_hcd_platform_probe()
98 uhci = hcd_to_uhci(hcd); in uhci_hcd_platform_probe()
100 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in uhci_hcd_platform_probe()
101 if (IS_ERR(hcd->regs)) { in uhci_hcd_platform_probe()
102 ret = PTR_ERR(hcd->regs); in uhci_hcd_platform_probe()
[all …]
H A Dohci-platform.c46 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_platform_power_on() local
47 struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd); in ohci_platform_power_on()
67 struct usb_hcd *hcd = platform_get_drvdata(dev); in ohci_platform_power_off() local
68 struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd); in ohci_platform_power_off()
90 struct usb_hcd *hcd; in ohci_platform_probe() local
115 hcd = usb_create_hcd(&ohci_platform_hc_driver, &dev->dev, in ohci_platform_probe()
117 if (!hcd) in ohci_platform_probe()
120 platform_set_drvdata(dev, hcd); in ohci_platform_probe()
122 priv = hcd_to_ohci_priv(hcd); in ohci_platform_probe()
123 ohci = hcd_to_ohci(hcd); in ohci_platform_probe()
[all …]
H A Dxhci-mtk.c142 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_set_frame_interval() local
148 value = readl(hcd->regs + HFCNTR_CFG); in xhci_mtk_set_frame_interval()
151 writel(value, hcd->regs + HFCNTR_CFG); in xhci_mtk_set_frame_interval()
153 value = readl(hcd->regs + LS_EOF_CFG); in xhci_mtk_set_frame_interval()
156 writel(value, hcd->regs + LS_EOF_CFG); in xhci_mtk_set_frame_interval()
158 value = readl(hcd->regs + FS_EOF_CFG); in xhci_mtk_set_frame_interval()
161 writel(value, hcd->regs + FS_EOF_CFG); in xhci_mtk_set_frame_interval()
163 value = readl(hcd->regs + SS_GEN1_EOF_CFG); in xhci_mtk_set_frame_interval()
166 writel(value, hcd->regs + SS_GEN1_EOF_CFG); in xhci_mtk_set_frame_interval()
168 value = readl(hcd->regs + SS_GEN2_EOF_CFG); in xhci_mtk_set_frame_interval()
[all …]
H A Duhci-pci.c114 static int uhci_pci_init(struct usb_hcd *hcd) in uhci_pci_init() argument
116 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_pci_init()
118 uhci->io_addr = (unsigned long) hcd->rsrc_start; in uhci_pci_init()
120 uhci->rh_numports = uhci_count_ports(hcd); in uhci_pci_init()
165 struct usb_hcd *hcd = pci_get_drvdata(pdev); in uhci_shutdown() local
167 uhci_hc_died(hcd_to_uhci(hcd)); in uhci_shutdown()
172 static int uhci_pci_resume(struct usb_hcd *hcd, pm_message_t state);
174 static int uhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) in uhci_pci_suspend() argument
176 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_pci_suspend()
183 if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) in uhci_pci_suspend()
[all …]
H A Dxhci-hub.c279 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb2_hub_descriptor() argument
334 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb3_hub_descriptor() argument
367 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_hub_descriptor() argument
371 if (hcd->speed >= HCD_USB3) in xhci_hub_descriptor()
372 xhci_usb3_hub_descriptor(hcd, xhci, desc); in xhci_hub_descriptor()
374 xhci_usb2_hub_descriptor(hcd, xhci, desc); in xhci_hub_descriptor()
552 struct usb_hcd *hcd; in xhci_disable_port() local
555 hcd = port->rhub->hcd; in xhci_disable_port()
558 if (hcd->speed >= HCD_USB3) { in xhci_disable_port()
577 hcd->self.busnum, port->hcd_portnum + 1, portsc); in xhci_disable_port()
[all …]
/linux/drivers/usb/usbip/
H A Dvhci_hcd.c34 static int vhci_hub_status(struct usb_hcd *hcd, char *buff);
35 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
37 static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
39 static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
41 static void vhci_stop(struct usb_hcd *hcd);
42 static int vhci_get_frame_number(struct usb_hcd *hcd);
229 static int vhci_hub_status(struct usb_hcd *hcd, char *buf) in vhci_hub_status() argument
231 struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd); in vhci_hub_status()
241 if (!HCD_HW_ACCESSIBLE(hcd)) { in vhci_hub_status()
257 if ((hcd->state == HC_STATE_SUSPENDED) && (changed == 1)) in vhci_hub_status()
[all …]
/linux/include/linux/usb/
H A Dhcd.h119 #define HCD_HW_ACCESSIBLE(hcd) ((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE)) argument
120 #define HCD_POLL_RH(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_RH)) argument
121 #define HCD_POLL_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_PENDING)) argument
122 #define HCD_WAKEUP_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_WAKEUP_PENDING)) argument
123 #define HCD_RH_RUNNING(hcd) ((hcd)->flags & (1U << HCD_FLAG_RH_RUNNING)) argument
124 #define HCD_DEAD(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEAD)) argument
125 #define HCD_DEFER_RH_REGISTER(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEFER_RH_REGISTER)) argument
132 #define HCD_INTF_AUTHORIZED(hcd) \ argument
133 ((hcd)->flags & (1U << HCD_FLAG_INTF_AUTHORIZED))
224 static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd) in hcd_to_bus() argument
[all …]
/linux/drivers/staging/greybus/
H A Dusb.c38 static inline struct gb_usb_device *to_gb_usb_device(struct usb_hcd *hcd) in to_gb_usb_device() argument
40 return (struct gb_usb_device *)hcd->hcd_priv; in to_gb_usb_device()
48 static void hcd_stop(struct usb_hcd *hcd) in hcd_stop() argument
50 struct gb_usb_device *dev = to_gb_usb_device(hcd); in hcd_stop()
59 static int hcd_start(struct usb_hcd *hcd) in hcd_start() argument
61 struct usb_bus *bus = hcd_to_bus(hcd); in hcd_start()
62 struct gb_usb_device *dev = to_gb_usb_device(hcd); in hcd_start()
72 hcd->state = HC_STATE_RUNNING; in hcd_start()
74 usb_hcd_resume_root_hub(hcd); in hcd_start()
78 static int urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) in urb_enqueue() argument
[all …]
/linux/drivers/usb/c67x00/
H A Dc67x00-hcd.c47 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf) in c67x00_hub_status_data() argument
49 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hub_status_data()
66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in c67x00_hub_control() argument
69 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hub_control()
239 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_irq() local
250 if (unlikely(hcd->state == HC_STATE_HALT)) in c67x00_hcd_irq()
253 if (!HCD_HW_ACCESSIBLE(hcd)) in c67x00_hcd_irq()
266 static int c67x00_hcd_start(struct usb_hcd *hcd) in c67x00_hcd_start() argument
268 hcd->uses_new_polling = 1; in c67x00_hcd_start()
269 hcd->state = HC_STATE_RUNNING; in c67x00_hcd_start()
[all …]

12345