/openbmc/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.c | 165 pep->ep_state |= EP_STALLED; in cdns2_ep_stall_flush() 166 pep->ep_state &= ~EP_STALL_PENDING; in cdns2_ep_stall_flush() 327 pep->ep_state |= EP_RING_FULL; in cdns2_prepare_ring() 338 pep->ep_state |= EP_DEFERRED_DRDY; in cdns2_prepare_ring() 807 if (!pep->wa1_set && !(pep->ep_state & EP_STALLED) && !pep->skip) { in cdns2_ep_run_transfer() 837 pep->ep_state &= ~EP_RING_FULL; in cdns2_start_all_request() 1037 if (!(pep->ep_state & EP_STALLED) && in cdns2_transfer_completed() 1038 !(pep->ep_state & EP_STALL_PENDING)) in cdns2_transfer_completed() 1119 if (pep->ep_state & EP_STALL_PENDING && in cdns2_handle_epx_interrupt() 1136 if (pep->ep_state & EP_DEFERRED_DRDY) { in cdns2_handle_epx_interrupt() [all …]
|
H A D | cdns2-ep0.c | 104 pep->ep_state |= EP_STALLED; in cdns2_ep0_stall() 195 if (pep->ep_state & EP_STALLED) in cdns2_req_ep0_handle_status() 300 if (set || !(pep->ep_state & EP_WEDGE)) in cdns2_ep0_handle_feature_endpoint() 416 pep->ep_state &= ~EP_STALLED; in cdns2_handle_setup_packet()
|
H A D | cdns2-gadget.h | 569 u32 ep_state; member
|
H A D | cdns2-trace.h | 482 __entry->flags = pep->ep_state;
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.c | 614 pep->ep_state |= EP_HALTED; in cdnsp_halt_endpoint() 624 pep->ep_state &= ~EP_HALTED; in cdnsp_halt_endpoint() 626 if (pep->idx != 0 && !(pep->ep_state & EP_WEDGE)) in cdnsp_halt_endpoint() 629 pep->ep_state &= ~EP_WEDGE; in cdnsp_halt_endpoint() 704 pdev->eps[0].ep_state & EP_HALTED) { in cdnsp_reset_device() 712 pdev->eps[0].ep_state &= ~(EP_STOPPED | EP_HALTED); in cdnsp_reset_device() 713 pdev->eps[0].ep_state |= EP_ENABLED; in cdnsp_reset_device() 727 pdev->eps[i].ep_state |= EP_STOPPED | EP_UNCONFIGURED; in cdnsp_reset_device() 795 pep->ep_state |= EP_HAS_STREAMS; in cdnsp_alloc_streams() 942 pep->ep_state &= ~EP_UNCONFIGURED; in cdnsp_gadget_ep_enable() [all …]
|
H A D | cdnsp-ring.c | 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() 722 !(pep->ep_state & EP_DIS_IN_RROGRESS)) in cdnsp_remove_request() [all …]
|
H A D | cdnsp-ep0.c | 32 pep->ep_state |= EP0_HALTED_STATUS; in cdnsp_ep0_stall() 309 if (!set && (pep->ep_state & EP_WEDGE)) { in cdnsp_ep0_handle_feature_endpoint() 431 if (pdev->eps[0].ep_state & EP_HALTED) { in cdnsp_setup_analyze()
|
H A D | cdnsp-debug.h | 545 u8 max_pstr, ep_state, interval, ep_type, burst, cerr, mult; in cdnsp_decode_ep_context() local 554 ep_state = info & EP_STATE_MASK; in cdnsp_decode_ep_context() 569 cdnsp_ep_state_string(ep_state), mult, in cdnsp_decode_ep_context()
|
H A D | cdnsp-mem.c | 545 if (pep->ep_state & EP_HAS_STREAMS) in cdnsp_dma_to_transfer_ring() 649 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_free_stream_info() 665 pep->ep_state &= ~EP_HAS_STREAMS; in cdnsp_free_stream_info()
|
H A D | cdnsp-trace.h | 52 __entry->state = pep->ep_state; 54 __entry->enabled = pep->ep_state & EP_HAS_STREAMS;
|
H A D | cdnsp-gadget.h | 831 unsigned int ep_state; member
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci.c | 1510 unsigned int *ep_state; in xhci_urb_enqueue() local 1523 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue() 1576 if (*ep_state & (EP_GETTING_STREAMS | EP_GETTING_NO_STREAMS)) { in xhci_urb_enqueue() 1578 *ep_state); in xhci_urb_enqueue() 1582 if (*ep_state & EP_SOFT_CLEAR_TOGGLE) { in xhci_urb_enqueue() 1742 if (ep->ep_state & (EP_STOP_CMD_PENDING | EP_HALTED | SET_DEQ_PENDING)) { in xhci_urb_dequeue() 1744 urb->dev->slot_id, ep_index, ep->ep_state); in xhci_urb_dequeue() 1749 if (ep->ep_state & EP_CLEARING_TT) { in xhci_urb_dequeue() 1752 urb->dev->slot_id, ep_index, ep->ep_state); in xhci_urb_dequeue() 1762 ep->ep_state |= EP_STOP_CMD_PENDING; in xhci_urb_dequeue() [all …]
|
H A D | xhci-ring.c | 496 unsigned int ep_state = ep->ep_state; in xhci_ring_ep_doorbell() local 504 if ((ep_state & EP_STOP_CMD_PENDING) || (ep_state & SET_DEQ_PENDING) || in xhci_ring_ep_doorbell() 505 (ep_state & EP_HALTED) || (ep_state & EP_CLEARING_TT)) in xhci_ring_ep_doorbell() 526 if (!(ep->ep_state & EP_HAS_STREAMS)) { in ring_doorbell_for_active_rings() 573 if (!(ep->ep_state & EP_HAS_STREAMS)) in xhci_virt_ep_to_ring() 621 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_get_hw_deq() 719 if ((ep->ep_state & SET_DEQ_PENDING)) { in xhci_move_dequeue_past_td() 754 ep->ep_state |= SET_DEQ_PENDING; in xhci_move_dequeue_past_td() 955 ep->ep_state |= EP_HARD_CLEAR_TOGGLE; in xhci_handle_halted_endpoint() 962 if (ep->ep_state & EP_HALTED) { in xhci_handle_halted_endpoint() [all …]
|
H A D | xhci.h | 687 unsigned int ep_state; member 2527 u8 ep_state; in xhci_decode_ep_context() local 2540 ep_state = info & EP_STATE_MASK; in xhci_decode_ep_context() 2555 xhci_ep_state_string(ep_state), mult, in xhci_decode_ep_context()
|
H A D | xhci-hub.c | 570 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_ring_device()
|
H A D | xhci-mem.c | 574 if (ep->ep_state & EP_HAS_STREAMS) in xhci_dma_to_transfer_ring()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-tegra194.c | 290 int ep_state; member 1704 if (pcie->ep_state == EP_STATE_DISABLED) in pex_ep_event_pex_rst_assert() 1741 pcie->ep_state = EP_STATE_DISABLED; in pex_ep_event_pex_rst_assert() 1754 if (pcie->ep_state == EP_STATE_ENABLED) in pex_ep_event_pex_rst_deassert() 1920 pcie->ep_state = EP_STATE_ENABLED; in pex_ep_event_pex_rst_deassert() 2066 pcie->ep_state = EP_STATE_DISABLED; in tegra_pcie_config_ep()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-ring.c | 210 u32 ep_state) in prepare_ring() argument 215 switch (ep_state) { in prepare_ring()
|
H A D | xhci.h | 1061 unsigned int ep_state; member
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | raw_gadget.c | 132 enum ep_state { enum 139 enum ep_state state;
|
H A D | inode.c | 184 enum ep_state { enum 193 enum ep_state state;
|