Lines Matching refs:ep_state

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()
944 if (dev_WARN_ONCE(pdev->dev, pep->ep_state & EP_ENABLED, in cdnsp_gadget_ep_enable()
990 pep->ep_state |= EP_ENABLED; in cdnsp_gadget_ep_enable()
991 pep->ep_state &= ~EP_STOPPED; in cdnsp_gadget_ep_enable()
1018 if (!(pep->ep_state & EP_ENABLED)) { in cdnsp_gadget_ep_disable()
1024 pep->ep_state |= EP_DIS_IN_RROGRESS; in cdnsp_gadget_ep_disable()
1027 if (!(pep->ep_state & EP_UNCONFIGURED)) { in cdnsp_gadget_ep_disable()
1040 pep->ep_state &= ~EP_DIS_IN_RROGRESS; in cdnsp_gadget_ep_disable()
1048 if (!(pep->ep_state & EP_UNCONFIGURED)) in cdnsp_gadget_ep_disable()
1053 pep->ep_state &= ~(EP_ENABLED | EP_UNCONFIGURED); in cdnsp_gadget_ep_disable()
1054 pep->ep_state |= EP_STOPPED; in cdnsp_gadget_ep_disable()
1106 if (!(pep->ep_state & EP_ENABLED)) { in cdnsp_gadget_ep_queue()
1136 if (!(pep->ep_state & EP_ENABLED)) in cdnsp_gadget_ep_dequeue()
1180 pep->ep_state |= EP_WEDGE; in cdnsp_gadget_ep_set_wedge()