Home
last modified time | relevance | path

Searched refs:DWC_TIM_CTRL (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/pwm/
H A Dpwm-dwc-core.c28 reg = dwc_pwm_readl(dwc, DWC_TIM_CTRL(pwm)); in __dwc_pwm_set_enable()
35 dwc_pwm_writel(dwc, reg, DWC_TIM_CTRL(pwm)); in __dwc_pwm_set_enable()
88 dwc_pwm_writel(dwc, ctrl, DWC_TIM_CTRL(pwm->hwpwm)); in __dwc_pwm_configure_timer()
129 ctrl = dwc_pwm_readl(dwc, DWC_TIM_CTRL(pwm->hwpwm)); in dwc_pwm_get_state()
H A Dpwm-dwc.c123 dwc->ctx[i].ctrl = dwc_pwm_readl(dwc, DWC_TIM_CTRL(i)); in dwc_pwm_suspend()
143 dwc_pwm_writel(dwc, dwc->ctx[i].ctrl, DWC_TIM_CTRL(i)); in dwc_pwm_resume()
H A Dpwm-dwc.h17 #define DWC_TIM_CTRL(n) (((n) * 0x14) + 0x08) macro