Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c166 pep->ep_state |= EP_STALLED; in cdns2_ep_stall_flush()
167 pep->ep_state &= ~EP_STALL_PENDING; in cdns2_ep_stall_flush()
328 pep->ep_state |= EP_RING_FULL; in cdns2_prepare_ring()
339 pep->ep_state |= EP_DEFERRED_DRDY; in cdns2_prepare_ring()
808 if (!pep->wa1_set && !(pep->ep_state & EP_STALLED) && !pep->skip) { in cdns2_ep_run_transfer()
838 pep->ep_state &= ~EP_RING_FULL; in cdns2_start_all_request()
1038 if (!(pep->ep_state & EP_STALLED) && in cdns2_transfer_completed()
1039 !(pep->ep_state & EP_STALL_PENDING)) in cdns2_transfer_completed()
1120 if (pep->ep_state & EP_STALL_PENDING && in cdns2_handle_epx_interrupt()
1137 if (pep->ep_state & EP_DEFERRED_DRDY) { in cdns2_handle_epx_interrupt()
[all …]
H 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()
H A Dcdns2-gadget.h569 u32 ep_state; member
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c660 pep->ep_state |= EP_HALTED; in cdnsp_halt_endpoint()
670 pep->ep_state &= ~EP_HALTED; in cdnsp_halt_endpoint()
672 if (pep->idx != 0 && !(pep->ep_state & EP_WEDGE)) in cdnsp_halt_endpoint()
675 pep->ep_state &= ~EP_WEDGE; in cdnsp_halt_endpoint()
750 pdev->eps[0].ep_state & EP_HALTED) { in cdnsp_reset_device()
758 pdev->eps[0].ep_state &= ~(EP_STOPPED | EP_HALTED); in cdnsp_reset_device()
759 pdev->eps[0].ep_state |= EP_ENABLED; in cdnsp_reset_device()
773 pdev->eps[i].ep_state |= EP_STOPPED | EP_UNCONFIGURED; in cdnsp_reset_device()
841 pep->ep_state |= EP_HAS_STREAMS; in cdnsp_alloc_streams()
988 pep->ep_state &= ~EP_UNCONFIGURED; in cdnsp_gadget_ep_enable()
[all …]
H 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()
H 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()
H A Dcdnsp-mem.c545 if (pep->ep_state & EP_HAS_STREAMS) in cdnsp_dma_to_transfer_ring()
650 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_free_stream_info()
666 pep->ep_state &= ~EP_HAS_STREAMS; in cdnsp_free_stream_info()
/linux/drivers/usb/host/
H A Dxhci-sideband.c160 if (ep->ep_state & EP_HAS_STREAMS) in xhci_sideband_add_endpoint()
/linux/drivers/usb/gadget/legacy/
H A Draw_gadget.c134 enum ep_state { enum
141 enum ep_state state;