Searched refs:cnt_rate (Results 1 – 1 of 1) sorted by relevance
139 unsigned long sys_rate, cnt_rate; in fsl_pwm_calculate_default_ps() local146 cnt_rate = clk_get_rate(fpc->clk[fpc->cnt_select]); in fsl_pwm_calculate_default_ps()147 if (!cnt_rate) in fsl_pwm_calculate_default_ps()155 ratio = 2 * cnt_rate - 1; in fsl_pwm_calculate_default_ps()160 ratio = 4 * cnt_rate - 1; in fsl_pwm_calculate_default_ps()