Lines Matching refs:ep_state
435 unsigned int ep_state = ep->ep_state; in xhci_ring_ep_doorbell() local
443 if ((ep_state & EP_STOP_CMD_PENDING) || (ep_state & SET_DEQ_PENDING) || in xhci_ring_ep_doorbell()
444 (ep_state & EP_HALTED) || (ep_state & EP_CLEARING_TT)) in xhci_ring_ep_doorbell()
465 if (!(ep->ep_state & EP_HAS_STREAMS)) { in ring_doorbell_for_active_rings()
512 if (!(ep->ep_state & EP_HAS_STREAMS)) in xhci_virt_ep_to_ring()
560 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_get_hw_deq()
626 !(ep->ep_state & EP_HAS_STREAMS)) in xhci_move_dequeue_past_td()
681 if ((ep->ep_state & SET_DEQ_PENDING)) { in xhci_move_dequeue_past_td()
716 ep->ep_state |= SET_DEQ_PENDING; in xhci_move_dequeue_past_td()
748 ep->ep_state &= ~EP_STOP_CMD_PENDING; in xhci_stop_watchdog_timer_in_irq()
925 ep->ep_state |= EP_HARD_CLEAR_TOGGLE; in xhci_handle_halted_endpoint()
932 if (ep->ep_state & EP_HALTED) { in xhci_handle_halted_endpoint()
942 ep->ep_state |= EP_HALTED; in xhci_handle_halted_endpoint()
1116 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_handle_cmd_stop_ep()
1186 if ((ep->ep_state & EP_HAS_STREAMS) || in xhci_kill_endpoint_urbs()
1187 (ep->ep_state & EP_GETTING_NO_STREAMS)) { in xhci_kill_endpoint_urbs()
1283 if (!(ep->ep_state & EP_STOP_CMD_PENDING) || in xhci_stop_endpoint_command_watchdog()
1294 ep->ep_state &= ~EP_STOP_CMD_PENDING; in xhci_stop_endpoint_command_watchdog()
1384 unsigned int ep_state; in xhci_handle_cmd_set_deq() local
1393 ep_state = GET_EP_CTX_STATE(ep_ctx); in xhci_handle_cmd_set_deq()
1398 slot_state, ep_state); in xhci_handle_cmd_set_deq()
1418 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_handle_cmd_set_deq()
1455 ep->ep_state &= ~SET_DEQ_PENDING; in xhci_handle_cmd_set_deq()
1489 ep->ep_state &= ~EP_HALTED; in xhci_handle_cmd_reset_ep()
1531 unsigned int ep_state; in xhci_handle_cmd_config_ep() local
1568 ep_state = virt_dev->eps[ep_index].ep_state; in xhci_handle_cmd_config_ep()
1569 if (!(ep_state & EP_HALTED)) in xhci_handle_cmd_config_ep()
1574 ep_index, ep_state); in xhci_handle_cmd_config_ep()
1576 virt_dev->eps[ep_index].ep_state &= ~EP_HALTED; in xhci_handle_cmd_config_ep()
2148 !(ep->ep_state & EP_CLEARING_TT)) { in xhci_clear_hub_tt_buffer()
2149 ep->ep_state |= EP_CLEARING_TT; in xhci_clear_hub_tt_buffer()
2152 ep->ep_state &= ~EP_CLEARING_TT; in xhci_clear_hub_tt_buffer()
2234 if ((ep->ep_state & EP_HALTED) && in finish_td()
3205 u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) in prepare_ring() argument
3211 switch (ep_state) { in prepare_ring()