PWM_SIFIVE_CMPWIDTH 96 drivers/pwm/pwm-sifive.c scale = clamp(ilog2(scale_pow) - PWM_SIFIVE_CMPWIDTH, 0, 0xf); PWM_SIFIVE_CMPWIDTH 103 drivers/pwm/pwm-sifive.c num = (unsigned long long)NSEC_PER_SEC << (PWM_SIFIVE_CMPWIDTH + scale); PWM_SIFIVE_CMPWIDTH 126 drivers/pwm/pwm-sifive.c (u64)duty * ddata->real_period >> PWM_SIFIVE_CMPWIDTH; PWM_SIFIVE_CMPWIDTH 183 drivers/pwm/pwm-sifive.c num = (u64)duty_cycle * (1U << PWM_SIFIVE_CMPWIDTH); PWM_SIFIVE_CMPWIDTH 186 drivers/pwm/pwm-sifive.c frac = min(frac, (1U << PWM_SIFIVE_CMPWIDTH) - 1);