Lines Matching defs:xhci
117 static void next_trb(struct xhci_hcd *xhci, in next_trb()
134 static void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring) in inc_deq()
180 static void inc_enq(struct xhci_hcd *xhci, struct xhci_ring *ring, in inc_enq()
234 static inline int room_on_ring(struct xhci_hcd *xhci, struct xhci_ring *ring, in room_on_ring()
252 void xhci_ring_cmd_db(struct xhci_hcd *xhci) in xhci_ring_cmd_db()
263 static bool xhci_mod_cmd_timer(struct xhci_hcd *xhci, unsigned long delay) in xhci_mod_cmd_timer()
268 static struct xhci_command *xhci_next_queued_cmd(struct xhci_hcd *xhci) in xhci_next_queued_cmd()
279 static void xhci_handle_stopped_cmd_ring(struct xhci_hcd *xhci, in xhci_handle_stopped_cmd_ring()
323 static int xhci_abort_cmd_ring(struct xhci_hcd *xhci, unsigned long flags) in xhci_abort_cmd_ring()
381 void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, in xhci_ring_ep_doorbell()
406 static void ring_doorbell_for_active_rings(struct xhci_hcd *xhci, in ring_doorbell_for_active_rings()
435 struct xhci_ring *xhci_triad_to_transfer_ring(struct xhci_hcd *xhci, in xhci_triad_to_transfer_ring()
485 void xhci_find_new_dequeue_state(struct xhci_hcd *xhci, in xhci_find_new_dequeue_state()
580 static void td_to_noop(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, in td_to_noop()
632 static void xhci_stop_watchdog_timer_in_irq(struct xhci_hcd *xhci, in xhci_stop_watchdog_timer_in_irq()
645 static void xhci_giveback_urb_in_irq(struct xhci_hcd *xhci, in xhci_giveback_urb_in_irq()
675 void xhci_unmap_td_bounce_buffer(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_unmap_td_bounce_buffer()
710 static void xhci_handle_cmd_stop_ep(struct xhci_hcd *xhci, int slot_id, in xhci_handle_cmd_stop_ep()
834 static void xhci_kill_ring_urbs(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_kill_ring_urbs()
851 static void xhci_kill_endpoint_urbs(struct xhci_hcd *xhci, in xhci_kill_endpoint_urbs()
912 struct xhci_hcd *xhci; in xhci_stop_endpoint_command_watchdog() local
975 static void update_ring_for_set_deq_completion(struct xhci_hcd *xhci, in update_ring_for_set_deq_completion()
1028 static void xhci_handle_cmd_set_deq(struct xhci_hcd *xhci, int slot_id, in xhci_handle_cmd_set_deq()
1122 static void xhci_handle_cmd_reset_ep(struct xhci_hcd *xhci, int slot_id, in xhci_handle_cmd_reset_ep()
1157 static void xhci_handle_cmd_enable_slot(struct xhci_hcd *xhci, int slot_id, in xhci_handle_cmd_enable_slot()
1166 static void xhci_handle_cmd_disable_slot(struct xhci_hcd *xhci, int slot_id) in xhci_handle_cmd_disable_slot()
1179 static void xhci_handle_cmd_config_ep(struct xhci_hcd *xhci, int slot_id, in xhci_handle_cmd_config_ep()
1232 static void xhci_handle_cmd_reset_dev(struct xhci_hcd *xhci, int slot_id, in xhci_handle_cmd_reset_dev()
1241 static void xhci_handle_cmd_nec_get_fw(struct xhci_hcd *xhci, in xhci_handle_cmd_nec_get_fw()
1266 void xhci_cleanup_command_queue(struct xhci_hcd *xhci) in xhci_cleanup_command_queue()
1275 struct xhci_hcd *xhci; in xhci_handle_command_timeout() local
1333 static void handle_cmd_completion(struct xhci_hcd *xhci, in handle_cmd_completion()
1463 static void handle_vendor_event(struct xhci_hcd *xhci, in handle_vendor_event()
1482 struct xhci_hcd *xhci, u32 port_id) in find_faked_portnum_from_hw_portnum()
1512 static void handle_device_notification(struct xhci_hcd *xhci, in handle_device_notification()
1532 static void handle_port_status(struct xhci_hcd *xhci, in handle_port_status()
1723 struct xhci_segment *trb_in_td(struct xhci_hcd *xhci, in trb_in_td()
1784 static void xhci_cleanup_halted_endpoint(struct xhci_hcd *xhci, in xhci_cleanup_halted_endpoint()
1812 static int xhci_requires_manual_halt_cleanup(struct xhci_hcd *xhci, in xhci_requires_manual_halt_cleanup()
1833 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code) in xhci_is_vendor_info_code()
1851 static int finish_td(struct xhci_hcd *xhci, struct xhci_td *td, in finish_td()
1950 static int process_ctrl_td(struct xhci_hcd *xhci, struct xhci_td *td, in process_ctrl_td()
2068 static int process_isoc_td(struct xhci_hcd *xhci, struct xhci_td *td, in process_isoc_td()
2158 static int skip_isoc_td(struct xhci_hcd *xhci, struct xhci_td *td, in skip_isoc_td()
2189 static int process_bulk_intr_td(struct xhci_hcd *xhci, struct xhci_td *td, in process_bulk_intr_td()
2310 static int handle_tx_event(struct xhci_hcd *xhci, in handle_tx_event()
2666 static int xhci_handle_event(struct xhci_hcd *xhci) in xhci_handle_event()
2742 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_irq() local
2841 static void queue_trb(struct xhci_hcd *xhci, struct xhci_ring *ring, in queue_trb()
2859 static int prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, in prepare_ring()
2937 static int prepare_transfer(struct xhci_hcd *xhci, in prepare_transfer()
3046 static void giveback_first_trb(struct xhci_hcd *xhci, int slot_id, in giveback_first_trb()
3062 static void check_interval(struct xhci_hcd *xhci, struct urb *urb, in check_interval()
3098 int xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_intr_tx()
3129 static u32 xhci_td_remainder(struct xhci_hcd *xhci, int transferred, in xhci_td_remainder()
3156 static int xhci_align_td(struct xhci_hcd *xhci, struct urb *urb, u32 enqd_len, in xhci_align_td()
3217 int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_bulk_tx()
3369 int xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_ctrl_tx()
3499 static unsigned int xhci_get_burst_count(struct xhci_hcd *xhci, in xhci_get_burst_count()
3519 static unsigned int xhci_get_last_burst_packet_count(struct xhci_hcd *xhci, in xhci_get_last_burst_packet_count()
3551 static int xhci_get_isoc_frame_id(struct xhci_hcd *xhci, in xhci_get_isoc_frame_id()
3636 static int xhci_queue_isoc_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_isoc_tx()
3831 int xhci_queue_isoc_tx_prepare(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_isoc_tx_prepare()
3917 static int queue_command(struct xhci_hcd *xhci, struct xhci_command *cmd, in queue_command()
3959 int xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd, in xhci_queue_slot_control()
3967 int xhci_queue_address_device(struct xhci_hcd *xhci, struct xhci_command *cmd, in xhci_queue_address_device()
3976 int xhci_queue_vendor_command(struct xhci_hcd *xhci, struct xhci_command *cmd, in xhci_queue_vendor_command()
3983 int xhci_queue_reset_device(struct xhci_hcd *xhci, struct xhci_command *cmd, in xhci_queue_reset_device()
3992 int xhci_queue_configure_endpoint(struct xhci_hcd *xhci, in xhci_queue_configure_endpoint()
4003 int xhci_queue_evaluate_context(struct xhci_hcd *xhci, struct xhci_command *cmd, in xhci_queue_evaluate_context()
4016 int xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd, in xhci_queue_stop_endpoint()
4029 void xhci_queue_new_dequeue_state(struct xhci_hcd *xhci, in xhci_queue_new_dequeue_state()
4096 int xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd, in xhci_queue_reset_ep()