Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
H A Dcdnsp-ep0.c174 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_ep0_handle_status()
435 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_HALTED) in cdnsp_setup_analyze()
H A Dcdnsp-gadget.c453 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_RUNNING) in cdnsp_ep_dequeue()
646 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_STOPPED) { in cdnsp_halt_endpoint()
705 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_update_eps_configuration()
H A Dcdnsp-ring.c1262 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_DISABLED) { in cdnsp_handle_tx_event()
1689 GET_EP_CTX_STATE(preq->pep->out_ctx), in cdnsp_prepare_transfer()
2142 u32 ep_state = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_cmd_stop_ep()
H A Dcdnsp-gadget.h671 #define GET_EP_CTX_STATE(ctx) (le32_to_cpu((ctx)->ep_info) & EP_STATE_MASK) macro
/linux/drivers/usb/host/
H A Dxhci-ring.c1225 switch (GET_EP_CTX_STATE(ep_ctx)) { in xhci_handle_cmd_stop_ep()
1281 GET_EP_CTX_STATE(ep_ctx)); in xhci_handle_cmd_stop_ep()
1462 ep_state = GET_EP_CTX_STATE(ep_ctx); in xhci_handle_cmd_set_deq()
2208 return GET_EP_CTX_STATE(ep_ctx) == EP_STATE_HALTED; in xhci_halted_host_endpoint()
2663 if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) { in handle_tx_event()
3347 ret = prepare_ring(xhci, ep_ring, GET_EP_CTX_STATE(ep_ctx), in prepare_transfer()
4294 ret = prepare_ring(xhci, ep_ring, GET_EP_CTX_STATE(ep_ctx), in xhci_queue_isoc_tx_prepare()
4307 if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_RUNNING) { in xhci_queue_isoc_tx_prepare()
H A Dxhci-hub.c486 if (GET_EP_CTX_STATE(ep_ctx) != EP_STATE_RUNNING) in xhci_stop_device()
H A Dxhci.h451 #define GET_EP_CTX_STATE(ctx) (le32_to_cpu((ctx)->ep_info) & EP_STATE_MASK) macro
H A Dxhci.c1943 if ((GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) || in xhci_drop_endpoint()