/linux-4.1.27/include/linux/platform_data/ |
H A D | usb-pxa3xx-ulpi.h | 29 int pxa3xx_u2d_start_hc(struct usb_bus *host); 31 void pxa3xx_u2d_stop_hc(struct usb_bus *host);
|
/linux-4.1.27/include/linux/usb/ |
H A D | otg.h | 21 struct usb_bus *host; 27 int (*set_host)(struct usb_otg *otg, struct usb_bus *host); 68 otg_set_host(struct usb_otg *otg, struct usb_bus *host) otg_set_host() 98 extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num);
|
H A D | hcd.h | 59 * Since "struct usb_bus" is so thin, you can't share much code in it. 84 struct usb_bus self; /* hcd is-a bus */ 209 static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd) hcd_to_bus() 214 static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus) bus_to_hcd() 463 void *hcd_buffer_alloc(struct usb_bus *bus, size_t size, 465 void hcd_buffer_free(struct usb_bus *bus, size_t size, 476 extern void usb_hcd_start_port_resume(struct usb_bus *bus, int portnum); 477 extern void usb_hcd_end_port_resume(struct usb_bus *bus, int portnum); 490 struct usb_bus *, unsigned port); 648 void (*urb_submit)(struct usb_bus *bus, struct urb *urb); 649 void (*urb_submit_error)(struct usb_bus *bus, struct urb *urb, int err); 650 void (*urb_complete)(struct usb_bus *bus, struct urb *urb, int status); 651 /* void (*urb_unlink)(struct usb_bus *bus, struct urb *urb); */ 656 static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) usbmon_urb_submit() 662 static inline void usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb, usbmon_urb_submit_error() 669 static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb, usbmon_urb_complete() 681 static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) {} usbmon_urb_submit_error() 682 static inline void usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb, usbmon_urb_submit_error() 684 static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb, usbmon_urb_complete()
|
/linux-4.1.27/drivers/usb/mon/ |
H A D | usb_mon.h | 20 struct usb_bus *u_bus; 57 int /*bool*/ mon_text_add(struct mon_bus *mbus, const struct usb_bus *ubus); 59 int /*bool*/ mon_bin_add(struct mon_bus *mbus, const struct usb_bus *ubus);
|
H A D | mon_main.c | 21 static void mon_dissolve(struct mon_bus *mbus, struct usb_bus *ubus); 23 static void mon_bus_init(struct usb_bus *ubus); 95 static void mon_submit(struct usb_bus *ubus, struct urb *urb) mon_submit() 121 static void mon_submit_error(struct usb_bus *ubus, struct urb *urb, int error) mon_submit_error() 147 static void mon_complete(struct usb_bus *ubus, struct urb *urb, int status) mon_complete() 163 struct usb_bus *ubus; mon_stop() 193 static void mon_bus_add(struct usb_bus *ubus) mon_bus_add() 205 static void mon_bus_remove(struct usb_bus *ubus) mon_bus_remove() 248 * Tear usb_bus and mon_bus apart. 250 static void mon_dissolve(struct mon_bus *mbus, struct usb_bus *ubus) mon_dissolve() 279 static void mon_bus_init(struct usb_bus *ubus) mon_bus_init() 347 struct usb_bus *ubus; mon_init()
|
H A D | mon_text.c | 666 int mon_text_add(struct mon_bus *mbus, const struct usb_bus *ubus) mon_text_add()
|
H A D | mon_bin.c | 1330 int mon_bin_add(struct mon_bus *mbus, const struct usb_bus *ubus) mon_bin_add()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | notify.c | 61 void usb_notify_add_bus(struct usb_bus *ubus) usb_notify_add_bus() 66 void usb_notify_remove_bus(struct usb_bus *ubus) usb_notify_remove_bus()
|
H A D | buffer.c | 4 * This implementation plugs in through generic "usb_bus" level methods, 111 struct usb_bus *bus, hcd_buffer_alloc() 135 struct usb_bus *bus, hcd_buffer_free()
|
H A D | usb.h | 174 extern void usb_notify_add_bus(struct usb_bus *ubus); 175 extern void usb_notify_remove_bus(struct usb_bus *ubus);
|
H A D | usb.c | 396 /* Returns 1 if @usb_bus is WUSB, 0 otherwise */ usb_bus_is_wusb() 397 static unsigned usb_bus_is_wusb(struct usb_bus *bus) usb_bus_is_wusb() 420 struct usb_bus *bus, unsigned port1) usb_alloc_dev() 781 struct usb_bus *bus; 818 struct usb_bus *bus; 852 struct usb_bus *bus; 904 struct usb_bus *bus; 940 struct usb_bus *bus; 968 struct usb_bus *bus;
|
H A D | hcd.c | 58 * Plugs into usbcore (usb_bus) and lets HCDs share code, minimizing 81 * 2002-02-21 Pull in most of the usb_bus support from usb.c; some 82 * associated cleanup. "usb_hcd" still != "usb_bus". 856 struct usb_bus *usb_bus = rh_usb_dev->bus; authorized_default_show() local 859 usb_hcd = bus_to_hcd(usb_bus); authorized_default_show() 870 struct usb_bus *usb_bus = rh_usb_dev->bus; authorized_default_store() local 873 usb_hcd = bus_to_hcd(usb_bus); authorized_default_store() 904 * This code is used to initialize a usb_bus structure, memory for which is 907 static void usb_bus_init (struct usb_bus *bus) usb_bus_init() 935 static int usb_register_bus(struct usb_bus *bus) usb_register_bus() 972 static void usb_deregister_bus (struct usb_bus *bus) usb_deregister_bus() 1067 void usb_hcd_start_port_resume(struct usb_bus *bus, int portnum) usb_hcd_start_port_resume() 1089 void usb_hcd_end_port_resume(struct usb_bus *bus, int portnum) usb_hcd_end_port_resume() 1306 static int hcd_alloc_coherent(struct usb_bus *bus, hcd_alloc_coherent() 1341 static void hcd_free_coherent(struct usb_bus *bus, dma_addr_t *dma_handle, hcd_free_coherent() 2314 int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num) usb_bus_start_enum()
|
H A D | devices.c | 497 struct usb_device *usbdev, struct usb_bus *bus, usb_device_dump() 616 struct usb_bus *bus; usb_device_read()
|
H A D | hub.c | 2066 struct usb_bus *bus = udev->bus; choose_devnum() 2261 struct usb_bus *bus = udev->bus; usb_enumerate_device_otg()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | pxa3xx-ulpi.c | 136 static int pxa310_start_otg_host_transcvr(struct usb_bus *host) pxa310_start_otg_host_transcvr() 161 static int pxa310_start_otg_hc(struct usb_bus *host) pxa310_start_otg_hc() 239 static inline int pxa310_start_otg_hc(struct usb_bus *host) pxa310_start_otg_hc() 251 int pxa3xx_u2d_start_hc(struct usb_bus *host) pxa3xx_u2d_start_hc() 270 void pxa3xx_u2d_stop_hc(struct usb_bus *host) pxa3xx_u2d_stop_hc()
|
/linux-4.1.27/drivers/usb/usbip/ |
H A D | vhci.h | 77 /* for usb_bus.hcpriv */
|
/linux-4.1.27/drivers/usb/wusbcore/ |
H A D | wusbhc.c | 44 struct usb_bus *usb_bus = dev_get_drvdata(dev); usbhc_dev_to_wusbhc() local 45 struct usb_hcd *usb_hcd = bus_to_hcd(usb_bus); usbhc_dev_to_wusbhc()
|
/linux-4.1.27/drivers/phy/ |
H A D | phy-dm816x-usb.c | 62 static int dm816x_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) dm816x_usb_phy_set_host()
|
H A D | phy-omap-usb2.c | 81 static int omap_usb_set_host(struct usb_otg *otg, struct usb_bus *host) omap_usb_set_host()
|
H A D | phy-twl4030-usb.c | 622 static int twl4030_set_host(struct usb_otg *otg, struct usb_bus *host) twl4030_set_host()
|
/linux-4.1.27/drivers/usb/phy/ |
H A D | phy-generic.c | 191 static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) nop_set_host()
|
H A D | phy-ulpi.c | 212 static int ulpi_set_host(struct usb_otg *otg, struct usb_bus *host) ulpi_set_host()
|
H A D | phy-tahvo.c | 199 static int tahvo_usb_set_host(struct usb_otg *otg, struct usb_bus *host) tahvo_usb_set_host()
|
H A D | phy-msm-usb.c | 461 struct usb_bus *bus = phy->otg->host; msm_otg_suspend() 558 struct usb_bus *bus = phy->otg->host; msm_otg_resume() 700 static int msm_otg_set_host(struct usb_otg *otg, struct usb_bus *host) msm_otg_set_host()
|
H A D | phy-mv-usb.c | 67 struct usb_bus *host) mv_otg_set_host()
|
H A D | phy-ab8500-usb.c | 1089 static int ab8500_usb_set_host(struct usb_otg *otg, struct usb_bus *host) ab8500_usb_set_host()
|
H A D | phy-fsl-usb.c | 556 static int fsl_otg_set_host(struct usb_otg *otg, struct usb_bus *host) fsl_otg_set_host()
|
H A D | phy-isp1301-omap.c | 1275 isp1301_set_host(struct usb_otg *otg, struct usb_bus *host) isp1301_set_host()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-dbg.c | 377 struct usb_bus *bus; 938 static struct debug_buffer *alloc_buffer(struct usb_bus *bus, alloc_buffer() 1051 struct usb_bus *bus = &ehci_to_hcd(ehci)->self; create_debug_files()
|
H A D | ohci-dbg.c | 761 struct usb_bus *bus = &ohci_to_hcd(ohci)->self; create_debug_files()
|
H A D | fotg210-hcd.c | 343 struct usb_bus *bus; 768 static struct debug_buffer *alloc_buffer(struct usb_bus *bus, alloc_buffer() 872 struct usb_bus *bus = &fotg210_to_hcd(fotg210)->self; create_debug_files()
|
H A D | fusbh200-hcd.c | 335 struct usb_bus *bus; 739 static struct debug_buffer *alloc_buffer(struct usb_bus *bus, alloc_buffer() 843 struct usb_bus *bus = &fusbh200_to_hcd(fusbh200)->self; create_debug_files()
|
H A D | r8a66597-hcd.c | 2097 struct usb_bus *bus; r8a66597_check_detect_child()
|
H A D | xhci-mem.c | 2436 * Since the USB core grabs the shared usb_bus bandwidth mutex before xhci_mem_init()
|
/linux-4.1.27/include/linux/ |
H A D | usb.h | 348 struct usb_bus { struct 374 struct usb_bus *hs_companion; /* Companion EHCI bus, if any */ 551 struct usb_bus *bus; 1300 * max packet size if no_sg_constraint isn't set in 'struct usb_bus'
|
/linux-4.1.27/drivers/usb/dwc2/ |
H A D | hcd.c | 2126 struct usb_bus *bus = hcd_to_bus(hcd); dwc2_allocate_bus_bandwidth() 2139 struct usb_bus *bus = hcd_to_bus(hcd); dwc2_free_bus_bandwidth() 2273 struct usb_bus *bus = hcd_to_bus(hcd); _dwc2_hcd_start()
|