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()
134 int xhci_start(struct xhci_hcd *xhci) in xhci_start()
171 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us) in xhci_reset()
229 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs()
327 struct xhci_hcd *xhci; in compliance_mode_recovery() local
375 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) in compliance_mode_recovery_timer_init()
415 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) in xhci_all_ports_seen_u0()
430 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_init() local
457 static int xhci_run_finished(struct xhci_hcd *xhci) in xhci_run_finished()
510 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_run() local
574 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_stop() local
633 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_shutdown() local
669 static void xhci_save_registers(struct xhci_hcd *xhci) in xhci_save_registers()
688 static void xhci_restore_registers(struct xhci_hcd *xhci) in xhci_restore_registers()
703 static void xhci_set_cmd_ring_deq(struct xhci_hcd *xhci) in xhci_set_cmd_ring_deq()
729 static void xhci_clear_command_ring(struct xhci_hcd *xhci) in xhci_clear_command_ring()
776 static void xhci_disable_hub_port_wake(struct xhci_hcd *xhci, in xhci_disable_hub_port_wake()
808 static bool xhci_pending_portevent(struct xhci_hcd *xhci) in xhci_pending_portevent()
849 int xhci_suspend(struct xhci_hcd *xhci, bool do_wakeup) in xhci_suspend()
963 int xhci_resume(struct xhci_hcd *xhci, pm_message_t msg) in xhci_resume()
1297 struct xhci_hcd *xhci; in xhci_map_urb_for_dma() local
1313 struct xhci_hcd *xhci; in xhci_unmap_urb_for_dma() local
1385 struct xhci_hcd *xhci; in xhci_check_args() local
1429 static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, in xhci_check_maxpacket()
1505 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_urb_enqueue() local
1651 struct xhci_hcd *xhci; in xhci_urb_dequeue() local
1783 struct xhci_hcd *xhci; in xhci_drop_endpoint() local
1866 struct xhci_hcd *xhci; in xhci_add_endpoint() local
1964 static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) in xhci_zero_in_ctx()
1998 static int xhci_configure_endpoint_result(struct xhci_hcd *xhci, in xhci_configure_endpoint_result()
2048 static int xhci_evaluate_context_result(struct xhci_hcd *xhci, in xhci_evaluate_context_result()
2098 static u32 xhci_count_num_new_endpoints(struct xhci_hcd *xhci, in xhci_count_num_new_endpoints()
2119 static unsigned int xhci_count_num_dropped_endpoints(struct xhci_hcd *xhci, in xhci_count_num_dropped_endpoints()
2145 static int xhci_reserve_host_resources(struct xhci_hcd *xhci, in xhci_reserve_host_resources()
2172 static void xhci_free_host_resources(struct xhci_hcd *xhci, in xhci_free_host_resources()
2191 static void xhci_finish_resource_reservation(struct xhci_hcd *xhci, in xhci_finish_resource_reservation()
2237 static int xhci_check_tt_bw_table(struct xhci_hcd *xhci, in xhci_check_tt_bw_table()
2267 static int xhci_check_ss_bw(struct xhci_hcd *xhci, in xhci_check_ss_bw()
2324 static int xhci_check_bw_table(struct xhci_hcd *xhci, in xhci_check_bw_table()
2527 static void xhci_drop_ep_from_interval_table(struct xhci_hcd *xhci, in xhci_drop_ep_from_interval_table()
2588 static void xhci_add_ep_to_interval_table(struct xhci_hcd *xhci, in xhci_add_ep_to_interval_table()
2659 void xhci_update_tt_active_eps(struct xhci_hcd *xhci, in xhci_update_tt_active_eps()
2679 static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, in xhci_reserve_bandwidth()
2772 static int xhci_configure_endpoint(struct xhci_hcd *xhci, in xhci_configure_endpoint()
2868 static void xhci_check_bw_drop_ep_streams(struct xhci_hcd *xhci, in xhci_check_bw_drop_ep_streams()
2896 struct xhci_hcd *xhci; in xhci_check_bandwidth() local
2993 struct xhci_hcd *xhci; in xhci_reset_bandwidth() local
3016 static void xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, in xhci_setup_input_ctx_for_config_ep()
3031 struct xhci_hcd *xhci; in xhci_endpoint_disable() local
3083 struct xhci_hcd *xhci; in xhci_endpoint_reset() local
3209 static int xhci_check_streams_endpoint(struct xhci_hcd *xhci, in xhci_check_streams_endpoint()
3249 static void xhci_calculate_streams_entries(struct xhci_hcd *xhci, in xhci_calculate_streams_entries()
3275 static int xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, in xhci_calculate_streams_and_bitmask()
3307 static u32 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, in xhci_calculate_no_streams_bitmask()
3369 struct xhci_hcd *xhci; in xhci_alloc_streams() local
3536 struct xhci_hcd *xhci; in xhci_free_streams() local
3623 void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci, in xhci_free_device_endpoint_resources()
3668 struct xhci_hcd *xhci; in xhci_discover_or_reset_device() local
3827 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_free_dev() local
3864 int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id) in xhci_disable_slot()
3914 static int xhci_reserve_host_control_ep_resources(struct xhci_hcd *xhci) in xhci_reserve_host_control_ep_resources()
3937 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_alloc_dev() local
4037 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_setup_device() local
4247 static int __maybe_unused xhci_change_max_exit_latency(struct xhci_hcd *xhci, in xhci_change_max_exit_latency()
4321 static int xhci_calculate_hird_besl(struct xhci_hcd *xhci, in xhci_calculate_hird_besl()
4380 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_set_usb2_hardware_lpm() local
4476 static int xhci_check_usb2_port_capability(struct xhci_hcd *xhci, int port, in xhci_check_usb2_port_capability()
4497 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_update_device() local
4619 static u16 xhci_calculate_u1_timeout(struct xhci_hcd *xhci, in xhci_calculate_u1_timeout()
4683 static u16 xhci_calculate_u2_timeout(struct xhci_hcd *xhci, in xhci_calculate_u2_timeout()
4714 static u16 xhci_call_host_update_timeout_for_endpoint(struct xhci_hcd *xhci, in xhci_call_host_update_timeout_for_endpoint()
4728 static int xhci_update_timeout_for_endpoint(struct xhci_hcd *xhci, in xhci_update_timeout_for_endpoint()
4753 static int xhci_update_timeout_for_interface(struct xhci_hcd *xhci, in xhci_update_timeout_for_interface()
4769 static int xhci_check_tier_policy(struct xhci_hcd *xhci, in xhci_check_tier_policy()
4801 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_calculate_lpm_timeout() local
4909 struct xhci_hcd *xhci; in xhci_enable_usb3_lpm_timeout() local
4951 struct xhci_hcd *xhci; in xhci_disable_usb3_lpm_timeout() local
4996 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_update_hub_device() local
5097 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_get_frame() local
5102 static void xhci_hcd_init_usb2_data(struct xhci_hcd *xhci, struct usb_hcd *hcd) in xhci_hcd_init_usb2_data()
5115 static void xhci_hcd_init_usb3_data(struct xhci_hcd *xhci, struct usb_hcd *hcd) in xhci_hcd_init_usb3_data()
5155 struct xhci_hcd *xhci; in xhci_gen_setup() local
5276 struct xhci_hcd *xhci; in xhci_clear_tt_buffer_complete() local