/linux/drivers/usb/core/ |
H A D | hcd.c | 416 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len) in rh_string() 455 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control() 725 void usb_hcd_poll_rh_status(struct usb_hcd *hcd) in usb_hcd_poll_rh_status() 785 static int rh_queue_status (struct usb_hcd *hcd, struct urb *urb) in rh_queue_status() 816 static int rh_urb_enqueue (struct usb_hcd *hcd, struct urb *urb) in rh_urb_enqueue() 830 static int usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in usb_rh_urb_dequeue() 955 static int register_root_hub(struct usb_hcd *hcd) in register_root_hub() 1130 int usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb) in usb_hcd_link_urb_to_ep() 1188 int usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb, in usb_hcd_check_unlink_urb() 1221 void usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb) in usb_hcd_unlink_urb_from_ep() [all …]
|
H A D | buffer.c | 65 int hcd_buffer_create(struct usb_hcd *hcd) in hcd_buffer_create() 97 void hcd_buffer_destroy(struct usb_hcd *hcd) in hcd_buffer_destroy() 122 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_alloc() local 151 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_free() local 176 void *hcd_buffer_alloc_pages(struct usb_hcd *hcd, in hcd_buffer_alloc_pages() 197 void hcd_buffer_free_pages(struct usb_hcd *hcd, in hcd_buffer_free_pages()
|
/linux/drivers/usb/host/ |
H A D | ohci-pci.c | 35 static int broken_suspend(struct usb_hcd *hcd) in broken_suspend() 44 static int ohci_quirk_amd756(struct usb_hcd *hcd) in ohci_quirk_amd756() 59 static int ohci_quirk_opti(struct usb_hcd *hcd) in ohci_quirk_opti() 72 static int ohci_quirk_ns(struct usb_hcd *hcd) in ohci_quirk_ns() 94 static int ohci_quirk_zfmicro(struct usb_hcd *hcd) in ohci_quirk_zfmicro() 107 static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd) in ohci_quirk_toshiba_scc() 140 static int ohci_quirk_nec(struct usb_hcd *hcd) in ohci_quirk_nec() 151 static int ohci_quirk_amd700(struct usb_hcd *hcd) in ohci_quirk_amd700() 168 static int ohci_quirk_qemu(struct usb_hcd *hcd) in ohci_quirk_qemu() 238 static int ohci_pci_reset (struct usb_hcd *hcd) in ohci_pci_reset() [all …]
|
H A D | xhci-plat.c | 39 static void xhci_priv_plat_start(struct usb_hcd *hcd) in xhci_priv_plat_start() 47 static int xhci_priv_init_quirk(struct usb_hcd *hcd) in xhci_priv_init_quirk() 57 static int xhci_priv_suspend_quirk(struct usb_hcd *hcd) in xhci_priv_suspend_quirk() 67 static int xhci_priv_resume_quirk(struct usb_hcd *hcd) in xhci_priv_resume_quirk() 85 static int xhci_plat_setup(struct usb_hcd *hcd) in xhci_plat_setup() 97 static int xhci_plat_start(struct usb_hcd *hcd) in xhci_plat_start() 151 struct usb_hcd *hcd, *usb3_hcd; in xhci_plat_probe() local 422 struct usb_hcd *hcd = platform_get_drvdata(dev); in xhci_plat_remove() local 456 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_suspend() local 484 struct usb_hcd *hcd = dev_get_drvdata(dev); in xhci_plat_resume_common() local [all …]
|
H A D | max3421-hcd.c | 329 hcd_to_max3421(struct usb_hcd *hcd) in hcd_to_max3421() 341 spi_rd8(struct usb_hcd *hcd, unsigned int reg) in spi_rd8() 367 spi_wr8(struct usb_hcd *hcd, unsigned int reg, u8 val) in spi_wr8() 391 spi_rd_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) in spi_rd_buf() 417 spi_wr_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) in spi_wr_buf() 457 max3421_set_speed(struct usb_hcd *hcd, struct usb_device *dev) in max3421_set_speed() 483 max3421_set_address(struct usb_hcd *hcd, struct usb_device *dev, int epnum) in max3421_set_address() 505 max3421_ctrl_setup(struct usb_hcd *hcd, struct urb *urb) in max3421_ctrl_setup() 512 max3421_transfer_in(struct usb_hcd *hcd, struct urb *urb) in max3421_transfer_in() 523 max3421_transfer_out(struct usb_hcd *hcd, struct urb *urb, int fast_retransmit) in max3421_transfer_out() [all …]
|
H A D | xhci-pci.c | 108 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_msix_sync_irqs() local 121 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cleanup_msix() local 133 static int xhci_try_enable_msi(struct usb_hcd *hcd) in xhci_try_enable_msi() 201 static int xhci_pci_run(struct usb_hcd *hcd) in xhci_pci_run() 214 static void xhci_pci_stop(struct usb_hcd *hcd) in xhci_pci_stop() 507 static void xhci_find_lpm_incapable_ports(struct usb_hcd *hcd, struct usb_device *hdev) in xhci_find_lpm_incapable_ports() 537 static void xhci_find_lpm_incapable_ports(struct usb_hcd *hcd, struct usb_device *hdev) { } in xhci_find_lpm_incapable_ports() 541 static int xhci_pci_setup(struct usb_hcd *hcd) in xhci_pci_setup() 570 static int xhci_pci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev, in xhci_pci_update_hub_device() 588 struct usb_hcd *hcd; in xhci_pci_common_probe() local [all …]
|
H A D | ohci-hcd.c | 148 struct usb_hcd *hcd, in ohci_urb_enqueue() 313 static int ohci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in ohci_urb_dequeue() 348 ohci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep) in ohci_endpoint_disable() 401 static int ohci_get_frame (struct usb_hcd *hcd) in ohci_get_frame() 420 static void _ohci_shutdown(struct usb_hcd *hcd) in _ohci_shutdown() 436 static void ohci_shutdown(struct usb_hcd *hcd) in ohci_shutdown() 455 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_init() local 547 struct usb_hcd *hcd = ohci_to_hcd(ohci); in ohci_run() local 711 int ohci_setup(struct usb_hcd *hcd) in ohci_setup() 722 static int ohci_start(struct usb_hcd *hcd) in ohci_start() [all …]
|
H A D | ehci-sh.c | 14 struct usb_hcd *hcd; member 17 static int ehci_sh_reset(struct usb_hcd *hcd) in ehci_sh_reset() 78 struct usb_hcd *hcd; in ehci_hcd_sh_probe() local 157 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_remove() local 169 struct usb_hcd *hcd = priv->hcd; in ehci_hcd_sh_shutdown() local
|
H A D | xhci.c | 371 struct usb_hcd *hcd; in compliance_mode_recovery() local 471 static int xhci_init(struct usb_hcd *hcd) in xhci_init() 541 int xhci_run(struct usb_hcd *hcd) in xhci_run() 604 void xhci_stop(struct usb_hcd *hcd) in xhci_stop() 664 void xhci_shutdown(struct usb_hcd *hcd) in xhci_shutdown() 887 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_suspend() local 1001 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_resume() local 1213 static int xhci_map_temp_buffer(struct usb_hcd *hcd, struct urb *urb) in xhci_map_temp_buffer() 1249 static bool xhci_urb_temp_buffer_required(struct usb_hcd *hcd, in xhci_urb_temp_buffer_required() 1289 static void xhci_unmap_temp_buf(struct usb_hcd *hcd, struct urb *urb) in xhci_unmap_temp_buf() [all …]
|
H A D | ehci-hub.c | 39 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_handover_companion_ports() local 213 static int ehci_bus_suspend (struct usb_hcd *hcd) in ehci_bus_suspend() 376 static int ehci_bus_resume (struct usb_hcd *hcd) in ehci_bus_resume() 517 static unsigned long ehci_get_resuming_ports(struct usb_hcd *hcd) in ehci_get_resuming_ports() 618 ehci_hub_status_data (struct usb_hcd *hcd, char *buf) in ehci_hub_status_data() 733 struct usb_hcd *hcd, in ehci_hub_control() 1187 static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum) in ehci_relinquish_port() 1196 static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_port_handed_over() 1209 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_port_power() local
|
H A D | uhci-hcd.c | 450 static irqreturn_t uhci_irq(struct usb_hcd *hcd) in uhci_irq() 576 static int uhci_start(struct usb_hcd *hcd) in uhci_start() 708 static void uhci_stop(struct usb_hcd *hcd) in uhci_stop() 724 static int uhci_rh_suspend(struct usb_hcd *hcd) in uhci_rh_suspend() 751 static int uhci_rh_resume(struct usb_hcd *hcd) in uhci_rh_resume() 768 static void uhci_hcd_endpoint_disable(struct usb_hcd *hcd, in uhci_hcd_endpoint_disable() 793 static int uhci_hcd_get_frame_number(struct usb_hcd *hcd) in uhci_hcd_get_frame_number() 808 static int uhci_count_ports(struct usb_hcd *hcd) in uhci_count_ports()
|
H A D | ohci-ps3.c | 12 static int ps3_ohci_hc_reset(struct usb_hcd *hcd) in ps3_ohci_hc_reset() 21 static int ps3_ohci_hc_start(struct usb_hcd *hcd) in ps3_ohci_hc_start() 70 struct usb_hcd *hcd; in ps3_ohci_probe() local 190 struct usb_hcd *hcd = ps3_system_bus_get_drvdata(dev); in ps3_ohci_remove() local
|
H A D | ohci-sa1111.c | 57 static int ohci_sa1111_reset(struct usb_hcd *hcd) in ohci_sa1111_reset() 65 static int ohci_sa1111_start(struct usb_hcd *hcd) in ohci_sa1111_start() 178 struct usb_hcd *hcd; in ohci_hcd_sa1111_probe() local 263 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_remove() local 274 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_shutdown() local
|
H A D | xhci-hub.c | 279 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb2_hub_descriptor() 334 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb3_hub_descriptor() 367 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_hub_descriptor() 552 struct usb_hcd *hcd; in xhci_disable_port() local 631 struct xhci_hub *xhci_get_rhub(struct usb_hcd *hcd) in xhci_get_rhub() 649 struct usb_hcd *hcd; in xhci_set_port_power() local 774 struct usb_hcd *hcd; in xhci_port_is_tunneled() local 944 struct usb_hcd *hcd; in xhci_handle_usb2_port_link_resume() local 1047 struct usb_hcd *hcd; in xhci_get_usb3_port_status() local 1157 static u32 xhci_get_port_status(struct usb_hcd *hcd, in xhci_get_port_status() [all …]
|
H A D | ohci-mem.c | 94 struct usb_hcd *hcd = ohci_to_hcd(hc); in td_alloc() local 114 struct usb_hcd *hcd = ohci_to_hcd(hc); in td_free() local 138 struct usb_hcd *hcd = ohci_to_hcd(hc); in ed_alloc() local 155 struct usb_hcd *hcd = ohci_to_hcd(hc); in ed_free() local
|
H A D | uhci-pci.c | 114 static int uhci_pci_init(struct usb_hcd *hcd) in uhci_pci_init() 165 struct usb_hcd *hcd = pci_get_drvdata(pdev); in uhci_shutdown() local 174 static int uhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup) in uhci_pci_suspend() 213 static int uhci_pci_resume(struct usb_hcd *hcd, pm_message_t msg) in uhci_pci_resume()
|
H A D | ohci-hub.c | 156 struct usb_hcd *hcd = ohci_to_hcd (ohci); in ohci_rh_resume() local 304 static int ohci_bus_suspend (struct usb_hcd *hcd) in ohci_bus_suspend() 324 static int ohci_bus_resume (struct usb_hcd *hcd) in ohci_bus_resume() 468 int ohci_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_hub_status_data() 580 static int ohci_start_port_reset (struct usb_hcd *hcd, unsigned port) in ohci_start_port_reset() 677 struct usb_hcd *hcd, in ohci_hub_control()
|
H A D | xen-hcd.c | 100 static inline struct xenhcd_info *xenhcd_hcd_to_info(struct usb_hcd *hcd) in xenhcd_hcd_to_info() 312 static int xenhcd_bus_suspend(struct usb_hcd *hcd) in xenhcd_bus_suspend() 335 static int xenhcd_bus_resume(struct usb_hcd *hcd) in xenhcd_bus_resume() 394 static int xenhcd_hub_status_data(struct usb_hcd *hcd, char *buf) in xenhcd_hub_status_data() 426 static int xenhcd_hub_control(struct usb_hcd *hcd, __u16 typeReq, __u16 wValue, in xenhcd_hub_control() 1227 struct usb_hcd *hcd; in xenhcd_connect() local 1253 struct usb_hcd *hcd = xenhcd_info_to_hcd(info); in xenhcd_disconnect() local 1276 static int xenhcd_setup(struct usb_hcd *hcd) in xenhcd_setup() 1295 static int xenhcd_run(struct usb_hcd *hcd) in xenhcd_run() 1306 static void xenhcd_stop(struct usb_hcd *hcd) in xenhcd_stop() [all …]
|
/linux/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 44 static inline struct isp1760_hcd *hcd_to_priv(struct usb_hcd *hcd) in hcd_to_priv() 200 static u32 isp1760_hcd_read(struct usb_hcd *hcd, u32 field) in isp1760_hcd_read() 225 static void isp1760_hcd_write(struct usb_hcd *hcd, u32 field, u32 val) in isp1760_hcd_write() 235 static void isp1760_hcd_set(struct usb_hcd *hcd, u32 field) in isp1760_hcd_set() 240 static void isp1760_hcd_clear(struct usb_hcd *hcd, u32 field) in isp1760_hcd_clear() 245 static int isp1760_hcd_set_and_wait(struct usb_hcd *hcd, u32 field, in isp1760_hcd_set_and_wait() 257 static int isp1760_hcd_set_and_wait_swap(struct usb_hcd *hcd, u32 field, in isp1760_hcd_set_and_wait_swap() 269 static int isp1760_hcd_clear_and_wait(struct usb_hcd *hcd, u32 field, in isp1760_hcd_clear_and_wait() 281 static bool isp1760_hcd_is_set(struct usb_hcd *hcd, u32 field) in isp1760_hcd_is_set() 286 static bool isp1760_hcd_ppc_is_set(struct usb_hcd *hcd) in isp1760_hcd_ppc_is_set() [all …]
|
/linux/drivers/staging/greybus/ |
H A D | usb.c | 38 static inline struct gb_usb_device *to_gb_usb_device(struct usb_hcd *hcd) in to_gb_usb_device() 48 static void hcd_stop(struct usb_hcd *hcd) in hcd_stop() 59 static int hcd_start(struct usb_hcd *hcd) in hcd_start() 78 static int urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) in urb_enqueue() 83 static int urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) in urb_dequeue() 88 static int get_frame_number(struct usb_hcd *hcd) in get_frame_number() 93 static int hub_status_data(struct usb_hcd *hcd, char *buf) in hub_status_data() 98 static int hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, in hub_control() 164 struct usb_hcd *hcd; in gb_usb_probe() local 223 struct usb_hcd *hcd = gb_usb_device_to_hcd(gb_usb_dev); in gb_usb_remove() local
|
/linux/drivers/usb/c67x00/ |
H A D | c67x00-hcd.c | 47 static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf) in c67x00_hub_status_data() 66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in c67x00_hub_control() 239 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_irq() local 266 static int c67x00_hcd_start(struct usb_hcd *hcd) in c67x00_hcd_start() 278 static void c67x00_hcd_stop(struct usb_hcd *hcd) in c67x00_hcd_stop() 283 static int c67x00_hcd_get_frame(struct usb_hcd *hcd) in c67x00_hcd_get_frame() 332 struct usb_hcd *hcd; in c67x00_hcd_probe() local 394 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_remove() local
|
/linux/drivers/usb/chipidea/ |
H A D | host.c | 37 ehci_ci_portpower(struct usb_hcd * hcd,int portnum,bool enable) ehci_ci_portpower() argument 83 ehci_ci_reset(struct usb_hcd * hcd) ehci_ci_reset() argument 121 struct usb_hcd *hcd; host_start() local 210 struct usb_hcd *hcd = ci->hcd; host_stop() local 241 ci_ehci_hub_control(struct usb_hcd * hcd,u16 typeReq,u16 wValue,u16 wIndex,char * buf,u16 wLength) ci_ehci_hub_control() argument 329 ci_ehci_bus_suspend(struct usb_hcd * hcd) ci_ehci_bus_suspend() argument 433 ci_hdrc_map_urb_for_dma(struct usb_hcd * hcd,struct urb * urb,gfp_t mem_flags) ci_hdrc_map_urb_for_dma() argument 449 ci_hdrc_unmap_urb_for_dma(struct usb_hcd * hcd,struct urb * urb) ci_hdrc_unmap_urb_for_dma() argument [all...] |
/linux/drivers/xen/ |
H A D | dbgp.c | 10 static int xen_dbgp_op(struct usb_hcd *hcd, int op) in xen_dbgp_op() 37 int xen_dbgp_reset_prep(struct usb_hcd *hcd) in xen_dbgp_reset_prep() 42 int xen_dbgp_external_startup(struct usb_hcd *hcd) in xen_dbgp_external_startup()
|
/linux/drivers/usb/dwc2/ |
H A D | hcd.c | 464 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_start() local 472 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_disconnect() local 2509 static int dwc2_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, in dwc2_map_urb_for_dma() 2529 static void dwc2_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) in dwc2_unmap_urb_for_dma() 3255 struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg); in dwc2_host_is_b_hnp_enabled() local 3985 static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd) in dwc2_hcd_to_hsotg() 4083 static void dwc2_allocate_bus_bandwidth(struct usb_hcd *hcd, u16 bw, in dwc2_allocate_bus_bandwidth() 4096 static void dwc2_free_bus_bandwidth(struct usb_hcd *hcd, u16 bw, in dwc2_free_bus_bandwidth() 4247 static int _dwc2_hcd_start(struct usb_hcd *hcd) in _dwc2_hcd_start() 4296 static void _dwc2_hcd_stop(struct usb_hcd *hcd) in _dwc2_hcd_stop() [all …]
|
/linux/include/linux/usb/ |
H A D | ehci-dbgp.h | 57 static inline int xen_dbgp_reset_prep(struct usb_hcd *hcd) in xen_dbgp_reset_prep() 62 static inline int xen_dbgp_external_startup(struct usb_hcd *hcd) in xen_dbgp_external_startup() 73 static inline int dbgp_reset_prep(struct usb_hcd *hcd) in dbgp_reset_prep() 78 static inline int dbgp_external_startup(struct usb_hcd *hcd) in dbgp_external_startup()
|