Lines Matching refs:epctl
1447 u32 epctl = readl(hsotg->regs + DOEPCTL(ep_idx)); in s3c_hsotg_rx_data() local
1452 __func__, size, ep_idx, epctl); in s3c_hsotg_rx_data()
1988 int epctl = readl(hsotg->regs + epctl_reg); in s3c_hsotg_epint() local
1992 if ((epctl & DXEPCTL_STALL) && in s3c_hsotg_epint()
1993 (epctl & DXEPCTL_EPTYPE_BULK)) { in s3c_hsotg_epint()
2850 u32 epctl; in s3c_hsotg_ep_sethalt() local
2866 epctl = readl(hs->regs + epreg); in s3c_hsotg_ep_sethalt()
2869 epctl |= DXEPCTL_STALL + DXEPCTL_SNAK; in s3c_hsotg_ep_sethalt()
2870 if (epctl & DXEPCTL_EPENA) in s3c_hsotg_ep_sethalt()
2871 epctl |= DXEPCTL_EPDIS; in s3c_hsotg_ep_sethalt()
2873 epctl &= ~DXEPCTL_STALL; in s3c_hsotg_ep_sethalt()
2874 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in s3c_hsotg_ep_sethalt()
2877 epctl |= DXEPCTL_SETD0PID; in s3c_hsotg_ep_sethalt()
2879 writel(epctl, hs->regs + epreg); in s3c_hsotg_ep_sethalt()
2883 epctl = readl(hs->regs + epreg); in s3c_hsotg_ep_sethalt()
2886 epctl |= DXEPCTL_STALL; in s3c_hsotg_ep_sethalt()
2888 epctl &= ~DXEPCTL_STALL; in s3c_hsotg_ep_sethalt()
2889 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in s3c_hsotg_ep_sethalt()
2892 epctl |= DXEPCTL_SETD0PID; in s3c_hsotg_ep_sethalt()
2894 writel(epctl, hs->regs + epreg); in s3c_hsotg_ep_sethalt()