Lines Matching defs:xhci

87 void xhci_quiesce(struct xhci_hcd *xhci)  in xhci_quiesce()
111 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt()
131 int xhci_start(struct xhci_hcd *xhci) in xhci_start()
166 int xhci_reset(struct xhci_hcd *xhci) in xhci_reset()
226 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs()
293 static int xhci_setup_msi(struct xhci_hcd *xhci) in xhci_setup_msi()
322 static int xhci_setup_msix(struct xhci_hcd *xhci) in xhci_setup_msix()
365 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
390 static void __maybe_unused xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
405 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi() local
465 static inline void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
469 static inline void xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
477 struct xhci_hcd *xhci; in compliance_mode_recovery() local
522 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) in compliance_mode_recovery_timer_init()
562 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) in xhci_all_ports_seen_u0()
577 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_init() local
605 static int xhci_run_finished(struct xhci_hcd *xhci) in xhci_run_finished()
639 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_run() local
715 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_stop() local
775 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_shutdown() local
796 static void xhci_save_registers(struct xhci_hcd *xhci) in xhci_save_registers()
809 static void xhci_restore_registers(struct xhci_hcd *xhci) in xhci_restore_registers()
822 static void xhci_set_cmd_ring_deq(struct xhci_hcd *xhci) in xhci_set_cmd_ring_deq()
848 static void xhci_clear_command_ring(struct xhci_hcd *xhci) in xhci_clear_command_ring()
886 static void xhci_disable_port_wake_on_bits(struct xhci_hcd *xhci) in xhci_disable_port_wake_on_bits()
929 static bool xhci_pending_portevent(struct xhci_hcd *xhci) in xhci_pending_portevent()
970 int xhci_suspend(struct xhci_hcd *xhci, bool do_wakeup) in xhci_suspend()
1084 int xhci_resume(struct xhci_hcd *xhci, bool hibernated) in xhci_resume()
1343 struct xhci_hcd *xhci; in xhci_check_args() local
1387 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket()
1463 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_urb_enqueue() local
1608 struct xhci_hcd *xhci; in xhci_urb_dequeue() local
1738 struct xhci_hcd *xhci; in xhci_drop_endpoint() local
1823 struct xhci_hcd *xhci; in xhci_add_endpoint() local
1929 static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) in xhci_zero_in_ctx()
1963 static int xhci_configure_endpoint_result(struct xhci_hcd *xhci, in xhci_configure_endpoint_result()
2013 static int xhci_evaluate_context_result(struct xhci_hcd *xhci, in xhci_evaluate_context_result()
2063 static u32 xhci_count_num_new_endpoints(struct xhci_hcd *xhci, in xhci_count_num_new_endpoints()
2084 static unsigned int xhci_count_num_dropped_endpoints(struct xhci_hcd *xhci, in xhci_count_num_dropped_endpoints()
2110 static int xhci_reserve_host_resources(struct xhci_hcd *xhci, in xhci_reserve_host_resources()
2137 static void xhci_free_host_resources(struct xhci_hcd *xhci, in xhci_free_host_resources()
2156 static void xhci_finish_resource_reservation(struct xhci_hcd *xhci, in xhci_finish_resource_reservation()
2203 static int xhci_check_tt_bw_table(struct xhci_hcd *xhci, in xhci_check_tt_bw_table()
2233 static int xhci_check_ss_bw(struct xhci_hcd *xhci, in xhci_check_ss_bw()
2290 static int xhci_check_bw_table(struct xhci_hcd *xhci, in xhci_check_bw_table()
2493 static void xhci_drop_ep_from_interval_table(struct xhci_hcd *xhci, in xhci_drop_ep_from_interval_table()
2557 static void xhci_add_ep_to_interval_table(struct xhci_hcd *xhci, in xhci_add_ep_to_interval_table()
2631 void xhci_update_tt_active_eps(struct xhci_hcd *xhci, in xhci_update_tt_active_eps()
2651 static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, in xhci_reserve_bandwidth()
2744 static int xhci_configure_endpoint(struct xhci_hcd *xhci, in xhci_configure_endpoint()
2840 static void xhci_check_bw_drop_ep_streams(struct xhci_hcd *xhci, in xhci_check_bw_drop_ep_streams()
2868 struct xhci_hcd *xhci; in xhci_check_bandwidth() local
2964 struct xhci_hcd *xhci; in xhci_reset_bandwidth() local
2986 static void xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, in xhci_setup_input_ctx_for_config_ep()
2998 static void xhci_setup_input_ctx_for_quirk(struct xhci_hcd *xhci, in xhci_setup_input_ctx_for_quirk()
3037 void xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_cleanup_stalled_ring()
3079 struct xhci_hcd *xhci; in xhci_endpoint_disable() local
3133 struct xhci_hcd *xhci; in xhci_endpoint_reset() local
3248 static int xhci_check_streams_endpoint(struct xhci_hcd *xhci, in xhci_check_streams_endpoint()
3288 static void xhci_calculate_streams_entries(struct xhci_hcd *xhci, in xhci_calculate_streams_entries()
3314 static int xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, in xhci_calculate_streams_and_bitmask()
3346 static u32 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, in xhci_calculate_no_streams_bitmask()
3408 struct xhci_hcd *xhci; in xhci_alloc_streams() local
3575 struct xhci_hcd *xhci; in xhci_free_streams() local
3662 void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci, in xhci_free_device_endpoint_resources()
3707 struct xhci_hcd *xhci; in xhci_discover_or_reset_device() local
3866 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_free_dev() local
3903 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id) in xhci_disable_slot()
3944 static int xhci_reserve_host_control_ep_resources(struct xhci_hcd *xhci) in xhci_reserve_host_control_ep_resources()
3967 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_alloc_dev() local
4063 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_setup_device() local
4267 static int __maybe_unused xhci_change_max_exit_latency(struct xhci_hcd *xhci, in xhci_change_max_exit_latency()
4333 static int xhci_calculate_hird_besl(struct xhci_hcd *xhci, in xhci_calculate_hird_besl()
4392 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_set_usb2_hardware_lpm() local
4500 static int xhci_check_usb2_port_capability(struct xhci_hcd *xhci, int port, in xhci_check_usb2_port_capability()
4521 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_update_device() local
4643 static u16 xhci_calculate_u1_timeout(struct xhci_hcd *xhci, in xhci_calculate_u1_timeout()
4707 static u16 xhci_calculate_u2_timeout(struct xhci_hcd *xhci, in xhci_calculate_u2_timeout()
4738 static u16 xhci_call_host_update_timeout_for_endpoint(struct xhci_hcd *xhci, in xhci_call_host_update_timeout_for_endpoint()
4752 static int xhci_update_timeout_for_endpoint(struct xhci_hcd *xhci, in xhci_update_timeout_for_endpoint()
4777 static int xhci_update_timeout_for_interface(struct xhci_hcd *xhci, in xhci_update_timeout_for_interface()
4818 static int xhci_check_tier_policy(struct xhci_hcd *xhci, in xhci_check_tier_policy()
4836 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_calculate_lpm_timeout() local
4949 struct xhci_hcd *xhci; in xhci_enable_usb3_lpm_timeout() local
4980 struct xhci_hcd *xhci; in xhci_disable_usb3_lpm_timeout() local
5025 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_update_hub_device() local
5125 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_get_frame() local
5132 struct xhci_hcd *xhci; in xhci_gen_setup() local
5290 struct xhci_hcd *xhci; in xhci_clear_tt_buffer_complete() local