Lines Matching refs:epctrl_reg
524 u32 epctrl_reg; in dwc2_hsotg_start_req() local
545 epctrl_reg = dir_in ? DIEPCTL(index) : DOEPCTL(index); in dwc2_hsotg_start_req()
549 __func__, dwc2_readl(hsotg->regs + epctrl_reg), index, in dwc2_hsotg_start_req()
553 ctrl = dwc2_readl(hsotg->regs + epctrl_reg); in dwc2_hsotg_start_req()
644 dwc2_writel(ctrl, hsotg->regs + epctrl_reg); in dwc2_hsotg_start_req()
675 if (!(dwc2_readl(hsotg->regs + epctrl_reg) & DXEPCTL_EPENA)) in dwc2_hsotg_start_req()
678 index, dwc2_readl(hsotg->regs + epctrl_reg)); in dwc2_hsotg_start_req()
681 __func__, dwc2_readl(hsotg->regs + epctrl_reg)); in dwc2_hsotg_start_req()
2662 u32 epctrl_reg; in dwc2_hsotg_ep_enable() local
2687 epctrl_reg = dir_in ? DIEPCTL(index) : DOEPCTL(index); in dwc2_hsotg_ep_enable()
2688 epctrl = dwc2_readl(hsotg->regs + epctrl_reg); in dwc2_hsotg_ep_enable()
2691 __func__, epctrl, epctrl_reg); in dwc2_hsotg_ep_enable()
2802 dwc2_writel(epctrl, hsotg->regs + epctrl_reg); in dwc2_hsotg_ep_enable()
2804 __func__, dwc2_readl(hsotg->regs + epctrl_reg)); in dwc2_hsotg_ep_enable()
2825 u32 epctrl_reg; in dwc2_hsotg_ep_disable() local
2835 epctrl_reg = dir_in ? DIEPCTL(index) : DOEPCTL(index); in dwc2_hsotg_ep_disable()
2843 ctrl = dwc2_readl(hsotg->regs + epctrl_reg); in dwc2_hsotg_ep_disable()
2849 dwc2_writel(ctrl, hsotg->regs + epctrl_reg); in dwc2_hsotg_ep_disable()
2895 u32 epctrl_reg; in dwc2_hsotg_ep_stop_xfr() local
2898 epctrl_reg = hs_ep->dir_in ? DIEPCTL(hs_ep->index) : in dwc2_hsotg_ep_stop_xfr()
2906 __orr32(hsotg->regs + epctrl_reg, DXEPCTL_SNAK); in dwc2_hsotg_ep_stop_xfr()
2926 __orr32(hsotg->regs + epctrl_reg, DXEPCTL_EPDIS | DXEPCTL_SNAK); in dwc2_hsotg_ep_stop_xfr()