Lines Matching defs:epctrl
368 u32 epctrl;
370 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]);
372 return (epctrl & EPCTRL_TX_EP_STALL) ? 1 : 0;
374 return (epctrl & EPCTRL_RX_EP_STALL) ? 1 : 0;
543 u32 epctrl;
554 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]);
556 epctrl &= ~EPCTRL_TX_ENABLE;
558 epctrl &= ~EPCTRL_RX_ENABLE;
559 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]);
849 u32 epctrl;
860 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]);
862 epctrl &= ~EPCTRL_TX_ENABLE;
864 epctrl &= ~EPCTRL_RX_ENABLE;
865 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]);
908 out: epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]);
910 epctrl |= EPCTRL_TX_ENABLE;
912 epctrl |= EPCTRL_RX_ENABLE;
913 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]);
2344 /* setup QH and epctrl for ep0 */