Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-dwc.c37 #define DWC_CLK_PERIOD_NS 10 macro
98 tmp = DIV_ROUND_CLOSEST_ULL(state->duty_cycle, DWC_CLK_PERIOD_NS); in __dwc_pwm_configure_timer()
104 DWC_CLK_PERIOD_NS); in __dwc_pwm_configure_timer()
179 duty *= DWC_CLK_PERIOD_NS; in dwc_pwm_get_state()
184 period *= DWC_CLK_PERIOD_NS; in dwc_pwm_get_state()