Lines Matching refs:ep_state

393 	unsigned int ep_state = ep->ep_state;  in xhci_ring_ep_doorbell()  local
401 if ((ep_state & EP_STOP_CMD_PENDING) || (ep_state & SET_DEQ_PENDING) || in xhci_ring_ep_doorbell()
402 (ep_state & EP_HALTED)) in xhci_ring_ep_doorbell()
421 if (!(ep->ep_state & EP_HAS_STREAMS)) { in ring_doorbell_for_active_rings()
448 if (!(ep->ep_state & EP_HAS_STREAMS)) in xhci_triad_to_transfer_ring()
488 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_get_hw_deq()
622 ep->ep_state &= ~EP_STOP_CMD_PENDING; in xhci_stop_watchdog_timer_in_irq()
852 if ((ep->ep_state & EP_HAS_STREAMS) || in xhci_kill_endpoint_urbs()
853 (ep->ep_state & EP_GETTING_NO_STREAMS)) { in xhci_kill_endpoint_urbs()
947 if (!(ep->ep_state & EP_STOP_CMD_PENDING) || in xhci_stop_endpoint_command_watchdog()
955 ep->ep_state &= ~EP_STOP_CMD_PENDING; in xhci_stop_endpoint_command_watchdog()
1054 unsigned int ep_state; in xhci_handle_cmd_set_deq() local
1063 ep_state = GET_EP_CTX_STATE(ep_ctx); in xhci_handle_cmd_set_deq()
1068 slot_state, ep_state); in xhci_handle_cmd_set_deq()
1088 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_handle_cmd_set_deq()
1112 dev->eps[ep_index].ep_state &= ~SET_DEQ_PENDING; in xhci_handle_cmd_set_deq()
1156 xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_HALTED; in xhci_handle_cmd_reset_ep()
1194 unsigned int ep_state; in xhci_handle_cmd_config_ep() local
1229 ep_state = virt_dev->eps[ep_index].ep_state; in xhci_handle_cmd_config_ep()
1230 if (!(ep_state & EP_HALTED)) in xhci_handle_cmd_config_ep()
1235 ep_index, ep_state); in xhci_handle_cmd_config_ep()
1237 virt_dev->eps[ep_index].ep_state &= ~EP_HALTED; in xhci_handle_cmd_config_ep()
1752 ep->ep_state |= EP_HALTED; in xhci_cleanup_halted_endpoint()
1757 ep->ep_state |= EP_HARD_CLEAR_TOGGLE; in xhci_cleanup_halted_endpoint()
2298 ep->ep_state |= EP_HALTED; in handle_tx_event()
2762 u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) in prepare_ring() argument
2767 switch (ep_state) { in prepare_ring()
3959 if ((ep->ep_state & SET_DEQ_PENDING)) { in xhci_queue_new_dequeue_state()
3988 ep->ep_state |= SET_DEQ_PENDING; in xhci_queue_new_dequeue_state()