Home
last modified time | relevance | path

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

/linux/drivers/pwm/
A Dpwm-mediatek.c121 u32 clkdiv = 0, cnt_period, cnt_duty, reg_width = PWMDWIDTH, in pwm_mediatek_config() local
162 cnt_duty = DIV_ROUND_CLOSEST_ULL((u64)duty_ns * 1000, resolution); in pwm_mediatek_config()
165 pwm_mediatek_writel(pc, pwm->hwpwm, reg_thres, cnt_duty); in pwm_mediatek_config()

Completed in 2 milliseconds