Lines Matching defs:xhci

83 void xhci_quiesce(struct xhci_hcd *xhci)  in xhci_quiesce()
107 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt()
127 static int xhci_start(struct xhci_hcd *xhci) in xhci_start()
162 int xhci_reset(struct xhci_hcd *xhci) in xhci_reset()
213 static int xhci_free_msi(struct xhci_hcd *xhci) in xhci_free_msi()
230 static int xhci_setup_msi(struct xhci_hcd *xhci) in xhci_setup_msi()
257 static void xhci_free_irq(struct xhci_hcd *xhci) in xhci_free_irq()
278 static int xhci_setup_msix(struct xhci_hcd *xhci) in xhci_setup_msix()
336 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
358 static void __maybe_unused xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
370 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi() local
429 static inline void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
433 static inline void xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
441 struct xhci_hcd *xhci; in compliance_mode_recovery() local
484 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) in compliance_mode_recovery_timer_init()
526 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) in xhci_all_ports_seen_u0()
541 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_init() local
569 static int xhci_run_finished(struct xhci_hcd *xhci) in xhci_run_finished()
603 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_run() local
671 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_only_stop_hcd() local
696 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_stop() local
755 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_shutdown() local
779 static void xhci_save_registers(struct xhci_hcd *xhci) in xhci_save_registers()
792 static void xhci_restore_registers(struct xhci_hcd *xhci) in xhci_restore_registers()
805 static void xhci_set_cmd_ring_deq(struct xhci_hcd *xhci) in xhci_set_cmd_ring_deq()
831 static void xhci_clear_command_ring(struct xhci_hcd *xhci) in xhci_clear_command_ring()
869 static void xhci_disable_port_wake_on_bits(struct xhci_hcd *xhci) in xhci_disable_port_wake_on_bits()
909 int xhci_suspend(struct xhci_hcd *xhci, bool do_wakeup) in xhci_suspend()
994 int xhci_resume(struct xhci_hcd *xhci, bool hibernated) in xhci_resume()
1211 struct xhci_hcd *xhci; in xhci_check_args() local
1255 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket()
1335 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_urb_enqueue() local
1471 static struct xhci_ring *xhci_urb_to_transfer_ring(struct xhci_hcd *xhci, in xhci_urb_to_transfer_ring()
1544 struct xhci_hcd *xhci; in xhci_urb_dequeue() local
1657 struct xhci_hcd *xhci; in xhci_drop_endpoint() local
1738 struct xhci_hcd *xhci; in xhci_add_endpoint() local
1831 static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) in xhci_zero_in_ctx()
1865 static int xhci_configure_endpoint_result(struct xhci_hcd *xhci, in xhci_configure_endpoint_result()
1915 static int xhci_evaluate_context_result(struct xhci_hcd *xhci, in xhci_evaluate_context_result()
1967 static u32 xhci_count_num_new_endpoints(struct xhci_hcd *xhci, in xhci_count_num_new_endpoints()
1988 static unsigned int xhci_count_num_dropped_endpoints(struct xhci_hcd *xhci, in xhci_count_num_dropped_endpoints()
2014 static int xhci_reserve_host_resources(struct xhci_hcd *xhci, in xhci_reserve_host_resources()
2041 static void xhci_free_host_resources(struct xhci_hcd *xhci, in xhci_free_host_resources()
2060 static void xhci_finish_resource_reservation(struct xhci_hcd *xhci, in xhci_finish_resource_reservation()
2106 static int xhci_check_tt_bw_table(struct xhci_hcd *xhci, in xhci_check_tt_bw_table()
2136 static int xhci_check_ss_bw(struct xhci_hcd *xhci, in xhci_check_ss_bw()
2193 static int xhci_check_bw_table(struct xhci_hcd *xhci, in xhci_check_bw_table()
2396 void xhci_drop_ep_from_interval_table(struct xhci_hcd *xhci, in xhci_drop_ep_from_interval_table()
2459 static void xhci_add_ep_to_interval_table(struct xhci_hcd *xhci, in xhci_add_ep_to_interval_table()
2532 void xhci_update_tt_active_eps(struct xhci_hcd *xhci, in xhci_update_tt_active_eps()
2552 static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, in xhci_reserve_bandwidth()
2645 static int xhci_configure_endpoint(struct xhci_hcd *xhci, in xhci_configure_endpoint()
2729 static void xhci_check_bw_drop_ep_streams(struct xhci_hcd *xhci, in xhci_check_bw_drop_ep_streams()
2757 struct xhci_hcd *xhci; in xhci_check_bandwidth() local
2859 struct xhci_hcd *xhci; in xhci_reset_bandwidth() local
2880 static void xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, in xhci_setup_input_ctx_for_config_ep()
2895 static void xhci_setup_input_ctx_for_quirk(struct xhci_hcd *xhci, in xhci_setup_input_ctx_for_quirk()
2934 void xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, in xhci_cleanup_stalled_ring()
2986 struct xhci_hcd *xhci; in xhci_endpoint_reset() local
3004 static int xhci_check_streams_endpoint(struct xhci_hcd *xhci, in xhci_check_streams_endpoint()
3044 static void xhci_calculate_streams_entries(struct xhci_hcd *xhci, in xhci_calculate_streams_entries()
3070 static int xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, in xhci_calculate_streams_and_bitmask()
3102 static u32 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, in xhci_calculate_no_streams_bitmask()
3164 struct xhci_hcd *xhci; in xhci_alloc_streams() local
3325 struct xhci_hcd *xhci; in xhci_free_streams() local
3412 void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci, in xhci_free_device_endpoint_resources()
3456 struct xhci_hcd *xhci; in xhci_discover_or_reset_device() local
3617 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_free_dev() local
3687 static int xhci_reserve_host_control_ep_resources(struct xhci_hcd *xhci) in xhci_reserve_host_control_ep_resources()
3710 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_alloc_dev() local
3809 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_setup_device() local
3997 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_find_raw_port_number() local
4015 static int __maybe_unused xhci_change_max_exit_latency(struct xhci_hcd *xhci, in xhci_change_max_exit_latency()
4085 static int xhci_calculate_hird_besl(struct xhci_hcd *xhci, in xhci_calculate_hird_besl()
4144 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_set_usb2_hardware_lpm() local
4246 static int xhci_check_usb2_port_capability(struct xhci_hcd *xhci, int port, in xhci_check_usb2_port_capability()
4267 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_update_device() local
4389 static u16 xhci_calculate_u1_timeout(struct xhci_hcd *xhci, in xhci_calculate_u1_timeout()
4445 static u16 xhci_calculate_u2_timeout(struct xhci_hcd *xhci, in xhci_calculate_u2_timeout()
4468 static u16 xhci_call_host_update_timeout_for_endpoint(struct xhci_hcd *xhci, in xhci_call_host_update_timeout_for_endpoint()
4482 static int xhci_update_timeout_for_endpoint(struct xhci_hcd *xhci, in xhci_update_timeout_for_endpoint()
4507 static int xhci_update_timeout_for_interface(struct xhci_hcd *xhci, in xhci_update_timeout_for_interface()
4548 static int xhci_check_tier_policy(struct xhci_hcd *xhci, in xhci_check_tier_policy()
4566 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_calculate_lpm_timeout() local
4677 struct xhci_hcd *xhci; in xhci_enable_usb3_lpm_timeout() local
4708 struct xhci_hcd *xhci; in xhci_disable_usb3_lpm_timeout() local
4757 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_update_hub_device() local
4862 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_get_frame() local
4869 struct xhci_hcd *xhci; in xhci_gen_setup() local