Home
last modified time | relevance | path

Searched refs:ep_state (Results 1 – 13 of 13) 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.c538 if (pep->ep_state & EP_HAS_STREAMS) in cdnsp_dma_to_transfer_ring()
644 if (!(pep->ep_state & EP_HAS_STREAMS)) in cdnsp_free_stream_info()
660 pep->ep_state &= ~EP_HAS_STREAMS; in cdnsp_free_stream_info()
H A Dcdnsp-gadget.h838 unsigned int ep_state; member
/linux/drivers/usb/host/
H A Dxhci-ring.c558 unsigned int ep_state = ep->ep_state; in xhci_ring_ep_doorbell() local
566 if (ep_state & (EP_STOP_CMD_PENDING | SET_DEQ_PENDING | EP_HALTED | in xhci_ring_ep_doorbell()
587 if (!(ep->ep_state & EP_HAS_STREAMS)) { in xhci_ring_doorbell_for_active_rings()
627 if (!(ep->ep_state & EP_HAS_STREAMS)) in xhci_virt_ep_to_ring()
675 if (ep->ep_state & EP_HAS_STREAMS) { in xhci_get_hw_deq()
708 if ((ep->ep_state & SET_DEQ_PENDING)) { in xhci_move_deq_to_next_td()
766 ep->ep_state |= SET_DEQ_PENDING; in xhci_move_deq_to_next_td()
997 ep->ep_state |= EP_DROP_PENDING; in xhci_handle_halted_endpoint()
1003 ep->ep_state |= EP_HARD_CLEAR_TOGGLE; in xhci_handle_halted_endpoint()
1010 if (ep->ep_state & EP_HALTED) { in xhci_handle_halted_endpoint()
[all …]
H A Dxhci-sideband.c160 if (ep->ep_state & EP_HAS_STREAMS) in xhci_sideband_add_endpoint()
H A Dxhci-mem.c594 if (ep->ep_state & EP_HAS_STREAMS) in xhci_dma_to_transfer_ring()
/linux/drivers/usb/gadget/legacy/
H A Draw_gadget.c134 enum ep_state { enum
141 enum ep_state state;
H A Dinode.c190 enum ep_state { enum
199 enum ep_state state;