Searched refs:hcd (Results 26 - 50 of 173) sorted by relevance

1234567

/linux-master/drivers/usb/host/
H A Dohci-s3c2410.c30 #include <linux/usb/hcd.h>
37 /* clock device associated with the hcd */
53 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) argument
55 return dev_get_platdata(hcd->self.controller);
58 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) argument
70 info->hcd = hcd;
86 info->hcd = NULL;
103 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf) argument
105 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd);
160 ohci_s3c2410_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
335 struct usb_hcd *hcd = platform_get_drvdata(dev); local
354 struct usb_hcd *hcd = NULL; local
416 struct usb_hcd *hcd = dev_get_drvdata(dev); local
432 struct usb_hcd *hcd = dev_get_drvdata(dev); local
[all...]
H A Dohci-ppc-of.c24 ohci_ppc_of_start(struct usb_hcd *hcd) argument
26 struct ohci_hcd *ohci = hcd_to_ohci(hcd);
33 dev_err(hcd->self.controller, "can't start %s\n",
34 hcd->self.bus_name);
35 ohci_stop(hcd);
88 struct usb_hcd *hcd; local
110 hcd = usb_create_hcd(&ohci_ppc_of_hc_driver, &op->dev, "PPC-OF USB");
111 if (!hcd)
114 hcd->rsrc_start = res.start;
115 hcd
182 struct usb_hcd *hcd = platform_get_drvdata(op); local
[all...]
H A Dohci-pci.c23 #include <linux/usb/hcd.h>
35 static int broken_suspend(struct usb_hcd *hcd) argument
37 device_init_wakeup(&hcd->self.root_hub->dev, 0);
44 static int ohci_quirk_amd756(struct usb_hcd *hcd) argument
46 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
52 return broken_suspend(hcd);
59 static int ohci_quirk_opti(struct usb_hcd *hcd) argument
61 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
72 static int ohci_quirk_ns(struct usb_hcd *hcd) argument
74 struct pci_dev *pdev = to_pci_dev(hcd
94 ohci_quirk_zfmicro(struct usb_hcd *hcd) argument
107 ohci_quirk_toshiba_scc(struct usb_hcd *hcd) argument
140 ohci_quirk_nec(struct usb_hcd *hcd) argument
151 ohci_quirk_amd700(struct usb_hcd *hcd) argument
168 ohci_quirk_qemu(struct usb_hcd *hcd) argument
238 ohci_pci_reset(struct usb_hcd *hcd) argument
305 ohci_pci_resume(struct usb_hcd *hcd, pm_message_t msg) argument
[all...]
H A Dehci-atmel.c20 #include <linux/usb/hcd.h>
71 struct usb_hcd *hcd = platform_get_drvdata(pdev); local
72 struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd);
80 struct usb_hcd *hcd = platform_get_drvdata(pdev); local
81 struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd);
91 struct usb_hcd *hcd; local
118 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
119 if (!hcd) {
123 atmel_ehci = hcd_to_atmel_ehci_priv(hcd);
125 hcd
177 struct usb_hcd *hcd = platform_get_drvdata(pdev); local
187 struct usb_hcd *hcd = dev_get_drvdata(dev); local
201 struct usb_hcd *hcd = dev_get_drvdata(dev); local
[all...]
H A Dehci-ppc-of.c97 struct usb_hcd *hcd; local
114 hcd = usb_create_hcd(&ehci_ppc_of_hc_driver, &op->dev, "PPC-OF USB");
115 if (!hcd)
118 hcd->rsrc_start = res.start;
119 hcd->rsrc_len = resource_size(&res);
129 hcd->regs = devm_ioremap_resource(&op->dev, &res);
130 if (IS_ERR(hcd->regs)) {
131 rv = PTR_ERR(hcd->regs);
135 ehci = hcd_to_ehci(hcd);
163 ehci->caps = hcd
189 struct usb_hcd *hcd = platform_get_drvdata(op); local
[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
[all...]
H A Dohci-mem.c18 * - driver buffers, read/written by HC ... the hcd glue or the
94 struct usb_hcd *hcd = ohci_to_hcd(hc); local
96 if (hcd->localmem_pool)
97 td = gen_pool_dma_zalloc_align(hcd->localmem_pool,
114 struct usb_hcd *hcd = ohci_to_hcd(hc); local
123 if (hcd->localmem_pool)
124 gen_pool_free(hcd->localmem_pool, (unsigned long)td,
138 struct usb_hcd *hcd = ohci_to_hcd(hc); local
140 if (hcd->localmem_pool)
141 ed = gen_pool_dma_zalloc_align(hcd
155 struct usb_hcd *hcd = ohci_to_hcd(hc); local
[all...]
H A Dxhci-histb.c35 struct usb_hcd *hcd; member in struct:xhci_hcd_histb
44 static inline struct xhci_hcd_histb *hcd_to_histb(struct usb_hcd *hcd) argument
46 return dev_get_drvdata(hcd->self.controller);
168 static int xhci_histb_setup(struct usb_hcd *hcd) argument
170 struct xhci_hcd_histb *histb = hcd_to_histb(hcd);
173 if (usb_hcd_is_primary_hcd(hcd)) {
179 return xhci_gen_setup(hcd, NULL);
192 struct usb_hcd *hcd; local
235 hcd = usb_create_hcd(driver, dev, dev_name(dev));
236 if (!hcd) {
315 struct usb_hcd *hcd = histb->hcd; local
337 struct usb_hcd *hcd = histb->hcd; local
352 struct usb_hcd *hcd = histb->hcd; local
[all...]
H A Dehci-exynos.c20 #include <linux/usb/hcd.h>
46 #define to_exynos_ehci(hcd) (struct exynos_ehci_hcd *)(hcd_to_ehci(hcd)->priv)
97 struct usb_hcd *hcd = dev_get_drvdata(dev); local
98 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
113 struct usb_hcd *hcd = dev_get_drvdata(dev); local
114 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
135 struct usb_hcd *hcd; local
152 hcd = usb_create_hcd(&exynos_ehci_hc_driver,
154 if (!hcd) {
234 struct usb_hcd *hcd = platform_get_drvdata(pdev); local
251 struct usb_hcd *hcd = dev_get_drvdata(dev); local
270 struct usb_hcd *hcd = dev_get_drvdata(dev); local
[all...]
H A Dxhci-rcar.c76 static void xhci_rcar_start_gen2(struct usb_hcd *hcd) argument
79 writel(RCAR_USB3_LCLK_ENA_VAL, hcd->regs + RCAR_USB3_LCLK);
81 writel(RCAR_USB3_CONF1_VAL, hcd->regs + RCAR_USB3_CONF1);
82 writel(RCAR_USB3_CONF2_VAL, hcd->regs + RCAR_USB3_CONF2);
83 writel(RCAR_USB3_CONF3_VAL, hcd->regs + RCAR_USB3_CONF3);
85 writel(RCAR_USB3_RX_POL_VAL, hcd->regs + RCAR_USB3_RX_POL);
86 writel(RCAR_USB3_TX_POL_VAL, hcd->regs + RCAR_USB3_TX_POL);
99 static void xhci_rcar_start(struct usb_hcd *hcd) argument
103 if (hcd->regs != NULL) {
105 temp = readl(hcd
113 xhci_rcar_download_firmware(struct usb_hcd *hcd) argument
169 xhci_rcar_wait_for_pll_active(struct usb_hcd *hcd) argument
180 xhci_rcar_init_quirk(struct usb_hcd *hcd) argument
192 xhci_rcar_resume_quirk(struct usb_hcd *hcd) argument
[all...]
H A Dmax3421-hcd.c63 #include <linux/usb/hcd.h>
66 #include <linux/platform_data/max3421-hcd.h>
329 hcd_to_max3421(struct usb_hcd *hcd) argument
331 return (struct max3421_hcd *) hcd->hcd_priv;
341 spi_rd8(struct usb_hcd *hcd, unsigned int reg) argument
343 struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
344 struct spi_device *spi = to_spi_device(hcd->self.controller);
367 spi_wr8(struct usb_hcd *hcd, unsigned int reg, u8 val) argument
369 struct spi_device *spi = to_spi_device(hcd->self.controller);
370 struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
391 spi_rd_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) argument
417 spi_wr_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) argument
457 max3421_set_speed(struct usb_hcd *hcd, struct usb_device *dev) argument
483 max3421_set_address(struct usb_hcd *hcd, struct usb_device *dev, int epnum) argument
505 max3421_ctrl_setup(struct usb_hcd *hcd, struct urb *urb) argument
512 max3421_transfer_in(struct usb_hcd *hcd, struct urb *urb) argument
523 max3421_transfer_out(struct usb_hcd *hcd, struct urb *urb, int fast_retransmit) argument
569 max3421_next_transfer(struct usb_hcd *hcd, int fast_retransmit) argument
629 max3421_select_and_start_urb(struct usb_hcd *hcd) argument
764 max3421_check_unlink(struct usb_hcd *hcd) argument
798 max3421_slow_retransmit(struct usb_hcd *hcd) argument
813 max3421_recv_data_available(struct usb_hcd *hcd) argument
844 max3421_handle_error(struct usb_hcd *hcd, u8 hrsl) argument
933 max3421_transfer_in_done(struct usb_hcd *hcd, struct urb *urb) argument
977 max3421_transfer_out_done(struct usb_hcd *hcd, struct urb *urb) argument
1004 max3421_host_transfer_done(struct usb_hcd *hcd) argument
1070 max3421_detect_conn(struct usb_hcd *hcd) argument
1129 struct usb_hcd *hcd = dev_id; local
1143 dump_eps(struct usb_hcd *hcd) argument
1184 max3421_handle_irqs(struct usb_hcd *hcd) argument
1277 max3421_reset_hcd(struct usb_hcd *hcd) argument
1330 max3421_urb_done(struct usb_hcd *hcd) argument
1367 struct usb_hcd *hcd = dev_id; local
1446 max3421_reset_port(struct usb_hcd *hcd) argument
1459 max3421_reset(struct usb_hcd *hcd) argument
1472 max3421_start(struct usb_hcd *hcd) argument
1488 max3421_stop(struct usb_hcd *hcd) argument
1493 max3421_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) argument
1545 max3421_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument
1567 max3421_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument
1588 max3421_get_frame_number(struct usb_hcd *hcd) argument
1599 max3421_hub_status_data(struct usb_hcd *hcd, char *buf) argument
1644 max3421_gpout_set_value(struct usb_hcd *hcd, u8 pin_number, u8 value) argument
1665 max3421_hub_control(struct usb_hcd *hcd, u16 type_req, u16 value, u16 index, char *buf, u16 length) argument
1763 max3421_bus_suspend(struct usb_hcd *hcd) argument
1769 max3421_bus_resume(struct usb_hcd *hcd) argument
1819 struct usb_hcd *hcd = NULL; local
1924 struct usb_hcd *hcd; local
[all...]
H A Dehci-st.c24 #include <linux/usb/hcd.h>
48 static int st_ehci_platform_reset(struct usb_hcd *hcd) argument
50 struct platform_device *pdev = to_platform_device(hcd->self.controller);
52 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
57 writel(threshold, hcd->regs + AHB2STBUS_INSREG01);
59 ehci->caps = hcd->regs + pdata->caps_offset;
60 return ehci_setup(hcd);
65 struct usb_hcd *hcd = platform_get_drvdata(dev); local
66 struct st_ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
116 struct usb_hcd *hcd local
149 struct usb_hcd *hcd; local
251 struct usb_hcd *hcd = platform_get_drvdata(dev); local
274 struct usb_hcd *hcd = dev_get_drvdata(dev); local
294 struct usb_hcd *hcd = dev_get_drvdata(dev); local
[all...]
H A Dehci-platform.c35 #include <linux/usb/hcd.h>
56 static int ehci_platform_reset(struct usb_hcd *hcd) argument
58 struct platform_device *pdev = to_platform_device(hcd->self.controller);
60 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
66 retval = pdata->pre_setup(hcd);
71 ehci->caps = hcd->regs + pdata->caps_offset;
72 retval = ehci_setup(hcd);
88 struct usb_hcd *hcd = platform_get_drvdata(dev); local
89 struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
109 struct usb_hcd *hcd local
167 struct usb_hcd *hcd = ehci_to_hcd(ehci); local
238 struct usb_hcd *hcd; local
404 struct usb_hcd *hcd = platform_get_drvdata(dev); local
430 struct usb_hcd *hcd = dev_get_drvdata(dev); local
452 struct usb_hcd *hcd = dev_get_drvdata(dev); local
[all...]
H A Dehci-orion.c17 #include <linux/usb/hcd.h>
23 #define rdl(off) readl_relaxed(hcd->regs + (off))
24 #define wrl(off, val) writel_relaxed((val), hcd->regs + (off))
80 static void orion_usb_phy_v1_setup(struct usb_hcd *hcd) argument
148 ehci_orion_conf_mbus_windows(struct usb_hcd *hcd, argument
168 static int ehci_orion_drv_reset(struct usb_hcd *hcd) argument
170 struct device *dev = hcd->self.controller;
173 ret = ehci_setup(hcd);
192 struct usb_hcd *hcd = dev_get_drvdata(dev); local
194 return ehci_suspend(hcd, device_may_wakeu
199 struct usb_hcd *hcd = dev_get_drvdata(dev); local
217 struct usb_hcd *hcd; local
334 struct usb_hcd *hcd = platform_get_drvdata(pdev); local
[all...]
H A Dohci-platform.c30 #include <linux/usb/hcd.h>
46 struct usb_hcd *hcd = platform_get_drvdata(dev); local
47 struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
67 struct usb_hcd *hcd = platform_get_drvdata(dev); local
68 struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
91 struct usb_hcd *hcd; local
116 hcd = usb_create_hcd(&ohci_platform_hc_driver, &dev->dev,
118 if (!hcd)
121 platform_set_drvdata(dev, hcd);
123 priv = hcd_to_ohci_priv(hcd);
243 struct usb_hcd *hcd = platform_get_drvdata(dev); local
271 struct usb_hcd *hcd = dev_get_drvdata(dev); local
289 struct usb_hcd *hcd = dev_get_drvdata(dev); local
[all...]
/linux-master/drivers/usb/isp1760/
H A Disp1760-hcd.c23 #include <linux/usb/hcd.h>
34 #include "isp1760-hcd.h"
41 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) argument
46 return *(struct isp1760_hcd **)hcd->hcd_priv;
200 static u32 isp1760_hcd_read(struct usb_hcd *hcd, u32 field) argument
202 struct isp1760_hcd *priv = hcd_to_priv(hcd);
225 static void isp1760_hcd_write(struct usb_hcd *hcd, u32 field, u32 val) argument
227 struct isp1760_hcd *priv = hcd_to_priv(hcd);
235 static void isp1760_hcd_set(struct usb_hcd *hcd, u3 argument
240 isp1760_hcd_clear(struct usb_hcd *hcd, u32 field) argument
245 isp1760_hcd_set_and_wait(struct usb_hcd *hcd, u32 field, u32 timeout_us) argument
257 isp1760_hcd_set_and_wait_swap(struct usb_hcd *hcd, u32 field, u32 timeout_us) argument
269 isp1760_hcd_clear_and_wait(struct usb_hcd *hcd, u32 field, u32 timeout_us) argument
281 isp1760_hcd_is_set(struct usb_hcd *hcd, u32 field) argument
286 isp1760_hcd_ppc_is_set(struct usb_hcd *hcd) argument
296 isp1760_hcd_n_ports(struct usb_hcd *hcd) argument
366 isp1760_mem_read(struct usb_hcd *hcd, u32 src_offset, void *dst, u32 bytes) argument
382 isp1763_mem_read(struct usb_hcd *hcd, u16 srcaddr, u16 *dstptr, u32 bytes) argument
405 mem_read(struct usb_hcd *hcd, u32 src_offset, __u32 *dst, u32 bytes) argument
451 isp1763_mem_write(struct usb_hcd *hcd, u16 dstaddr, u16 *src, u32 bytes) argument
478 mem_write(struct usb_hcd *hcd, u32 dst_offset, __u32 *src, u32 bytes) argument
493 isp1760_ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, struct ptd *ptd) argument
506 isp1763_ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, struct ptd *ptd) argument
524 ptd_read(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, struct ptd *ptd) argument
535 isp1763_ptd_write(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, struct ptd *cpu_ptd) argument
570 ptd_write(struct usb_hcd *hcd, u32 ptd_offset, u32 slot, struct ptd *ptd) argument
603 alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) argument
624 free_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) argument
649 ehci_reset(struct usb_hcd *hcd) argument
682 priv_init(struct usb_hcd *hcd) argument
718 isp1760_hc_setup(struct usb_hcd *hcd) argument
1000 start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot, struct isp1760_slotinfo *slots, struct isp1760_qtd *qtd, struct isp1760_qh *qh, struct ptd *ptd) argument
1053 collect_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh, struct list_head *urb_list) argument
1116 enqueue_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh) argument
1196 schedule_ptds(struct usb_hcd *hcd) argument
1265 check_int_transfer(struct usb_hcd *hcd, struct ptd *ptd, struct urb *urb) argument
1312 check_atl_transfer(struct usb_hcd *hcd, struct ptd *ptd, struct urb *urb) argument
1352 handle_done_ptds(struct usb_hcd *hcd) argument
1490 isp1760_irq(struct usb_hcd *hcd) argument
1555 struct usb_hcd *hcd = errata2_timer_hcd; local
1583 isp1763_run(struct usb_hcd *hcd) argument
1658 isp1760_run(struct usb_hcd *hcd) argument
1770 packetize_urb(struct usb_hcd *hcd, struct urb *urb, struct list_head *head, gfp_t flags) argument
1878 isp1760_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) argument
1964 kill_transfer(struct usb_hcd *hcd, struct urb *urb, struct isp1760_qh *qh) argument
2000 dequeue_urb_from_qtd(struct usb_hcd *hcd, struct isp1760_qh *qh, struct isp1760_qtd *qtd) argument
2031 isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument
2066 isp1760_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument
2098 isp1760_hub_status_data(struct usb_hcd *hcd, char *buf) argument
2172 check_reset_complete(struct usb_hcd *hcd, int index) argument
2193 isp1760_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
2448 isp1760_get_frame(struct usb_hcd *hcd) argument
2457 isp1760_stop(struct usb_hcd *hcd) argument
2476 isp1760_shutdown(struct usb_hcd *hcd) argument
2485 isp1760_clear_tt_buffer_complete(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument
2564 struct usb_hcd *hcd; local
[all...]
/linux-master/drivers/usb/cdns3/
H A Dhost.c17 #include <linux/usb/hcd.h>
32 static void xhci_cdns3_plat_start(struct usb_hcd *hcd) argument
34 struct xhci_hcd *xhci = hcd_to_xhci(hcd);
42 if (hcd->regs) {
43 value = readl(hcd->regs + XECP_AUX_CTRL_REG1);
45 writel(value, hcd->regs + XECP_AUX_CTRL_REG1);
47 value = readl(hcd->regs + XECP_PORT_CAP_REG);
49 writel(value, hcd->regs + XECP_PORT_CAP_REG);
53 static int xhci_cdns3_resume_quirk(struct usb_hcd *hcd) argument
55 xhci_cdns3_plat_start(hcd);
71 struct usb_hcd *hcd; local
[all...]
/linux-master/drivers/usb/chipidea/
H A Dhost.c13 #include <linux/usb/hcd.h>
25 static int (*orig_bus_suspend)(struct usb_hcd *hcd);
37 static int ehci_ci_portpower(struct usb_hcd *hcd, int portnum, bool enable) argument
39 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
41 struct device *dev = hcd->self.controller;
83 static int ehci_ci_reset(struct usb_hcd *hcd) argument
85 struct device *dev = hcd->self.controller;
87 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
90 ret = ehci_setup(hcd);
116 return usb_hcd_irq(ci->irq, ci->hcd);
121 struct usb_hcd *hcd; local
210 struct usb_hcd *hcd = ci->hcd; local
240 ci_ehci_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength ) argument
329 ci_ehci_bus_suspend(struct usb_hcd *hcd) argument
433 ci_hdrc_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) argument
449 ci_hdrc_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) argument
[all...]
/linux-master/drivers/xen/
H A Ddbgp.c5 #include <linux/usb/hcd.h>
10 static int xen_dbgp_op(struct usb_hcd *hcd, int op) argument
13 const struct device *ctrlr = hcd_to_bus(hcd)->controller;
37 int xen_dbgp_reset_prep(struct usb_hcd *hcd) argument
39 return xen_dbgp_op(hcd, PHYSDEVOP_DBGP_RESET_PREPARE);
42 int xen_dbgp_external_startup(struct usb_hcd *hcd) argument
44 return xen_dbgp_op(hcd, PHYSDEVOP_DBGP_RESET_DONE);
/linux-master/include/linux/usb/
H A Dhcd.h73 struct usb_bus self; /* hcd is-a bus */
79 * hcd->driver->flags & HCD_MASK
119 #define HCD_HW_ACCESSIBLE(hcd) ((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE))
120 #define HCD_POLL_RH(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_RH))
121 #define HCD_POLL_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_PENDING))
122 #define HCD_WAKEUP_PENDING(hcd) ((hcd)
224 hcd_to_bus(struct usb_hcd *hcd) argument
409 hcd_giveback_urb_in_bh(struct usb_hcd *hcd) argument
414 hcd_periodic_completion_in_progress(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument
420 hcd_uses_dma(struct usb_hcd *hcd) argument
474 ehset_single_step_set_feature(struct usb_hcd *hcd, int port) argument
591 struct usb_hcd *hcd; member in struct:usb_tt_clear
702 usb_hcd_resume_root_hub(struct usb_hcd *hcd) argument
[all...]
H A Dehci-dbgp.h57 static inline int xen_dbgp_reset_prep(struct usb_hcd *hcd) argument
62 static inline int xen_dbgp_external_startup(struct usb_hcd *hcd) argument
73 static inline int dbgp_reset_prep(struct usb_hcd *hcd) argument
75 return xen_dbgp_reset_prep(hcd);
78 static inline int dbgp_external_startup(struct usb_hcd *hcd) argument
80 return xen_dbgp_external_startup(hcd);
/linux-master/drivers/staging/greybus/
H A Dusb.c12 #include <linux/usb/hcd.h>
38 static inline struct gb_usb_device *to_gb_usb_device(struct usb_hcd *hcd) argument
40 return (struct gb_usb_device *)hcd->hcd_priv;
48 static void hcd_stop(struct usb_hcd *hcd) argument
50 struct gb_usb_device *dev = to_gb_usb_device(hcd);
59 static int hcd_start(struct usb_hcd *hcd) argument
61 struct usb_bus *bus = hcd_to_bus(hcd);
62 struct gb_usb_device *dev = to_gb_usb_device(hcd);
72 hcd->state = HC_STATE_RUNNING;
74 usb_hcd_resume_root_hub(hcd);
78 urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) argument
83 urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument
88 get_frame_number(struct usb_hcd *hcd) argument
93 hub_status_data(struct usb_hcd *hcd, char *buf) argument
98 hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
164 struct usb_hcd *hcd; local
223 struct usb_hcd *hcd = gb_usb_device_to_hcd(gb_usb_dev); local
[all...]
/linux-master/drivers/usb/c67x00/
H A DMakefile8 c67x00-y := c67x00-drv.o c67x00-ll-hpi.o c67x00-hcd.o c67x00-sched.o
H A Dc67x00-hcd.c3 * c67x00-hcd.c: Cypress C67X00 USB Host Controller Driver
15 #include "c67x00-hcd.h"
47 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf) argument
49 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, argument
69 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
239 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); local
250 if (unlikely(hcd->state == HC_STATE_HALT))
253 if (!HCD_HW_ACCESSIBLE(hcd))
266 static int c67x00_hcd_start(struct usb_hcd *hcd) argument
278 c67x00_hcd_stop(struct usb_hcd *hcd) argument
283 c67x00_hcd_get_frame(struct usb_hcd *hcd) argument
332 struct usb_hcd *hcd; local
394 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); local
[all...]
H A Dc67x00-hcd.h3 * c67x00-hcd.h: Cypress C67X00 USB HCD
17 #include <linux/usb/hcd.h>
87 static inline struct c67x00_hcd *hcd_to_c67x00_hcd(struct usb_hcd *hcd) argument
89 return (struct c67x00_hcd *)(hcd->hcd_priv);
107 int c67x00_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags);
108 int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
109 void c67x00_endpoint_disable(struct usb_hcd *hcd,

Completed in 347 milliseconds

1234567