Searched refs:tin_parent_rate (Results 1 – 1 of 1) sorted by relevance
43 unsigned long tin_parent_rate; in pwm_calc_tin() local46 tin_parent_rate = get_pwm_clk(); in pwm_calc_tin()49 if ((tin_parent_rate / (div << 16)) < freq) in pwm_calc_tin()50 return tin_parent_rate / div; in pwm_calc_tin()53 return tin_parent_rate / 16; in pwm_calc_tin()