Searched refs:scaled_freq (Results 1 – 1 of 1) sorted by relevance
72 u64 scaled_freq = 0; in sunxi_pwm_set_config() local81 scaled_freq = lldiv(OSC_24MHZ, prescaler_table[prescaler]); in sunxi_pwm_set_config()82 period = lldiv(scaled_freq * period_ns, nsecs_per_sec); in sunxi_pwm_set_config()92 duty = lldiv(scaled_freq * duty_ns, nsecs_per_sec); in sunxi_pwm_set_config()