/linux-master/drivers/usb/host/ |
H A D | isp1362-hcd.c | 75 #include <linux/usb/hcd.h> 105 static const char hcd_name[] = "isp1362-hcd"; 107 static void isp1362_hc_stop(struct usb_hcd *hcd); 108 static int isp1362_hc_start(struct usb_hcd *hcd); 1007 static irqreturn_t isp1362_irq(struct usb_hcd *hcd) argument 1010 struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd); 1148 usb_hcd_resume_root_hub(hcd); 1216 static int isp1362_urb_enqueue(struct usb_hcd *hcd, argument 1220 struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd); 1261 !HC_IS_RUNNING(hcd 1397 isp1362_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument 1449 isp1362_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep) argument 1479 isp1362_get_frame(struct usb_hcd *hcd) argument 1495 isp1362_hub_status_data(struct usb_hcd *hcd, char *buf) argument 1563 isp1362_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1733 isp1362_bus_suspend(struct usb_hcd *hcd) argument 1831 isp1362_bus_resume(struct usb_hcd *hcd) argument 2202 isp1362_mem_config(struct usb_hcd *hcd) argument 2312 isp1362_hc_reset(struct usb_hcd *hcd) argument 2352 isp1362_hc_stop(struct usb_hcd *hcd) argument 2477 isp1362_hc_start(struct usb_hcd *hcd) argument 2611 struct usb_hcd *hcd = platform_get_drvdata(pdev); local 2624 struct usb_hcd *hcd; local 2712 struct usb_hcd *hcd = platform_get_drvdata(pdev); local 2735 struct usb_hcd *hcd = platform_get_drvdata(pdev); local [all...] |
H A D | r8a66597-hcd.c | 22 #include <linux/usb/hcd.h> 42 static int r8a66597_get_frame(struct usb_hcd *hcd); 1272 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); variable in typeref:struct:usb_hcd 1290 urb->start_frame = r8a66597_get_frame(hcd); 1600 static irqreturn_t r8a66597_irq(struct usb_hcd *hcd) argument 1602 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd); 1824 static int r8a66597_start(struct usb_hcd *hcd) argument 1826 struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd); 1828 hcd->state = HC_STATE_RUNNING; 1832 static void r8a66597_stop(struct usb_hcd *hcd) argument 1882 r8a66597_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) argument 1952 r8a66597_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument 2013 r8a66597_get_frame(struct usb_hcd *hcd) argument 2085 r8a66597_check_detect_child(struct r8a66597 *r8a66597, struct usb_hcd *hcd) argument 2102 r8a66597_hub_status_data(struct usb_hcd *hcd, char *buf) argument 2139 r8a66597_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 2243 r8a66597_bus_suspend(struct usb_hcd *hcd) argument 2274 r8a66597_bus_resume(struct usb_hcd *hcd) argument 2360 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); local 2385 struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); local 2401 struct usb_hcd *hcd = NULL; local [all...] |
H A D | xhci-tegra.c | 258 struct usb_hcd *hcd; member in struct:tegra_xusb 782 u32 regs = tegra->hcd->rsrc_start; 1292 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); 1293 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; local 1304 hcd->driver->hub_control(hcd, typeReq, USB_PORT_FEAT_POWER, wIndex, 1308 tegra_xhci_hc_driver.hub_control(hcd, GetPortStatus, 0, wIndex, 1345 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); 1513 otg_set_host(tegra->usbphy[i]->otg, &tegra->hcd->self); 1744 tegra->hcd 2684 tegra_xhci_setup(struct usb_hcd *hcd) argument 2689 tegra_xhci_hub_control(struct usb_hcd *hcd, u16 type_req, u16 value, u16 index, char *buf, u16 length) argument [all...] |
H A D | ehci-dbg.c | 6 /* this file is part of ehci-hcd.c */ 472 struct usb_hcd *hcd; local 479 hcd = bus_to_hcd(buf->bus); 480 ehci = hcd_to_ehci(hcd); 623 struct usb_hcd *hcd; local 637 hcd = bus_to_hcd(buf->bus); 638 ehci = hcd_to_ehci(hcd); 757 struct usb_hcd *hcd; local 765 hcd = bus_to_hcd(buf->bus); 766 ehci = hcd_to_ehci(hcd); [all...] |
H A D | fhci-hub.c | 21 #include <linux/usb/hcd.h> 176 int fhci_hub_status_data(struct usb_hcd *hcd, char *buf) argument 178 struct fhci_hcd *fhci = hcd_to_fhci(hcd); 201 int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, argument 204 struct fhci_hcd *fhci = hcd_to_fhci(hcd);
|
H A D | sl811.h | 158 static inline struct sl811 *hcd_to_sl811(struct usb_hcd *hcd) argument 160 return (struct sl811 *) (hcd->hcd_priv);
|
H A D | ehci.h | 266 static inline struct ehci_hcd *hcd_to_ehci(struct usb_hcd *hcd) argument 268 return (struct ehci_hcd *) (hcd->hcd_priv); 887 int (*reset)(struct usb_hcd *hcd); 888 int (*port_power)(struct usb_hcd *hcd, 894 extern int ehci_setup(struct usb_hcd *hcd); 899 extern int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup); 900 extern int ehci_resume(struct usb_hcd *hcd, bool force_reset); 904 extern int ehci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
|
H A D | ohci.h | 29 /* info bits defined by hcd */ 334 /* hcd-private per-urb state */ 372 * hcd adds to schedule for a live hc any time, but removals finish 478 /* convert between an hcd pointer and the corresponding ohci_hcd */ 479 static inline struct ohci_hcd *hcd_to_ohci (struct usb_hcd *hcd) argument 481 return (struct ohci_hcd *) (hcd->hcd_priv); 732 int (*reset)(struct usb_hcd *hcd); 738 extern int ohci_setup(struct usb_hcd *hcd); 739 extern int ohci_suspend(struct usb_hcd *hcd, bool do_wakeup); 740 extern int ohci_resume(struct usb_hcd *hcd, boo [all...] |
H A D | fhci-dbg.c | 19 #include <linux/usb/hcd.h>
|
H A D | fhci.h | 25 #include <linux/usb/hcd.h> 462 static inline struct fhci_hcd *hcd_to_fhci(struct usb_hcd *hcd) argument 464 return (struct fhci_hcd *)hcd->hcd_priv; 505 /* fhci-hcd.c */ 530 int fhci_hub_status_data(struct usb_hcd *hcd, char *buf); 531 int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, 560 irqreturn_t fhci_irq(struct usb_hcd *hcd);
|
H A D | fhci-mem.c | 20 #include <linux/usb/hcd.h>
|
H A D | xhci-ring.c | 797 struct usb_hcd *hcd = bus_to_hcd(urb->dev->bus); local 807 usb_hcd_unlink_urb_from_ep(hcd, urb); 809 usb_hcd_giveback_urb(hcd, urb, status); 1865 struct usb_hcd *hcd = xhci_to_hcd(xhci); local 1871 writel(0x6F, hcd->regs + 0x1048); 1874 writel(0x7F, hcd->regs + 0x1048); 1876 pll_lock_check = readl(hcd->regs + 0x1070); 1884 struct usb_hcd *hcd; local 1917 xhci_dbg(xhci, "ignore port event for removed USB3 hcd\n"); 1922 hcd 3133 xhci_irq(struct usb_hcd *hcd) argument 3179 xhci_msi_irq(int irq, void *hcd) argument [all...] |
/linux-master/drivers/usb/dwc2/ |
H A D | hcd.c | 3 * hcd.c - DesignWare HS OTG Controller host-mode routines 23 #include <linux/usb/hcd.h> 28 #include "hcd.h" 460 static int _dwc2_hcd_start(struct usb_hcd *hcd); 464 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); local 466 hcd->self.is_b_host = dwc2_hcd_is_b_host(hsotg); 467 _dwc2_hcd_start(hcd); 472 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); local 474 hcd->self.is_b_host = 0; 2509 static int dwc2_map_urb_for_dma(struct usb_hcd *hcd, struc argument 2529 dwc2_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) argument 3255 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); local 3989 dwc2_hcd_to_hsotg(struct usb_hcd *hcd) argument 4087 dwc2_allocate_bus_bandwidth(struct usb_hcd *hcd, u16 bw, struct urb *urb) argument 4100 dwc2_free_bus_bandwidth(struct usb_hcd *hcd, u16 bw, struct urb *urb) argument 4251 _dwc2_hcd_start(struct usb_hcd *hcd) argument 4300 _dwc2_hcd_stop(struct usb_hcd *hcd) argument 4329 _dwc2_hcd_suspend(struct usb_hcd *hcd) argument 4411 _dwc2_hcd_resume(struct usb_hcd *hcd) argument 4529 _dwc2_hcd_get_frame_number(struct usb_hcd *hcd) argument 4536 dwc2_dump_urb_info(struct usb_hcd *hcd, struct urb *urb, char *fn_name) argument 4616 _dwc2_hcd_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) argument 4804 _dwc2_hcd_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument 4850 _dwc2_hcd_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 4866 _dwc2_hcd_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 4888 _dwc2_hcd_irq(struct usb_hcd *hcd) argument 4901 _dwc2_hcd_hub_status_data(struct usb_hcd *hcd, char *buf) argument 4910 _dwc2_hcd_hub_control(struct usb_hcd *hcd, u16 typereq, u16 wvalue, u16 windex, char *buf, u16 wlength) argument 4919 _dwc2_hcd_clear_tt_buffer_complete(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 4943 dwc2_change_bus_speed(struct usb_hcd *hcd, int speed) argument 4954 dwc2_free_dev(struct usb_hcd *hcd, struct usb_device *udev) argument 4971 dwc2_reset_device(struct usb_hcd *hcd, struct usb_device *udev) argument 5108 struct usb_hcd *hcd; local 5368 struct usb_hcd *hcd; local [all...] |
H A D | pci.c | 22 #include <linux/usb/hcd.h>
|
/linux-master/drivers/usb/isp1760/ |
H A D | isp1760-hcd.h | 48 struct usb_hcd *hcd; member in struct:isp1760_hcd
|
H A D | isp1760-core.h | 21 #include "isp1760-hcd.h" 49 struct isp1760_hcd hcd; member in struct:isp1760_device
|
/linux-master/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 27 #include <linux/usb/hcd.h> 79 #include "fotg210-hcd.h" 442 struct usb_hcd *hcd; local 449 hcd = bus_to_hcd(buf->bus); 450 fotg210 = hcd_to_fotg210(hcd); 509 struct usb_hcd *hcd; local 524 hcd = bus_to_hcd(buf->bus); 525 fotg210 = hcd_to_fotg210(hcd); 634 struct usb_hcd *hcd; local 642 hcd 1385 fotg210_hub_status_data(struct usb_hcd *hcd, char *buf) argument 1452 fotg210_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1777 fotg210_relinquish_port(struct usb_hcd *hcd, int portnum) argument 1783 fotg210_port_handed_over(struct usb_hcd *hcd, int portnum) argument 2088 fotg210_clear_tt_buffer_complete(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 4799 fotg210_shutdown(struct usb_hcd *hcd) argument 4850 fotg210_stop(struct usb_hcd *hcd) argument 4889 hcd_fotg210_init(struct usb_hcd *hcd) argument 4996 fotg210_run(struct usb_hcd *hcd) argument 5075 fotg210_setup(struct usb_hcd *hcd) argument 5106 fotg210_irq(struct usb_hcd *hcd) argument 5253 fotg210_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) argument 5289 fotg210_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument 5357 fotg210_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 5430 fotg210_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 5471 fotg210_get_frame(struct usb_hcd *hcd) argument 5554 struct usb_hcd *hcd; local 5616 struct usb_hcd *hcd = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/usb/core/ |
H A D | message.c | 22 #include <linux/usb/hcd.h> /* for usbcore internals */ 1279 * If @reset_hardware is set then also deallocates hcd/hardware state 1361 struct usb_hcd *hcd = bus_to_hcd(dev->bus); local 1364 if (hcd->driver->check_bandwidth) { 1371 mutex_lock(hcd->bandwidth_mutex); 1373 mutex_unlock(hcd->bandwidth_mutex); 1388 * Deallocates hcd/hardware state for the endpoints (nuking all or most 1531 struct usb_hcd *hcd = bus_to_hcd(dev->bus); local 1564 mutex_lock(hcd->bandwidth_mutex); 1570 mutex_unlock(hcd 1696 struct usb_hcd *hcd = bus_to_hcd(dev->bus); local 2001 struct usb_hcd *hcd = bus_to_hcd(dev->bus); local [all...] |
H A D | port.c | 266 struct usb_hcd *hcd; local 290 hcd = bus_to_hcd(udev->bus); 291 if (!hcd) 294 mutex_lock(hcd->bandwidth_mutex); 297 mutex_unlock(hcd->bandwidth_mutex); 608 struct usb_hcd *hcd, *peer_hcd; local 616 hcd = bus_to_hcd(hdev->bus); 619 if (peer_hcd != hcd->shared_hcd) 636 * data, the peer hcd for root hubs, or the upstream peer relationship 657 struct usb_hcd *hcd local [all...] |
H A D | usb.c | 37 #include <linux/usb/hcd.h> 488 struct usb_hcd *hcd; local 491 hcd = bus_to_hcd(udev->bus); 496 usb_put_hcd(hcd); 605 static bool usb_dev_authorized(struct usb_device *dev, struct usb_hcd *hcd) argument 612 switch (hcd->dev_policy) {
|
H A D | sysfs.c | 19 #include <linux/usb/hcd.h> 965 struct usb_hcd *hcd; local 967 hcd = bus_to_hcd(usb_bus); 968 return sysfs_emit(buf, "%u\n", hcd->dev_policy); 979 struct usb_hcd *hcd; local 981 hcd = bus_to_hcd(usb_bus); 984 hcd->dev_policy = val <= USB_DEVICE_AUTHORIZE_INTERNAL ? 1005 struct usb_hcd *hcd = bus_to_hcd(usb_dev->bus); local 1007 return sysfs_emit(buf, "%u\n", !!HCD_INTF_AUTHORIZED(hcd)); 1021 struct usb_hcd *hcd local [all...] |
/linux-master/drivers/usb/chipidea/ |
H A D | ci_hdrc_tegra.c | 16 #include <linux/usb/hcd.h> 160 if (ci->hcd) { 161 ehci = hcd_to_ehci(ci->hcd); 240 struct ehci_hcd *ehci = hcd_to_ehci(ci->hcd);
|
H A D | ci_hdrc_usb2.c | 16 #include <linux/usb/hcd.h>
|
/linux-master/drivers/usb/c67x00/ |
H A D | c67x00-sched.c | 14 #include "c67x00-hcd.h" 305 void c67x00_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 307 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); 342 int c67x00_urb_enqueue(struct usb_hcd *hcd, argument 348 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); 361 if (!HC_IS_RUNNING(hcd->state)) { 366 ret = usb_hcd_link_urb_to_ep(hcd, urb); 432 usb_hcd_unlink_urb_from_ep(hcd, urb); 441 int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) argument 443 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); [all...] |
/linux-master/drivers/usb/phy/ |
H A D | phy-mv-usb.c | 23 #include <linux/usb/hcd.h> 195 struct usb_hcd *hcd; local 202 hcd = bus_to_hcd(otg->host); 205 usb_add_hcd(hcd, hcd->irq, IRQF_SHARED); 206 device_wakeup_enable(hcd->self.controller); 208 usb_remove_hcd(hcd);
|