Home
last modified time | relevance | path

Searched refs:EP_ENABLED (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c759 pdev->eps[0].ep_state |= EP_ENABLED; in cdnsp_reset_device()
990 if (dev_WARN_ONCE(pdev->dev, pep->ep_state & EP_ENABLED, in cdnsp_gadget_ep_enable()
1036 pep->ep_state |= EP_ENABLED; in cdnsp_gadget_ep_enable()
1064 if (!(pep->ep_state & EP_ENABLED)) { in cdnsp_gadget_ep_disable()
1097 pep->ep_state &= ~(EP_ENABLED | EP_UNCONFIGURED); in cdnsp_gadget_ep_disable()
1150 if (!(pep->ep_state & EP_ENABLED)) { in cdnsp_gadget_ep_queue()
1183 if (!(pep->ep_state & EP_ENABLED)) in cdnsp_gadget_ep_dequeue()
H A Dcdns3-ep0.c719 !(priv_ep->flags & EP_ENABLED)) in cdns3_gadget_ep0_queue()
H A Dcdns3-gadget.h1148 #define EP_ENABLED BIT(0) macro
H A Dcdnsp-gadget.h839 #define EP_ENABLED BIT(0) macro
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c1546 if (dev_WARN_ONCE(pdev->dev, pep->ep_state & EP_ENABLED, in cdns2_gadget_ep_enable()
1593 pep->ep_state |= EP_ENABLED; in cdns2_gadget_ep_enable()
1626 if (dev_WARN_ONCE(pdev->dev, !(pep->ep_state & EP_ENABLED), in cdns2_gadget_ep_disable()
1662 pep->ep_state &= ~EP_ENABLED; in cdns2_gadget_ep_disable()
1712 if (!(pep->ep_state & EP_ENABLED)) { in cdns2_gadget_ep_queue()
1761 if (!(pep->ep_state & EP_ENABLED)) in cdns2_gadget_ep_dequeue()
1830 if (!(pep->ep_state & EP_ENABLED)) in cdns2_halt_endpoint()
H A Dcdns2-gadget.h561 #define EP_ENABLED BIT(0) macro