Lines Matching refs:epctl
2230 u32 epctl = dwc2_readl(hsotg, DOEPCTL(ep_idx)); in dwc2_hsotg_rx_data() local
2235 __func__, size, ep_idx, epctl); in dwc2_hsotg_rx_data()
2794 int epctl = dwc2_readl(hsotg, epctl_reg); in dwc2_gadget_handle_ep_disabled() local
2803 if ((epctl & DXEPCTL_STALL) && (epctl & DXEPCTL_EPTYPE_BULK)) { in dwc2_gadget_handle_ep_disabled()
4267 u32 epctl; in dwc2_hsotg_ep_sethalt() local
4294 epctl = dwc2_readl(hs, epreg); in dwc2_hsotg_ep_sethalt()
4297 epctl |= DXEPCTL_STALL | DXEPCTL_SNAK; in dwc2_hsotg_ep_sethalt()
4298 if (epctl & DXEPCTL_EPENA) in dwc2_hsotg_ep_sethalt()
4299 epctl |= DXEPCTL_EPDIS; in dwc2_hsotg_ep_sethalt()
4301 epctl &= ~DXEPCTL_STALL; in dwc2_hsotg_ep_sethalt()
4302 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in dwc2_hsotg_ep_sethalt()
4305 epctl |= DXEPCTL_SETD0PID; in dwc2_hsotg_ep_sethalt()
4307 dwc2_writel(hs, epctl, epreg); in dwc2_hsotg_ep_sethalt()
4310 epctl = dwc2_readl(hs, epreg); in dwc2_hsotg_ep_sethalt()
4313 epctl |= DXEPCTL_STALL; in dwc2_hsotg_ep_sethalt()
4315 epctl &= ~DXEPCTL_STALL; in dwc2_hsotg_ep_sethalt()
4316 xfertype = epctl & DXEPCTL_EPTYPE_MASK; in dwc2_hsotg_ep_sethalt()
4319 epctl |= DXEPCTL_SETD0PID; in dwc2_hsotg_ep_sethalt()
4321 dwc2_writel(hs, epctl, epreg); in dwc2_hsotg_ep_sethalt()