Lines Matching refs:epctrl
364 u32 epctrl; in dr_ep_get_stall() local
366 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_get_stall()
368 return (epctrl & EPCTRL_TX_EP_STALL) ? 1 : 0; in dr_ep_get_stall()
370 return (epctrl & EPCTRL_RX_EP_STALL) ? 1 : 0; in dr_ep_get_stall()
537 u32 epctrl; in fsl_ep_disable() local
548 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in fsl_ep_disable()
550 epctrl &= ~EPCTRL_TX_ENABLE; in fsl_ep_disable()
552 epctrl &= ~EPCTRL_RX_ENABLE; in fsl_ep_disable()
553 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]); in fsl_ep_disable()
841 u32 epctrl; in fsl_ep_dequeue() local
852 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in fsl_ep_dequeue()
854 epctrl &= ~EPCTRL_TX_ENABLE; in fsl_ep_dequeue()
856 epctrl &= ~EPCTRL_RX_ENABLE; in fsl_ep_dequeue()
857 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]); in fsl_ep_dequeue()
900 out: epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in fsl_ep_dequeue()
902 epctrl |= EPCTRL_TX_ENABLE; in fsl_ep_dequeue()
904 epctrl |= EPCTRL_RX_ENABLE; in fsl_ep_dequeue()
905 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]); in fsl_ep_dequeue()