Lines Matching refs:ep_state
332 unsigned int ep_state = ep->ep_state; in xhci_ring_ep_doorbell() local
340 if ((ep_state & EP_HALT_PENDING) || (ep_state & SET_DEQ_PENDING) || in xhci_ring_ep_doorbell()
341 (ep_state & EP_HALTED)) in xhci_ring_ep_doorbell()
360 if (!(ep->ep_state & EP_HAS_STREAMS)) { in ring_doorbell_for_active_rings()
383 if (!(ep->ep_state & EP_HAS_STREAMS)) in xhci_triad_to_transfer_ring()
464 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_find_new_dequeue_state()
586 ep->ep_state &= ~EP_HALT_PENDING; in xhci_stop_watchdog_timer_in_irq()
779 if ((ep->ep_state & EP_HAS_STREAMS) || in xhci_kill_endpoint_urbs()
780 (ep->ep_state & EP_GETTING_NO_STREAMS)) { in xhci_kill_endpoint_urbs()
847 if (!(ep->stop_cmds_pending == 0 && (ep->ep_state & EP_HALT_PENDING))) { in xhci_stop_endpoint_command_watchdog()
981 unsigned int ep_state; in xhci_handle_cmd_set_deq() local
990 ep_state = le32_to_cpu(ep_ctx->ep_info); in xhci_handle_cmd_set_deq()
991 ep_state &= EP_STATE_MASK; in xhci_handle_cmd_set_deq()
996 slot_state, ep_state); in xhci_handle_cmd_set_deq()
1016 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_handle_cmd_set_deq()
1040 dev->eps[ep_index].ep_state &= ~SET_DEQ_PENDING; in xhci_handle_cmd_set_deq()
1078 xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_HALTED; in xhci_handle_cmd_reset_ep()
1110 unsigned int ep_state; in xhci_handle_cmd_config_ep() local
1142 ep_state = virt_dev->eps[ep_index].ep_state; in xhci_handle_cmd_config_ep()
1143 if (!(ep_state & EP_HALTED)) in xhci_handle_cmd_config_ep()
1148 ep_index, ep_state); in xhci_handle_cmd_config_ep()
1150 virt_dev->eps[ep_index].ep_state &= ~EP_HALTED; in xhci_handle_cmd_config_ep()
1745 ep->ep_state |= EP_HALTED; in xhci_cleanup_halted_endpoint()
2354 ep->ep_state |= EP_HALTED; in handle_tx_event()
2805 u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) in prepare_ring() argument
2810 switch (ep_state) { in prepare_ring()
4149 if ((ep->ep_state & SET_DEQ_PENDING)) { in xhci_queue_new_dequeue_state()
4180 ep->ep_state |= SET_DEQ_PENDING; in xhci_queue_new_dequeue_state()