Home
last modified time | relevance | path

Searched refs:GET_EP_CTX_STATE (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci-ring.c1135 switch (GET_EP_CTX_STATE(ep_ctx)) { in xhci_handle_cmd_stop_ep()
1373 ep_state = GET_EP_CTX_STATE(ep_ctx); in xhci_handle_cmd_set_deq()
2153 if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_HALTED) in xhci_halted_host_endpoint()
2205 if (GET_EP_CTX_STATE(ep_ctx) != EP_STATE_HALTED) { in finish_td()
2629 if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) { in handle_tx_event()
3284 ret = prepare_ring(xhci, ep_ring, GET_EP_CTX_STATE(ep_ctx), in prepare_transfer()
4221 ret = prepare_ring(xhci, ep_ring, GET_EP_CTX_STATE(ep_ctx), in xhci_queue_isoc_tx_prepare()
4234 if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_RUNNING) { in xhci_queue_isoc_tx_prepare()
H A Dxhci.h452 #define GET_EP_CTX_STATE(ctx) (le32_to_cpu((ctx)->ep_info) & EP_STATE_MASK) macro
H A Dxhci-hub.c485 if (GET_EP_CTX_STATE(ep_ctx) != EP_STATE_RUNNING) in xhci_stop_device()
H A Dxhci.c1852 if ((GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) || in xhci_drop_endpoint()
/linux/drivers/usb/cdns3/
H A Dcdnsp-ep0.c174 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_ep0_handle_status()
H A Dcdnsp-gadget.c431 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_RUNNING) in cdnsp_ep_dequeue()
608 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_STOPPED) { in cdnsp_halt_endpoint()
667 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_update_eps_configuration()
H A Dcdnsp-ring.c1257 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_DISABLED) { in cdnsp_handle_tx_event()
1684 GET_EP_CTX_STATE(preq->pep->out_ctx), in cdnsp_prepare_transfer()
2137 u32 ep_state = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_cmd_stop_ep()
H A Dcdnsp-gadget.h664 #define GET_EP_CTX_STATE(ctx) (le32_to_cpu((ctx)->ep_info) & EP_STATE_MASK) macro