Lines Matching refs:xhci_hcd
86 void xhci_quiesce(struct xhci_hcd *xhci) in xhci_quiesce()
110 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt()
133 int xhci_start(struct xhci_hcd *xhci) in xhci_start()
170 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us) in xhci_reset()
228 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs()
299 static int xhci_setup_msi(struct xhci_hcd *xhci) in xhci_setup_msi()
328 static int xhci_setup_msix(struct xhci_hcd *xhci) in xhci_setup_msix()
371 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
396 static void __maybe_unused xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
411 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi()
471 static inline void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
475 static inline void xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
483 struct xhci_hcd *xhci; in compliance_mode_recovery()
531 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) in compliance_mode_recovery_timer_init()
571 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) in xhci_all_ports_seen_u0()
586 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_init()
614 static int xhci_run_finished(struct xhci_hcd *xhci) in xhci_run_finished()
667 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_run()
735 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_stop()
795 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_shutdown()
833 static void xhci_save_registers(struct xhci_hcd *xhci) in xhci_save_registers()
846 static void xhci_restore_registers(struct xhci_hcd *xhci) in xhci_restore_registers()
859 static void xhci_set_cmd_ring_deq(struct xhci_hcd *xhci) in xhci_set_cmd_ring_deq()
885 static void xhci_clear_command_ring(struct xhci_hcd *xhci) in xhci_clear_command_ring()
932 static void xhci_disable_hub_port_wake(struct xhci_hcd *xhci, in xhci_disable_hub_port_wake()
964 static bool xhci_pending_portevent(struct xhci_hcd *xhci) in xhci_pending_portevent()
1005 int xhci_suspend(struct xhci_hcd *xhci, bool do_wakeup) in xhci_suspend()
1123 int xhci_resume(struct xhci_hcd *xhci, bool hibernated) in xhci_resume()
1437 struct xhci_hcd *xhci; in xhci_map_urb_for_dma()
1453 struct xhci_hcd *xhci; in xhci_unmap_urb_for_dma()
1525 struct xhci_hcd *xhci; in xhci_check_args()
1559 static int xhci_configure_endpoint(struct xhci_hcd *xhci,
1569 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket()
1645 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_urb_enqueue()
1791 struct xhci_hcd *xhci; in xhci_urb_dequeue()
1923 struct xhci_hcd *xhci; in xhci_drop_endpoint()
2006 struct xhci_hcd *xhci; in xhci_add_endpoint()
2104 static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) in xhci_zero_in_ctx()
2138 static int xhci_configure_endpoint_result(struct xhci_hcd *xhci, in xhci_configure_endpoint_result()
2188 static int xhci_evaluate_context_result(struct xhci_hcd *xhci, in xhci_evaluate_context_result()
2238 static u32 xhci_count_num_new_endpoints(struct xhci_hcd *xhci, in xhci_count_num_new_endpoints()
2259 static unsigned int xhci_count_num_dropped_endpoints(struct xhci_hcd *xhci, in xhci_count_num_dropped_endpoints()
2285 static int xhci_reserve_host_resources(struct xhci_hcd *xhci, in xhci_reserve_host_resources()
2312 static void xhci_free_host_resources(struct xhci_hcd *xhci, in xhci_free_host_resources()
2331 static void xhci_finish_resource_reservation(struct xhci_hcd *xhci, in xhci_finish_resource_reservation()
2378 static int xhci_check_tt_bw_table(struct xhci_hcd *xhci, in xhci_check_tt_bw_table()
2408 static int xhci_check_ss_bw(struct xhci_hcd *xhci, in xhci_check_ss_bw()
2465 static int xhci_check_bw_table(struct xhci_hcd *xhci, in xhci_check_bw_table()
2668 static void xhci_drop_ep_from_interval_table(struct xhci_hcd *xhci, in xhci_drop_ep_from_interval_table()
2732 static void xhci_add_ep_to_interval_table(struct xhci_hcd *xhci, in xhci_add_ep_to_interval_table()
2806 void xhci_update_tt_active_eps(struct xhci_hcd *xhci, in xhci_update_tt_active_eps()
2826 static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, in xhci_reserve_bandwidth()
2919 static int xhci_configure_endpoint(struct xhci_hcd *xhci, in xhci_configure_endpoint()
3015 static void xhci_check_bw_drop_ep_streams(struct xhci_hcd *xhci, in xhci_check_bw_drop_ep_streams()
3043 struct xhci_hcd *xhci; in xhci_check_bandwidth()
3140 struct xhci_hcd *xhci; in xhci_reset_bandwidth()
3163 static void xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, in xhci_setup_input_ctx_for_config_ep()
3178 struct xhci_hcd *xhci; in xhci_endpoint_disable()
3230 struct xhci_hcd *xhci; in xhci_endpoint_reset()
3356 static int xhci_check_streams_endpoint(struct xhci_hcd *xhci, in xhci_check_streams_endpoint()
3396 static void xhci_calculate_streams_entries(struct xhci_hcd *xhci, in xhci_calculate_streams_entries()
3422 static int xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, in xhci_calculate_streams_and_bitmask()
3454 static u32 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, in xhci_calculate_no_streams_bitmask()
3516 struct xhci_hcd *xhci; in xhci_alloc_streams()
3683 struct xhci_hcd *xhci; in xhci_free_streams()
3770 void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci, in xhci_free_device_endpoint_resources()
3815 struct xhci_hcd *xhci; in xhci_discover_or_reset_device()
3974 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_free_dev()
4011 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id) in xhci_disable_slot()
4061 static int xhci_reserve_host_control_ep_resources(struct xhci_hcd *xhci) in xhci_reserve_host_control_ep_resources()
4084 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_alloc_dev()
4178 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_setup_device()
4383 static int __maybe_unused xhci_change_max_exit_latency(struct xhci_hcd *xhci, in xhci_change_max_exit_latency()
4456 static int xhci_calculate_hird_besl(struct xhci_hcd *xhci, in xhci_calculate_hird_besl()
4515 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_set_usb2_hardware_lpm()
4611 static int xhci_check_usb2_port_capability(struct xhci_hcd *xhci, int port, in xhci_check_usb2_port_capability()
4632 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_update_device()
4754 static u16 xhci_calculate_u1_timeout(struct xhci_hcd *xhci, in xhci_calculate_u1_timeout()
4818 static u16 xhci_calculate_u2_timeout(struct xhci_hcd *xhci, in xhci_calculate_u2_timeout()
4849 static u16 xhci_call_host_update_timeout_for_endpoint(struct xhci_hcd *xhci, in xhci_call_host_update_timeout_for_endpoint()
4863 static int xhci_update_timeout_for_endpoint(struct xhci_hcd *xhci, in xhci_update_timeout_for_endpoint()
4888 static int xhci_update_timeout_for_interface(struct xhci_hcd *xhci, in xhci_update_timeout_for_interface()
4925 static int xhci_check_tier_policy(struct xhci_hcd *xhci, in xhci_check_tier_policy()
4943 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_calculate_lpm_timeout()
5051 struct xhci_hcd *xhci; in xhci_enable_usb3_lpm_timeout()
5093 struct xhci_hcd *xhci; in xhci_disable_usb3_lpm_timeout()
5138 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_update_hub_device()
5239 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_get_frame()
5244 static void xhci_hcd_init_usb2_data(struct xhci_hcd *xhci, struct usb_hcd *hcd) in xhci_hcd_init_usb2_data()
5257 static void xhci_hcd_init_usb3_data(struct xhci_hcd *xhci, struct usb_hcd *hcd) in xhci_hcd_init_usb3_data()
5297 struct xhci_hcd *xhci; in xhci_gen_setup()
5412 struct xhci_hcd *xhci; in xhci_clear_tt_buffer_complete()
5433 .hcd_priv_size = sizeof(struct xhci_hcd),