Searched refs:NPCM7XX_PWM_MAX_DUTY (Results 1 – 3 of 3) sorted by relevance
37 #define NPCM7XX_PWM_MAX_DUTY 1000000 macro
108 duty = NPCM7XX_PWM_MAX_DUTY; in npcm7xx_pwm_calculate_duty()110 duty = (uint64_t)NPCM7XX_PWM_MAX_DUTY * (p->cmr + 1) / (p->cnr + 1); in npcm7xx_pwm_calculate_duty()117 duty = NPCM7XX_PWM_MAX_DUTY - duty; in npcm7xx_pwm_calculate_duty()
159 uint32_t rpm = (uint64_t)max_rpm * (uint64_t)duty / NPCM7XX_PWM_MAX_DUTY; in npcm7xx_mft_compute_cnt()