/linux-4.1.27/drivers/usb/host/ |
H A D | Makefile | |
H A D | xhci-plat.c | 29 static void xhci_plat_quirks(struct device *dev, struct xhci_hcd *xhci) xhci_plat_quirks() argument 71 struct xhci_hcd *xhci; xhci_plat_probe() local 199 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_plat_remove() local 219 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_plat_suspend() local 235 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_plat_resume() local
|
H A D | xhci-dbg.c | 29 void xhci_dbg_regs(struct xhci_hcd *xhci) xhci_dbg_regs() argument 58 static void xhci_print_cap_regs(struct xhci_hcd *xhci) xhci_print_cap_regs() argument 109 static void xhci_print_command_reg(struct xhci_hcd *xhci) xhci_print_command_reg() argument 127 static void xhci_print_status(struct xhci_hcd *xhci) xhci_print_status() argument 141 static void xhci_print_op_regs(struct xhci_hcd *xhci) xhci_print_op_regs() argument 148 static void xhci_print_ports(struct xhci_hcd *xhci) xhci_print_ports() argument 172 void xhci_print_ir_set(struct xhci_hcd *xhci, int set_num) xhci_print_ir_set() argument 216 void xhci_print_run_regs(struct xhci_hcd *xhci) xhci_print_run_regs() argument 235 void xhci_print_registers(struct xhci_hcd *xhci) xhci_print_registers() argument 242 void xhci_print_trb_offsets(struct xhci_hcd *xhci, union xhci_trb *trb) xhci_print_trb_offsets() argument 253 void xhci_debug_trb(struct xhci_hcd *xhci, union xhci_trb *trb) xhci_debug_trb() argument 312 void xhci_debug_segment(struct xhci_hcd *xhci, struct xhci_segment *seg) xhci_debug_segment() argument 329 void xhci_dbg_ring_ptrs(struct xhci_hcd *xhci, struct xhci_ring *ring) xhci_dbg_ring_ptrs() argument 354 void xhci_debug_ring(struct xhci_hcd *xhci, struct xhci_ring *ring) xhci_debug_ring() argument 369 void xhci_dbg_ep_rings(struct xhci_hcd *xhci, xhci_dbg_ep_rings() argument 393 void xhci_dbg_erst(struct xhci_hcd *xhci, struct xhci_erst *erst) xhci_dbg_erst() argument 411 void xhci_dbg_cmd_ptrs(struct xhci_hcd *xhci) xhci_dbg_cmd_ptrs() argument 423 static void dbg_rsvd64(struct xhci_hcd *xhci, u64 *ctx, dma_addr_t dma) dbg_rsvd64() argument 435 char *xhci_get_slot_state(struct xhci_hcd *xhci, xhci_get_slot_state() argument 454 static void xhci_dbg_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) xhci_dbg_slot_ctx() argument 493 static void xhci_dbg_ep_ctx(struct xhci_hcd *xhci, xhci_dbg_ep_ctx() argument 543 void xhci_dbg_ctx(struct xhci_hcd *xhci, xhci_dbg_ctx() argument 584 void xhci_dbg_trace(struct xhci_hcd *xhci, void (*trace)(struct va_format *), xhci_dbg_trace() argument
|
H A D | xhci-pci.c | 58 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) xhci_pci_reinit() argument 74 static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) xhci_pci_quirks() argument 203 struct xhci_hcd *xhci; xhci_pci_setup() local 234 struct xhci_hcd *xhci; xhci_pci_probe() local 298 struct xhci_hcd *xhci; xhci_pci_remove() local 325 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_ssic_port_unused_quirk() local 360 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_pme_quirk() local 372 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_pci_suspend() local 398 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_pci_resume() local
|
H A D | xhci-hub.c | 53 static void xhci_common_hub_descriptor(struct xhci_hcd *xhci, xhci_common_hub_descriptor() argument 77 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_usb2_hub_descriptor() argument 130 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_usb3_hub_descriptor() argument 160 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_hub_descriptor() argument 241 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_find_slot_id_by_port() argument 269 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) xhci_stop_device() argument 319 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) xhci_ring_device() argument 338 static void xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, xhci_disable_port() argument 355 static void xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, xhci_clear_port_change_bit() argument 408 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_get_ports() local 421 void xhci_set_link_state(struct xhci_hcd *xhci, __le32 __iomem **port_array, xhci_set_link_state() argument 433 static void xhci_set_remote_wake_mask(struct xhci_hcd *xhci, xhci_set_remote_wake_mask() argument 460 void xhci_test_and_clear_bit(struct xhci_hcd *xhci, __le32 __iomem **port_array, xhci_test_and_clear_bit() argument 481 static void xhci_hub_report_usb3_link_state(struct xhci_hcd *xhci, xhci_hub_report_usb3_link_state() argument 540 static void xhci_del_comp_mod_timer(struct xhci_hcd *xhci, u32 status, xhci_del_comp_mod_timer() argument 579 struct xhci_hcd *xhci = hcd_to_xhci(hcd); variable in typeref:struct:xhci_hcd 711 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_hub_control() local 1070 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_hub_status_data() local 1121 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_bus_suspend() local 1191 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_bus_resume() local
|
H A D | xhci-mem.c | 39 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, xhci_segment_alloc() argument 68 static void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) xhci_segment_free() argument 77 static void xhci_free_segments_for_ring(struct xhci_hcd *xhci, xhci_free_segments_for_ring() argument 98 static void xhci_link_segments(struct xhci_hcd *xhci, struct xhci_segment *prev, xhci_link_segments() argument 128 static void xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *ring, xhci_link_rings() argument 276 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) xhci_ring_free() argument 318 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, xhci_alloc_segments_for_ring() argument 362 static struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, xhci_ring_alloc() argument 398 void xhci_free_or_cache_endpoint_ring(struct xhci_hcd *xhci, xhci_free_or_cache_endpoint_ring() argument 425 static void xhci_reinit_cached_ring(struct xhci_hcd *xhci, xhci_reinit_cached_ring() argument 457 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, xhci_ring_expansion() argument 503 static struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci, xhci_alloc_container_ctx() argument 529 static void xhci_free_container_ctx(struct xhci_hcd *xhci, xhci_free_container_ctx() argument 547 struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, xhci_get_slot_ctx() argument 557 struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, xhci_get_ep_ctx() argument 573 static void xhci_free_stream_ctx(struct xhci_hcd *xhci, xhci_free_stream_ctx() argument 601 static struct xhci_stream_ctx *xhci_alloc_stream_ctx(struct xhci_hcd *xhci, xhci_alloc_stream_ctx() argument 655 struct xhci_stream_info *xhci_alloc_stream_info(struct xhci_hcd *xhci, xhci_alloc_stream_info() argument 763 void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci, xhci_setup_streams_ep_input_ctx() argument 800 void xhci_free_stream_info(struct xhci_hcd *xhci, xhci_free_stream_info() argument 832 static void xhci_init_endpoint_timer(struct xhci_hcd *xhci, xhci_init_endpoint_timer() argument 840 static void xhci_free_tt_info(struct xhci_hcd *xhci, xhci_free_tt_info() argument 870 int xhci_alloc_tt_info(struct xhci_hcd *xhci, xhci_alloc_tt_info() argument 913 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id) xhci_free_virt_device() argument 967 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id, xhci_alloc_virt_device() argument 1036 void xhci_copy_ep0_dequeue_into_input_ctx(struct xhci_hcd *xhci, xhci_copy_ep0_dequeue_into_input_ctx() argument 1069 static u32 xhci_find_real_port_number(struct xhci_hcd *xhci, xhci_find_real_port_number() argument 1088 int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *udev) xhci_setup_addressable_virt_dev() argument 1399 int xhci_endpoint_init(struct xhci_hcd *xhci, xhci_endpoint_init() argument 1514 void xhci_endpoint_zero(struct xhci_hcd *xhci, xhci_endpoint_zero() argument 1543 void xhci_update_bw_info(struct xhci_hcd *xhci, xhci_update_bw_info() argument 1601 void xhci_endpoint_copy(struct xhci_hcd *xhci, xhci_endpoint_copy() argument 1623 void xhci_slot_copy(struct xhci_hcd *xhci, xhci_slot_copy() argument 1640 static int scratchpad_alloc(struct xhci_hcd *xhci, gfp_t flags) scratchpad_alloc() argument 1711 static void scratchpad_free(struct xhci_hcd *xhci) scratchpad_free() argument 1736 struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci, xhci_alloc_command() argument 1780 void xhci_free_command(struct xhci_hcd *xhci, xhci_free_command() argument 1789 void xhci_mem_cleanup(struct xhci_hcd *xhci) xhci_mem_cleanup() argument 1894 static int xhci_test_trb_in_td(struct xhci_hcd *xhci, xhci_test_trb_in_td() argument 1931 static int xhci_check_trb_in_td_math(struct xhci_hcd *xhci) xhci_check_trb_in_td_math() argument 2052 static void xhci_set_hc_event_deq(struct xhci_hcd *xhci) xhci_set_hc_event_deq() argument 2076 static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports, xhci_add_in_port() argument 2165 static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags) xhci_setup_port_arrays() argument 2317 int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) xhci_mem_init() argument
|
H A D | xhci-ring.c | 93 static bool last_trb_on_last_seg(struct xhci_hcd *xhci, struct xhci_ring *ring, last_trb_on_last_seg() argument 107 static int last_trb(struct xhci_hcd *xhci, struct xhci_ring *ring, last_trb() argument 126 static void next_trb(struct xhci_hcd *xhci, next_trb() argument 143 static void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring) inc_deq() argument 192 static void inc_enq(struct xhci_hcd *xhci, struct xhci_ring *ring, inc_enq() argument 254 static inline int room_on_ring(struct xhci_hcd *xhci, struct xhci_ring *ring, room_on_ring() argument 272 void xhci_ring_cmd_db(struct xhci_hcd *xhci) xhci_ring_cmd_db() argument 283 static int xhci_abort_cmd_ring(struct xhci_hcd *xhci) xhci_abort_cmd_ring() argument 325 void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, xhci_ring_ep_doorbell() argument 350 static void ring_doorbell_for_active_rings(struct xhci_hcd *xhci, ring_doorbell_for_active_rings() argument 375 static struct xhci_ring *xhci_triad_to_transfer_ring(struct xhci_hcd *xhci, xhci_triad_to_transfer_ring() argument 411 static struct xhci_ring *xhci_urb_to_transfer_ring(struct xhci_hcd *xhci, xhci_urb_to_transfer_ring() argument 436 void xhci_find_new_dequeue_state(struct xhci_hcd *xhci, xhci_find_new_dequeue_state() argument 531 static void td_to_noop(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, td_to_noop() argument 583 static void xhci_stop_watchdog_timer_in_irq(struct xhci_hcd *xhci, xhci_stop_watchdog_timer_in_irq() argument 596 static void xhci_giveback_urb_in_irq(struct xhci_hcd *xhci, xhci_giveback_urb_in_irq() argument 636 static void xhci_handle_cmd_stop_ep(struct xhci_hcd *xhci, int slot_id, xhci_handle_cmd_stop_ep() argument 757 static void xhci_kill_ring_urbs(struct xhci_hcd *xhci, struct xhci_ring *ring) xhci_kill_ring_urbs() argument 771 static void xhci_kill_endpoint_urbs(struct xhci_hcd *xhci, xhci_kill_endpoint_urbs() argument 829 struct xhci_hcd *xhci; xhci_stop_endpoint_command_watchdog() local 899 static void update_ring_for_set_deq_completion(struct xhci_hcd *xhci, update_ring_for_set_deq_completion() argument 953 static void xhci_handle_cmd_set_deq(struct xhci_hcd *xhci, int slot_id, xhci_handle_cmd_set_deq() argument 1047 static void xhci_handle_cmd_reset_ep(struct xhci_hcd *xhci, int slot_id, xhci_handle_cmd_reset_ep() argument 1082 static void xhci_handle_cmd_enable_slot(struct xhci_hcd *xhci, int slot_id, xhci_handle_cmd_enable_slot() argument 1091 static void xhci_handle_cmd_disable_slot(struct xhci_hcd *xhci, int slot_id) xhci_handle_cmd_disable_slot() argument 1104 static void xhci_handle_cmd_config_ep(struct xhci_hcd *xhci, int slot_id, xhci_handle_cmd_config_ep() argument 1157 static void xhci_handle_cmd_reset_dev(struct xhci_hcd *xhci, int slot_id, xhci_handle_cmd_reset_dev() argument 1166 static void xhci_handle_cmd_nec_get_fw(struct xhci_hcd *xhci, xhci_handle_cmd_nec_get_fw() argument 1191 void xhci_cleanup_command_queue(struct xhci_hcd *xhci) xhci_cleanup_command_queue() argument 1203 static void xhci_handle_stopped_cmd_ring(struct xhci_hcd *xhci, xhci_handle_stopped_cmd_ring() argument 1251 struct xhci_hcd *xhci; xhci_handle_command_timeout() local 1289 static void handle_cmd_completion(struct xhci_hcd *xhci, handle_cmd_completion() argument 1413 static void handle_vendor_event(struct xhci_hcd *xhci, handle_vendor_event() argument 1462 static void handle_device_notification(struct xhci_hcd *xhci, handle_device_notification() argument 1482 static void handle_port_status(struct xhci_hcd *xhci, handle_port_status() argument 1672 struct xhci_segment *trb_in_td(struct xhci_hcd *xhci, trb_in_td() argument 1733 static void xhci_cleanup_halted_endpoint(struct xhci_hcd *xhci, xhci_cleanup_halted_endpoint() argument 1761 static int xhci_requires_manual_halt_cleanup(struct xhci_hcd *xhci, xhci_requires_manual_halt_cleanup() argument 1782 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code) xhci_is_vendor_info_code() argument 1800 static int finish_td(struct xhci_hcd *xhci, struct xhci_td *td, finish_td() argument 1893 static int process_ctrl_td(struct xhci_hcd *xhci, struct xhci_td *td, process_ctrl_td() argument 1997 static int process_isoc_td(struct xhci_hcd *xhci, struct xhci_td *td, process_isoc_td() argument 2081 static int skip_isoc_td(struct xhci_hcd *xhci, struct xhci_td *td, skip_isoc_td() argument 2112 static int process_bulk_intr_td(struct xhci_hcd *xhci, struct xhci_td *td, process_bulk_intr_td() argument 2573 static int xhci_handle_event(struct xhci_hcd *xhci) xhci_handle_event() argument 2649 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_irq() local 2747 static void queue_trb(struct xhci_hcd *xhci, struct xhci_ring *ring, queue_trb() argument 2765 static int prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, prepare_ring() argument 2850 static int prepare_transfer(struct xhci_hcd *xhci, prepare_transfer() argument 2901 static unsigned int count_sg_trbs_needed(struct xhci_hcd *xhci, struct urb *urb) count_sg_trbs_needed() argument 2950 static void giveback_first_trb(struct xhci_hcd *xhci, int slot_id, giveback_first_trb() argument 2972 int xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, xhci_queue_intr_tx() argument 3023 static u32 xhci_td_remainder(struct xhci_hcd *xhci, int transferred, xhci_td_remainder() argument 3045 static int queue_bulk_sg_tx(struct xhci_hcd *xhci, gfp_t mem_flags, queue_bulk_sg_tx() argument 3216 int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, xhci_queue_bulk_tx() argument 3368 int xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, xhci_queue_ctrl_tx() argument 3490 static int count_isoc_trbs_needed(struct xhci_hcd *xhci, count_isoc_trbs_needed() argument 3515 static unsigned int xhci_get_burst_count(struct xhci_hcd *xhci, xhci_get_burst_count() argument 3536 static unsigned int xhci_get_last_burst_packet_count(struct xhci_hcd *xhci, xhci_get_last_burst_packet_count() argument 3565 static int xhci_queue_isoc_tx(struct xhci_hcd *xhci, gfp_t mem_flags, xhci_queue_isoc_tx() argument 3748 int xhci_queue_isoc_tx_prepare(struct xhci_hcd *xhci, gfp_t mem_flags, xhci_queue_isoc_tx_prepare() argument 3820 static int queue_command(struct xhci_hcd *xhci, struct xhci_command *cmd, queue_command() argument 3862 int xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd, xhci_queue_slot_control() argument 3870 int xhci_queue_address_device(struct xhci_hcd *xhci, struct xhci_command *cmd, xhci_queue_address_device() argument 3879 int xhci_queue_vendor_command(struct xhci_hcd *xhci, struct xhci_command *cmd, xhci_queue_vendor_command() argument 3886 int xhci_queue_reset_device(struct xhci_hcd *xhci, struct xhci_command *cmd, xhci_queue_reset_device() argument 3895 int xhci_queue_configure_endpoint(struct xhci_hcd *xhci, xhci_queue_configure_endpoint() argument 3906 int xhci_queue_evaluate_context(struct xhci_hcd *xhci, struct xhci_command *cmd, xhci_queue_evaluate_context() argument 3919 int xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd, xhci_queue_stop_endpoint() argument 3932 void xhci_queue_new_dequeue_state(struct xhci_hcd *xhci, xhci_queue_new_dequeue_state() argument 3999 int xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd, xhci_queue_reset_ep() argument 1431 find_faked_portnum_from_hw_portnum(struct usb_hcd *hcd, struct xhci_hcd *xhci, u32 port_id) find_faked_portnum_from_hw_portnum() argument
|
H A D | xhci.c | 83 void xhci_quiesce(struct xhci_hcd *xhci) xhci_quiesce() argument 107 int xhci_halt(struct xhci_hcd *xhci) xhci_halt() argument 127 static int xhci_start(struct xhci_hcd *xhci) xhci_start() argument 162 int xhci_reset(struct xhci_hcd *xhci) xhci_reset() argument 213 static int xhci_free_msi(struct xhci_hcd *xhci) xhci_free_msi() argument 230 static int xhci_setup_msi(struct xhci_hcd *xhci) xhci_setup_msi() argument 257 static void xhci_free_irq(struct xhci_hcd *xhci) xhci_free_irq() argument 278 static int xhci_setup_msix(struct xhci_hcd *xhci) xhci_setup_msix() argument 336 static void xhci_cleanup_msix(struct xhci_hcd *xhci) xhci_cleanup_msix() argument 358 static void __maybe_unused xhci_msix_sync_irqs(struct xhci_hcd *xhci) xhci_msix_sync_irqs() argument 370 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_try_enable_msi() local 429 static inline void xhci_cleanup_msix(struct xhci_hcd *xhci) xhci_cleanup_msix() argument 433 static inline void xhci_msix_sync_irqs(struct xhci_hcd *xhci) xhci_msix_sync_irqs() argument 441 struct xhci_hcd *xhci; compliance_mode_recovery() local 484 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) compliance_mode_recovery_timer_init() argument 526 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) xhci_all_ports_seen_u0() argument 541 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_init() local 569 static int xhci_run_finished(struct xhci_hcd *xhci) xhci_run_finished() argument 603 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_run() local 671 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_only_stop_hcd() local 696 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_stop() local 755 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_shutdown() local 779 static void xhci_save_registers(struct xhci_hcd *xhci) xhci_save_registers() argument 792 static void xhci_restore_registers(struct xhci_hcd *xhci) xhci_restore_registers() argument 805 static void xhci_set_cmd_ring_deq(struct xhci_hcd *xhci) xhci_set_cmd_ring_deq() argument 831 static void xhci_clear_command_ring(struct xhci_hcd *xhci) xhci_clear_command_ring() argument 869 static void xhci_disable_port_wake_on_bits(struct xhci_hcd *xhci) xhci_disable_port_wake_on_bits() argument 909 int xhci_suspend(struct xhci_hcd *xhci, bool do_wakeup) xhci_suspend() argument 994 int xhci_resume(struct xhci_hcd *xhci, bool hibernated) xhci_resume() argument 1211 struct xhci_hcd *xhci; xhci_check_args() local 1255 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, xhci_check_maxpacket() argument 1335 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_urb_enqueue() local 1471 static struct xhci_ring *xhci_urb_to_transfer_ring(struct xhci_hcd *xhci, xhci_urb_to_transfer_ring() argument 1544 struct xhci_hcd *xhci; xhci_urb_dequeue() local 1657 struct xhci_hcd *xhci; xhci_drop_endpoint() local 1738 struct xhci_hcd *xhci; xhci_add_endpoint() local 1831 static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) xhci_zero_in_ctx() argument 1865 static int xhci_configure_endpoint_result(struct xhci_hcd *xhci, xhci_configure_endpoint_result() argument 1915 static int xhci_evaluate_context_result(struct xhci_hcd *xhci, xhci_evaluate_context_result() argument 1967 static u32 xhci_count_num_new_endpoints(struct xhci_hcd *xhci, xhci_count_num_new_endpoints() argument 1988 static unsigned int xhci_count_num_dropped_endpoints(struct xhci_hcd *xhci, xhci_count_num_dropped_endpoints() argument 2014 static int xhci_reserve_host_resources(struct xhci_hcd *xhci, xhci_reserve_host_resources() argument 2041 static void xhci_free_host_resources(struct xhci_hcd *xhci, xhci_free_host_resources() argument 2060 static void xhci_finish_resource_reservation(struct xhci_hcd *xhci, xhci_finish_resource_reservation() argument 2106 static int xhci_check_tt_bw_table(struct xhci_hcd *xhci, xhci_check_tt_bw_table() argument 2136 static int xhci_check_ss_bw(struct xhci_hcd *xhci, xhci_check_ss_bw() argument 2193 static int xhci_check_bw_table(struct xhci_hcd *xhci, xhci_check_bw_table() argument 2396 void xhci_drop_ep_from_interval_table(struct xhci_hcd *xhci, xhci_drop_ep_from_interval_table() argument 2459 static void xhci_add_ep_to_interval_table(struct xhci_hcd *xhci, xhci_add_ep_to_interval_table() argument 2532 void xhci_update_tt_active_eps(struct xhci_hcd *xhci, xhci_update_tt_active_eps() argument 2552 static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, xhci_reserve_bandwidth() argument 2645 static int xhci_configure_endpoint(struct xhci_hcd *xhci, xhci_configure_endpoint() argument 2729 static void xhci_check_bw_drop_ep_streams(struct xhci_hcd *xhci, xhci_check_bw_drop_ep_streams() argument 2757 struct xhci_hcd *xhci; xhci_check_bandwidth() local 2859 struct xhci_hcd *xhci; xhci_reset_bandwidth() local 2880 static void xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, xhci_setup_input_ctx_for_config_ep() argument 2895 static void xhci_setup_input_ctx_for_quirk(struct xhci_hcd *xhci, xhci_setup_input_ctx_for_quirk() argument 2934 void xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, xhci_cleanup_stalled_ring() argument 2986 struct xhci_hcd *xhci; xhci_endpoint_reset() local 3004 static int xhci_check_streams_endpoint(struct xhci_hcd *xhci, xhci_check_streams_endpoint() argument 3044 static void xhci_calculate_streams_entries(struct xhci_hcd *xhci, xhci_calculate_streams_entries() argument 3070 static int xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, xhci_calculate_streams_and_bitmask() argument 3102 static u32 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, xhci_calculate_no_streams_bitmask() argument 3164 struct xhci_hcd *xhci; xhci_alloc_streams() local 3325 struct xhci_hcd *xhci; xhci_free_streams() local 3412 void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci, xhci_free_device_endpoint_resources() argument 3456 struct xhci_hcd *xhci; xhci_discover_or_reset_device() local 3617 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_free_dev() local 3687 static int xhci_reserve_host_control_ep_resources(struct xhci_hcd *xhci) xhci_reserve_host_control_ep_resources() argument 3710 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_alloc_dev() local 3809 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_setup_device() local 3997 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_find_raw_port_number() local 4015 static int __maybe_unused xhci_change_max_exit_latency(struct xhci_hcd *xhci, xhci_change_max_exit_latency() argument 4085 static int xhci_calculate_hird_besl(struct xhci_hcd *xhci, xhci_calculate_hird_besl() argument 4144 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_set_usb2_hardware_lpm() local 4246 static int xhci_check_usb2_port_capability(struct xhci_hcd *xhci, int port, xhci_check_usb2_port_capability() argument 4267 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_update_device() local 4389 static u16 xhci_calculate_u1_timeout(struct xhci_hcd *xhci, xhci_calculate_u1_timeout() argument 4445 static u16 xhci_calculate_u2_timeout(struct xhci_hcd *xhci, xhci_calculate_u2_timeout() argument 4468 static u16 xhci_call_host_update_timeout_for_endpoint(struct xhci_hcd *xhci, xhci_call_host_update_timeout_for_endpoint() argument 4482 static int xhci_update_timeout_for_endpoint(struct xhci_hcd *xhci, xhci_update_timeout_for_endpoint() argument 4507 static int xhci_update_timeout_for_interface(struct xhci_hcd *xhci, xhci_update_timeout_for_interface() argument 4548 static int xhci_check_tier_policy(struct xhci_hcd *xhci, xhci_check_tier_policy() argument 4566 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_calculate_lpm_timeout() local 4677 struct xhci_hcd *xhci; xhci_enable_usb3_lpm_timeout() local 4708 struct xhci_hcd *xhci; xhci_disable_usb3_lpm_timeout() local 4757 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_update_hub_device() local 4862 struct xhci_hcd *xhci = hcd_to_xhci(hcd); xhci_get_frame() local 4869 struct xhci_hcd *xhci; xhci_gen_setup() local
|
H A D | xhci.h | 876 struct xhci_hcd *xhci; member in struct:xhci_virt_ep 1608 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) xhci_to_hcd() argument 1633 static inline u64 xhci_read_64(const struct xhci_hcd *xhci, xhci_read_64() argument 1641 static inline void xhci_write_64(struct xhci_hcd *xhci, xhci_write_64() argument 1652 static inline int xhci_link_trb_quirk(struct xhci_hcd *xhci) xhci_link_trb_quirk() argument
|
/linux-4.1.27/drivers/usb/dwc3/ |
H A D | host.c | 25 struct platform_device *xhci; dwc3_host_init() local
|
H A D | core.h | 730 struct platform_device *xhci; member in struct:dwc3
|