/linux-master/drivers/usb/host/ |
H A D | uhci-pci.c | 5 * Extracted from uhci-hcd.c: 46 * This function is called at the end of configure_hc in uhci-hcd.c. 114 static int uhci_pci_init(struct usb_hcd *hcd) argument 116 struct uhci_hcd *uhci = hcd_to_uhci(hcd); 118 uhci->io_addr = (unsigned long) hcd->rsrc_start; 120 uhci->rh_numports = uhci_count_ports(hcd); 165 struct usb_hcd *hcd = pci_get_drvdata(pdev); local 167 uhci_hc_died(hcd_to_uhci(hcd)); 172 static int uhci_pci_resume(struct usb_hcd *hcd, pm_message_t state); 174 static int uhci_pci_suspend(struct usb_hcd *hcd, boo argument 213 uhci_pci_resume(struct usb_hcd *hcd, pm_message_t msg) argument [all...] |
H A D | ohci-st.c | 24 #include <linux/usb/hcd.h> 45 struct usb_hcd *hcd = platform_get_drvdata(dev); local 46 struct st_ohci_platform_priv *priv = hcd_to_ohci_priv(hcd); 96 struct usb_hcd *hcd = platform_get_drvdata(dev); local 97 struct st_ohci_platform_priv *priv = hcd_to_ohci_priv(hcd); 129 struct usb_hcd *hcd; local 142 hcd = usb_create_hcd(&ohci_platform_hc_driver, &dev->dev, 144 if (!hcd) 147 platform_set_drvdata(dev, hcd); 149 priv = hcd_to_ohci_priv(hcd); 232 struct usb_hcd *hcd = platform_get_drvdata(dev); local 256 struct usb_hcd *hcd = dev_get_drvdata(dev); local 274 struct usb_hcd *hcd = dev_get_drvdata(dev); local [all...] |
H A D | xhci-mvebu.c | 13 #include <linux/usb/hcd.h> 45 int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd) argument 47 struct device *dev = hcd->self.controller; 77 int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd) argument 79 struct xhci_hcd *xhci = hcd_to_xhci(hcd);
|
H A D | ohci-at91.c | 29 #include <linux/usb/hcd.h> 98 struct usb_hcd *hcd = platform_get_drvdata(pdev); local 99 struct ohci_regs __iomem *regs = hcd->regs; 100 struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); 117 struct usb_hcd *hcd = platform_get_drvdata(pdev); local 118 struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd); 186 struct usb_hcd *hcd; local 196 hcd = usb_create_hcd(driver, dev, "at91"); 197 if (!hcd) 199 ohci_at91 = hcd_to_ohci_at91_priv(hcd); 275 usb_hcd_at91_remove(struct usb_hcd *hcd, struct platform_device *pdev) argument 303 ohci_at91_hub_status_data(struct usb_hcd *hcd, char *buf) argument 351 ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 616 struct usb_hcd *hcd = dev_get_drvdata(dev); local 662 struct usb_hcd *hcd = dev_get_drvdata(dev); local [all...] |
H A D | xhci-pci.c | 81 static int xhci_pci_setup(struct usb_hcd *hcd); 82 static int xhci_pci_run(struct usb_hcd *hcd); 83 static int xhci_pci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev, 94 struct usb_hcd *hcd = xhci_to_hcd(xhci); local 96 if (hcd->msix_enabled) { 97 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); 107 struct usb_hcd *hcd = xhci_to_hcd(xhci); local 108 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); 111 if (hcd->irq > 0) 116 hcd 120 xhci_try_enable_msi(struct usb_hcd *hcd) argument 191 xhci_pci_run(struct usb_hcd *hcd) argument 204 xhci_pci_stop(struct usb_hcd *hcd) argument 498 xhci_find_lpm_incapable_ports(struct usb_hcd *hcd, struct usb_device *hdev) argument 528 xhci_find_lpm_incapable_ports(struct usb_hcd *hcd, struct usb_device *hdev) argument 532 xhci_pci_setup(struct usb_hcd *hcd) argument 561 xhci_pci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev, struct usb_tt *tt, gfp_t mem_flags) argument 579 struct usb_hcd *hcd; local 686 xhci_ssic_port_unused_quirk(struct usb_hcd *hcd, bool suspend) argument 721 xhci_pme_quirk(struct usb_hcd *hcd) argument 733 xhci_sparse_control_quirk(struct usb_hcd *hcd) argument 742 xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) argument 782 xhci_pci_resume(struct usb_hcd *hcd, pm_message_t msg) argument 821 xhci_pci_poweroff_late(struct usb_hcd *hcd, bool do_wakeup) argument 870 xhci_pci_shutdown(struct usb_hcd *hcd) argument [all...] |
H A D | ohci-pxa27x.c | 36 #include <linux/usb/hcd.h> 125 #define to_pxa27x_ohci(hcd) (struct pxa27x_ohci *)(hcd_to_ohci(hcd)->priv) 191 static int pxa27x_ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, argument 194 struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd); 213 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); 406 struct usb_hcd *hcd; local 433 hcd = usb_create_hcd(&ohci_pxa27x_hc_driver, &pdev->dev, "pxa27x"); 434 if (!hcd) 437 hcd 504 struct usb_hcd *hcd = platform_get_drvdata(pdev); local 522 struct usb_hcd *hcd = dev_get_drvdata(dev); local 543 struct usb_hcd *hcd = dev_get_drvdata(dev); local [all...] |
H A D | ohci-nxp.c | 28 #include <linux/usb/hcd.h> 153 struct usb_hcd *hcd = NULL; local 198 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); 199 if (!hcd) { 205 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); 206 if (IS_ERR(hcd->regs)) { 207 ret = PTR_ERR(hcd->regs); 210 hcd->rsrc_start = res->start; 211 hcd->rsrc_len = resource_size(res); 220 platform_set_drvdata(pdev, hcd); 241 struct usb_hcd *hcd = platform_get_drvdata(pdev); local [all...] |
H A D | ehci-omap.c | 29 #include <linux/usb/hcd.h> 86 struct usb_hcd *hcd; local 130 hcd = usb_create_hcd(&ehci_omap_hc_driver, dev, 132 if (!hcd) { 137 hcd->rsrc_start = res->start; 138 hcd->rsrc_len = resource_size(res); 139 hcd->regs = regs; 140 hcd_to_ehci(hcd)->caps = regs; 142 omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv; 145 platform_set_drvdata(pdev, hcd); 242 struct usb_hcd *hcd = dev_get_drvdata(dev); local [all...] |
H A D | xhci-mtk.h | 155 struct usb_hcd *hcd; member in struct:xhci_hcd_mtk 178 static inline struct xhci_hcd_mtk *hcd_to_mtk(struct usb_hcd *hcd) argument 180 return dev_get_drvdata(hcd->self.controller); 185 int xhci_mtk_add_ep(struct usb_hcd *hcd, struct usb_device *udev, 187 int xhci_mtk_drop_ep(struct usb_hcd *hcd, struct usb_device *udev, 189 int xhci_mtk_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev); 190 void xhci_mtk_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
|
H A D | ohci-hcd.c | 38 #include <linux/usb/hcd.h> 84 static void ohci_stop(struct usb_hcd *hcd); 148 struct usb_hcd *hcd, 152 struct ohci_hcd *ohci = hcd_to_ohci (hcd); 213 if (!HCD_HW_ACCESSIBLE(hcd)) { 221 retval = usb_hcd_link_urb_to_ep(hcd, urb); 229 usb_hcd_unlink_urb_from_ep(hcd, urb); 313 static int ohci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument 315 struct ohci_hcd *ohci = hcd_to_ohci (hcd); 321 rc = usb_hcd_check_unlink_urb(hcd, ur 147 ohci_urb_enqueue( struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags ) argument 348 ohci_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 401 ohci_get_frame(struct usb_hcd *hcd) argument 420 _ohci_shutdown(struct usb_hcd *hcd) argument 436 ohci_shutdown(struct usb_hcd *hcd) argument 455 struct usb_hcd *hcd = ohci_to_hcd(ohci); local 547 struct usb_hcd *hcd = ohci_to_hcd(ohci); local 711 ohci_setup(struct usb_hcd *hcd) argument 722 ohci_start(struct usb_hcd *hcd) argument 876 ohci_irq(struct usb_hcd *hcd) argument 998 ohci_stop(struct usb_hcd *hcd) argument 1104 ohci_suspend(struct usb_hcd *hcd, bool do_wakeup) argument 1132 ohci_resume(struct usb_hcd *hcd, bool hibernated) argument [all...] |
H A D | fhci-hcd.c | 24 #include <linux/usb/hcd.h> 322 static int fhci_start(struct usb_hcd *hcd) argument 325 struct fhci_hcd *fhci = hcd_to_fhci(hcd); 355 hcd->state = HC_STATE_RUNNING; 373 static void fhci_stop(struct usb_hcd *hcd) argument 375 struct fhci_hcd *fhci = hcd_to_fhci(hcd); 385 static int fhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, argument 388 struct fhci_hcd *fhci = hcd_to_fhci(hcd); 442 ret = usb_hcd_link_urb_to_ep(hcd, urb); 465 static int fhci_urb_dequeue(struct usb_hcd *hcd, struc argument 507 fhci_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 528 fhci_get_frame_number(struct usb_hcd *hcd) argument 565 struct usb_hcd *hcd; local 763 struct usb_hcd *hcd = dev_get_drvdata(dev); local [all...] |
H A D | xhci-mtk.c | 142 struct usb_hcd *hcd = mtk->hcd; local 148 value = readl(hcd->regs + HFCNTR_CFG); 151 writel(value, hcd->regs + HFCNTR_CFG); 153 value = readl(hcd->regs + LS_EOF_CFG); 156 writel(value, hcd->regs + LS_EOF_CFG); 158 value = readl(hcd->regs + FS_EOF_CFG); 161 writel(value, hcd->regs + FS_EOF_CFG); 163 value = readl(hcd->regs + SS_GEN1_EOF_CFG); 166 writel(value, hcd 181 struct usb_hcd *hcd = mtk->hcd; local 453 struct usb_hcd *hcd = xhci_to_hcd(xhci); local 476 xhci_mtk_setup(struct usb_hcd *hcd) argument 518 struct usb_hcd *hcd; local 710 struct usb_hcd *hcd = mtk->hcd; local 742 struct usb_hcd *hcd = mtk->hcd; local 777 struct usb_hcd *hcd = mtk->hcd; local [all...] |
H A D | ehci-pci.c | 12 #include <linux/usb/hcd.h> 90 static int ehci_pci_setup(struct usb_hcd *hcd) argument 92 struct ehci_hcd *ehci = hcd_to_ehci(hcd); 93 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); 97 ehci->caps = hcd->regs; 146 hcd->has_tt = 1; 150 hcd->has_tt = 1; 250 ehci->debug = hcd->regs + temp; 260 retval = ehci_setup(hcd); 357 static int ehci_pci_resume(struct usb_hcd *hcd, pm_message_ argument [all...] |
H A D | xhci-hub.c | 278 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, argument 333 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, argument 366 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, argument 370 if (hcd->speed >= HCD_USB3) 371 xhci_usb3_hub_descriptor(hcd, xhci, desc); 373 xhci_usb2_hub_descriptor(hcd, xhci, desc); 551 struct usb_hcd *hcd; local 554 hcd = port->rhub->hcd; 557 if (hcd 630 xhci_get_rhub(struct usb_hcd *hcd) argument 648 struct usb_hcd *hcd; variable in typeref:struct:usb_hcd 900 struct usb_hcd *hcd; local 1003 struct usb_hcd *hcd; local 1162 xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1597 xhci_hub_status_data(struct usb_hcd *hcd, char *buf) argument 1673 xhci_bus_suspend(struct usb_hcd *hcd) argument 1829 xhci_bus_resume(struct usb_hcd *hcd) argument 1943 xhci_get_resuming_ports(struct usb_hcd *hcd) argument [all...] |
H A D | uhci-hcd.c | 42 #include <linux/usb/hcd.h> 50 #include "uhci-hcd.h" 450 static irqreturn_t uhci_irq(struct usb_hcd *hcd) argument 452 struct uhci_hcd *uhci = hcd_to_uhci(hcd); 487 usb_hc_died(hcd); 491 mod_timer(&hcd->rh_timer, jiffies); 498 usb_hcd_poll_rh_status(hcd); 576 static int uhci_start(struct usb_hcd *hcd) argument 578 struct uhci_hcd *uhci = hcd_to_uhci(hcd); 582 hcd 708 uhci_stop(struct usb_hcd *hcd) argument 724 uhci_rh_suspend(struct usb_hcd *hcd) argument 751 uhci_rh_resume(struct usb_hcd *hcd) argument 768 uhci_hcd_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) argument 793 uhci_hcd_get_frame_number(struct usb_hcd *hcd) argument 808 uhci_count_ports(struct usb_hcd *hcd) argument [all...] |
/linux-master/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 31 /* See usb gadget dummy hcd */ 33 static int vhci_hub_status(struct usb_hcd *hcd, char *buff); 34 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, 36 static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, 38 static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status); 40 static void vhci_stop(struct usb_hcd *hcd); 41 static int vhci_get_frame_number(struct usb_hcd *hcd); 228 static int vhci_hub_status(struct usb_hcd *hcd, char *buf) argument 230 struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd); 240 if (!HCD_HW_ACCESSIBLE(hcd)) { 315 vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 693 vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) argument 867 vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument 958 struct usb_hcd *hcd = vhci_hcd_to_hcd(vhci_hcd); local 1140 vhci_setup(struct usb_hcd *hcd) argument 1172 vhci_start(struct usb_hcd *hcd) argument 1226 vhci_stop(struct usb_hcd *hcd) argument 1249 vhci_get_frame_number(struct usb_hcd *hcd) argument 1258 vhci_bus_suspend(struct usb_hcd *hcd) argument 1272 vhci_bus_resume(struct usb_hcd *hcd) argument 1297 vhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) argument 1306 vhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) argument 1421 struct usb_hcd *hcd; local 1465 struct usb_hcd *hcd; local [all...] |
H A D | vhci.h | 16 #include <linux/usb/hcd.h> 149 static inline struct vhci_hcd *hcd_to_vhci_hcd(struct usb_hcd *hcd) argument 151 return (struct vhci_hcd *) (hcd->hcd_priv); 154 static inline struct device *hcd_dev(struct usb_hcd *hcd) argument 156 return (hcd)->self.controller; 159 static inline const char *hcd_name(struct usb_hcd *hcd) argument 161 return (hcd)->self.bus_name;
|
H A D | Makefile | 7 obj-$(CONFIG_USBIP_VHCI_HCD) += vhci-hcd.o 8 vhci-hcd-y := vhci_sysfs.o vhci_tx.o vhci_rx.o vhci_hcd.o
|
/linux-master/drivers/usb/isp1760/ |
H A D | Makefile | 3 isp1760-$(CONFIG_USB_ISP1760_HCD) += isp1760-hcd.o
|
H A D | isp1760-core.c | 25 #include "isp1760-hcd.h" 31 struct isp1760_hcd *hcd = &isp->hcd; local 46 isp1760_field_set(hcd->fields, SW_RESET_RESET_ALL); 50 if ((isp->devflags & ISP1760_FLAG_ANALOG_OC) && hcd->is_isp1763) { 56 isp1760_field_clear(hcd->fields, HW_DATA_BUS_WIDTH); 58 isp1760_field_set(hcd->fields, HW_DATA_BUS_WIDTH); 60 isp1760_field_set(hcd->fields, HW_ANA_DIGI_OC); 62 isp1760_field_set(hcd->fields, HW_DACK_POL_HIGH); 64 isp1760_field_set(hcd 489 struct isp1760_hcd *hcd; local [all...] |
/linux-master/include/linux/usb/ |
H A D | ehci_pdriver.h | 48 int (*pre_setup)(struct usb_hcd *hcd);
|
/linux-master/drivers/usb/fotg210/ |
H A D | Makefile | 7 fotg210-objs-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
|
/linux-master/drivers/usb/core/ |
H A D | Makefile | 6 usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o 12 usbcore-$(CONFIG_USB_PCI) += hcd-pci.o
|
/linux-master/include/linux/platform_data/ |
H A D | usb-ohci-s3c2410.h | 23 struct usb_hcd *hcd; member in struct:s3c2410_hcd_info
|
/linux-master/drivers/usb/misc/ |
H A D | onboard_usb_hub_pdevs.c | 16 #include <linux/usb/hcd.h> 69 struct usb_hcd *hcd = bus_to_hcd(parent_hub->bus); local 77 if (!parent_hub->parent && !usb_hcd_is_primary_hcd(hcd)) 90 if (!usb_hcd_is_primary_hcd(hcd)) {
|