Home
last modified time | relevance | path

Searched refs:ep_state (Results 1 – 21 of 21) sorted by relevance

/drivers/usb/gadget/udc/cdns2/
A Dcdns2-gadget.c166 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 …]
A Dcdns2-ep0.c104 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()
A Dcdns2-gadget.h569 u32 ep_state; member
A Dcdns2-trace.h482 __entry->flags = pep->ep_state;
/drivers/usb/cdns3/
A Dcdnsp-gadget.c652 pep->ep_state |= EP_HALTED; in cdnsp_halt_endpoint()
662 pep->ep_state &= ~EP_HALTED; in cdnsp_halt_endpoint()
667 pep->ep_state &= ~EP_WEDGE; in cdnsp_halt_endpoint()
751 pdev->eps[0].ep_state |= EP_ENABLED; in cdnsp_reset_device()
833 pep->ep_state |= EP_HAS_STREAMS; in cdnsp_alloc_streams()
980 pep->ep_state &= ~EP_UNCONFIGURED; in cdnsp_gadget_ep_enable()
1028 pep->ep_state |= EP_ENABLED; in cdnsp_gadget_ep_enable()
1029 pep->ep_state &= ~EP_STOPPED; in cdnsp_gadget_ep_enable()
1090 pep->ep_state |= EP_STOPPED; in cdnsp_gadget_ep_disable()
1175 if (!(pep->ep_state & EP_ENABLED)) in cdnsp_gadget_ep_dequeue()
[all …]
A Dcdnsp-ring.c281 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()
1630 u32 ep_state, unsigned in cdnsp_prepare_ring() argument
1637 switch (ep_state) { in cdnsp_prepare_ring()
2145 if (ep_state == EP_STATE_STOPPED || ep_state == EP_STATE_DISABLED || in cdnsp_cmd_stop_ep()
2146 ep_state == EP_STATE_HALTED) { in cdnsp_cmd_stop_ep()
[all …]
A Dcdnsp-ep0.c32 pep->ep_state |= EP0_HALTED_STATUS; in cdnsp_ep0_stall()
309 if (!set && (pep->ep_state & EP_WEDGE)) { in cdnsp_ep0_handle_feature_endpoint()
434 if (pep->ep_state & EP_HALTED) { in cdnsp_setup_analyze()
444 pep->ep_state &= ~EP_HALTED; in cdnsp_setup_analyze()
445 pep->ep_state |= EP_STOPPED; in cdnsp_setup_analyze()
A Dcdnsp-debug.h543 u8 max_pstr, ep_state, interval, ep_type, burst, cerr, mult; in cdnsp_decode_ep_context() local
552 ep_state = info & EP_STATE_MASK; in cdnsp_decode_ep_context()
567 cdnsp_ep_state_string(ep_state), mult, in cdnsp_decode_ep_context()
A Dcdnsp-mem.c545 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()
A Dcdnsp-trace.h52 __entry->state = pep->ep_state;
54 __entry->enabled = pep->ep_state & EP_HAS_STREAMS;
A Dcdnsp-gadget.h838 unsigned int ep_state; member
/drivers/usb/host/
A Dxhci-ring.c555 unsigned int ep_state = ep->ep_state; in xhci_ring_ep_doorbell() local
563 if ((ep_state & EP_STOP_CMD_PENDING) || (ep_state & SET_DEQ_PENDING) || in xhci_ring_ep_doorbell()
564 (ep_state & EP_HALTED) || (ep_state & EP_CLEARING_TT)) in xhci_ring_ep_doorbell()
1002 if (ep->ep_state & EP_HALTED) { in xhci_handle_halted_endpoint()
1012 ep->ep_state |= EP_HALTED; in xhci_handle_halted_endpoint()
1226 if (ep->ep_state & EP_HALTED) in xhci_handle_cmd_stop_ep()
1255 if (ep->ep_state & EP_HALTED) in xhci_handle_cmd_stop_ep()
1449 unsigned int ep_state; in xhci_handle_cmd_set_deq() local
1463 slot_state, ep_state); in xhci_handle_cmd_set_deq()
1577 ep->ep_state &= ~EP_HALTED; in xhci_handle_cmd_reset_ep()
[all …]
A Dxhci.c1619 unsigned int *ep_state; in xhci_urb_enqueue() local
1674 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1678 *ep_state); in xhci_urb_enqueue()
3034 ep->ep_state &= ~EP_HAS_STREAMS; in xhci_check_bw_drop_ep_streams()
3252 if (ep->ep_state) in xhci_endpoint_disable()
3254 ep->ep_state); in xhci_endpoint_disable()
3428 unsigned int ep_state; in xhci_check_streams_endpoint() local
3443 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_check_streams_endpoint()
3444 if (ep_state & EP_HAS_STREAMS || in xhci_check_streams_endpoint()
3527 unsigned int ep_state; in xhci_calculate_no_streams_bitmask() local
[all …]
A Dxhci-sideband.c138 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_sideband_add_endpoint()
A Dxhci.h663 unsigned int ep_state; member
2548 u8 ep_state; in xhci_decode_ep_context() local
2561 ep_state = info & EP_STATE_MASK; in xhci_decode_ep_context()
2576 xhci_ep_state_string(ep_state), mult, in xhci_decode_ep_context()
A Dxhci-debugfs.c288 dev->eps[ep_index].ep_state); in xhci_endpoint_context_show()
A Dxhci-hub.c539 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_ring_device()
A Dxhci-mem.c595 if (ep->ep_state & EP_HAS_STREAMS) in xhci_dma_to_transfer_ring()
/drivers/pci/controller/dwc/
A Dpcie-tegra194.c283 int ep_state; member
1692 if (pcie->ep_state == EP_STATE_DISABLED) in pex_ep_event_pex_rst_assert()
1729 pcie->ep_state = EP_STATE_DISABLED; in pex_ep_event_pex_rst_assert()
1742 if (pcie->ep_state == EP_STATE_ENABLED) in pex_ep_event_pex_rst_deassert()
1912 pcie->ep_state = EP_STATE_ENABLED; in pex_ep_event_pex_rst_deassert()
2061 pcie->ep_state = EP_STATE_DISABLED; in tegra_pcie_config_ep()
/drivers/usb/gadget/legacy/
A Draw_gadget.c133 enum ep_state { enum
140 enum ep_state state;
A Dinode.c191 enum ep_state { enum
200 enum ep_state state;

Completed in 82 milliseconds