Lines Matching refs:ep_state
281 unsigned int ep_state = pep->ep_state; in cdnsp_ring_ep_doorbell() local
288 if (ep_state & EP_HALTED || !(ep_state & EP_ENABLED)) in cdnsp_ring_ep_doorbell()
292 if (pep->ep_state & EP_HAS_STREAMS) { in cdnsp_ring_ep_doorbell()
299 pep->ep_state &= ~EP_STOPPED; in cdnsp_ring_ep_doorbell()
326 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_get_transfer_ring()
354 if (pep->ep_state & EP_DIS_IN_RROGRESS) in cdnsp_ring_doorbell_for_active_rings()
358 if (!(pep->ep_state & EP_HAS_STREAMS) && pep->number) { in cdnsp_ring_doorbell_for_active_rings()
407 if (pep->ep_state & EP_HAS_STREAMS) { in cdnsp_get_hw_deq()
721 if (seg && (pep->ep_state & EP_ENABLED)) in cdnsp_remove_request()
980 if ((pep->ep_state & EP_HAS_STREAMS) && in cdnsp_giveback_first_trb()
1191 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_handle_tx_nrdy()
1615 u32 ep_state, unsigned in cdnsp_prepare_ring() argument
1622 switch (ep_state) { in cdnsp_prepare_ring()
2086 if (pep->ep_state & EP0_HALTED_STATUS) { in cdnsp_queue_ctrl_tx()
2087 pep->ep_state &= ~EP0_HALTED_STATUS; in cdnsp_queue_ctrl_tx()
2104 u32 ep_state = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_cmd_stop_ep() local
2107 if (ep_state == EP_STATE_STOPPED || ep_state == EP_STATE_DISABLED || in cdnsp_cmd_stop_ep()
2108 ep_state == EP_STATE_HALTED) { in cdnsp_cmd_stop_ep()
2120 pep->ep_state |= EP_STOPPED; in cdnsp_cmd_stop_ep()
2331 u32 ep_state; in cdnsp_queue_isoc_tx_prepare() local
2336 ep_state = GET_EP_CTX_STATE(preq->pep->out_ctx); in cdnsp_queue_isoc_tx_prepare()
2344 ret = cdnsp_prepare_ring(pdev, ep_ring, ep_state, num_trbs, GFP_ATOMIC); in cdnsp_queue_isoc_tx_prepare()