Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dpwm.c43 unsigned long tin_parent_rate; in pwm_calc_tin() local
46 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()