Home
last modified time | relevance | path

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

/u-boot/drivers/pwm/
A Dpwm-mtk.c61 u32 clkdiv = 0, clksel = 0, cnt_period, cnt_duty, in mtk_pwm_set_config() local
100 cnt_duty = DIV_ROUND_CLOSEST_ULL((u64)duty_ns * 1000, resolution); in mtk_pwm_set_config()
106 mtk_pwm_w32(dev, channel, reg_thres, cnt_duty); in mtk_pwm_set_config()

Completed in 3 milliseconds