Searched refs:cnt_duty (Results 1 – 1 of 1) sorted by relevance
145 u32 clkdiv = 0, cnt_period, cnt_duty, reg_width = PWMDWIDTH, in mtk_pwm_config() local181 cnt_duty = DIV_ROUND_CLOSEST_ULL((u64)duty_ns * 1000, resolution); in mtk_pwm_config()184 mtk_pwm_writel(pc, pwm->hwpwm, reg_thres, cnt_duty); in mtk_pwm_config()