| /linux-6.15/drivers/usb/gadget/udc/cdns2/ |
| H A D | cdns2-gadget.c | 166 pep->ep_state |= EP_STALLED; in cdns2_ep_stall_flush() 328 pep->ep_state |= EP_RING_FULL; in cdns2_prepare_ring() 838 pep->ep_state &= ~EP_RING_FULL; in cdns2_start_all_request() 1593 pep->ep_state |= EP_ENABLED; in cdns2_gadget_ep_enable() 1662 pep->ep_state &= ~EP_ENABLED; in cdns2_gadget_ep_disable() 1690 if (!(pep->ep_state & EP_STALLED) && !(pep->ep_state & EP_STALL_PENDING)) in cdns2_ep_enqueue() 1879 pep->ep_state |= EP_STALLED; in cdns2_halt_endpoint() 1904 pep->ep_state &= ~EP_WEDGE; in cdns2_gadget_ep_set_halt() 1918 pep->ep_state |= EP_WEDGE; in cdns2_gadget_ep_set_wedge() 1983 pep->ep_state |= EP_CLAIMED; in cdns2_gadget_match_ep() [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;
|
| /linux-6.15/drivers/usb/cdns3/ |
| H A D | cdnsp-gadget.c | 635 pep->ep_state |= EP_HALTED; in cdnsp_halt_endpoint() 645 pep->ep_state &= ~EP_HALTED; in cdnsp_halt_endpoint() 650 pep->ep_state &= ~EP_WEDGE; in cdnsp_halt_endpoint() 734 pdev->eps[0].ep_state |= EP_ENABLED; in cdnsp_reset_device() 816 pep->ep_state |= EP_HAS_STREAMS; in cdnsp_alloc_streams() 963 pep->ep_state &= ~EP_UNCONFIGURED; in cdnsp_gadget_ep_enable() 1011 pep->ep_state |= EP_ENABLED; in cdnsp_gadget_ep_enable() 1012 pep->ep_state &= ~EP_STOPPED; in cdnsp_gadget_ep_enable() 1073 pep->ep_state |= EP_STOPPED; in cdnsp_gadget_ep_disable() 1158 if (!(pep->ep_state & EP_ENABLED)) in cdnsp_gadget_ep_dequeue() [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() 327 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_get_transfer_ring() 408 if (pep->ep_state & EP_HAS_STREAMS) { in cdnsp_get_hw_deq() 1628 u32 ep_state, unsigned in cdnsp_prepare_ring() argument 1635 switch (ep_state) { in cdnsp_prepare_ring() 2143 if (ep_state == EP_STATE_STOPPED || ep_state == EP_STATE_DISABLED || in cdnsp_cmd_stop_ep() 2144 ep_state == EP_STATE_HALTED) { in cdnsp_cmd_stop_ep() [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 | 542 u8 max_pstr, ep_state, interval, ep_type, burst, cerr, mult; in cdnsp_decode_ep_context() local 551 ep_state = info & EP_STATE_MASK; in cdnsp_decode_ep_context() 566 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 | 834 unsigned int ep_state; member
|
| /linux-6.15/drivers/usb/host/ |
| H A D | xhci-ring.c | 556 unsigned int ep_state = ep->ep_state; in xhci_ring_ep_doorbell() local 564 if ((ep_state & EP_STOP_CMD_PENDING) || (ep_state & SET_DEQ_PENDING) || in xhci_ring_ep_doorbell() 565 (ep_state & EP_HALTED) || (ep_state & EP_CLEARING_TT)) in xhci_ring_ep_doorbell() 1003 if (ep->ep_state & EP_HALTED) { in xhci_handle_halted_endpoint() 1013 ep->ep_state |= EP_HALTED; in xhci_handle_halted_endpoint() 1227 if (ep->ep_state & EP_HALTED) in xhci_handle_cmd_stop_ep() 1256 if (ep->ep_state & EP_HALTED) in xhci_handle_cmd_stop_ep() 1447 unsigned int ep_state; in xhci_handle_cmd_set_deq() local 1461 slot_state, ep_state); in xhci_handle_cmd_set_deq() 1575 ep->ep_state &= ~EP_HALTED; in xhci_handle_cmd_reset_ep() [all …]
|
| H A D | xhci.c | 1539 unsigned int *ep_state; in xhci_urb_enqueue() local 1594 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue() 1598 *ep_state); in xhci_urb_enqueue() 2954 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_check_bw_drop_ep_streams() 3136 if (ep->ep_state) in xhci_endpoint_disable() 3138 ep->ep_state); in xhci_endpoint_disable() 3312 unsigned int ep_state; in xhci_check_streams_endpoint() local 3327 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_check_streams_endpoint() 3328 if (ep_state & EP_HAS_STREAMS || in xhci_check_streams_endpoint() 3411 unsigned int ep_state; in xhci_calculate_no_streams_bitmask() local [all …]
|
| H A D | xhci.h | 665 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-debugfs.c | 288 dev->eps[ep_index].ep_state); in xhci_endpoint_context_show()
|
| H A D | xhci-hub.c | 539 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_ring_device()
|
| H A D | xhci-mem.c | 566 if (ep->ep_state & EP_HAS_STREAMS) in xhci_dma_to_transfer_ring()
|
| /linux-6.15/drivers/pci/controller/dwc/ |
| H A D | pcie-tegra194.c | 283 int ep_state; member 1691 if (pcie->ep_state == EP_STATE_DISABLED) in pex_ep_event_pex_rst_assert() 1728 pcie->ep_state = EP_STATE_DISABLED; in pex_ep_event_pex_rst_assert() 1741 if (pcie->ep_state == EP_STATE_ENABLED) in pex_ep_event_pex_rst_deassert() 1911 pcie->ep_state = EP_STATE_ENABLED; in pex_ep_event_pex_rst_deassert() 2060 pcie->ep_state = EP_STATE_DISABLED; in tegra_pcie_config_ep()
|
| /linux-6.15/drivers/usb/gadget/legacy/ |
| H A D | raw_gadget.c | 133 enum ep_state { enum 140 enum ep_state state;
|
| H A D | inode.c | 191 enum ep_state { enum 200 enum ep_state state;
|