Go to the documentation of this file.
18 #ifndef __ASM_PLAT_PWM_CLOCK_H
19 #define __ASM_PLAT_PWM_CLOCK_H __FILE__
28 static inline int pwm_cfg_src_is_tclk(
unsigned long tcfg)
47 static inline unsigned long tcfg_to_divisor(
unsigned long tcfg1)
50 return 1 << (tcfg1 + 1);
60 static inline unsigned int pwm_tdiv_has_div1(
void)
74 static inline unsigned long pwm_tdiv_div_bits(
unsigned int div)
77 return ilog2(div) - 1;