Searched refs:max_cmp_val (Results 1 – 1 of 1) sorted by relevance
115 uint32_t max_cmp_val = 0U; in pwm_sifive_set_cycles() local144 max_cmp_val = ((1 << config->cmpwidth) - 1); in pwm_sifive_set_cycles()150 while ((period_cycles >> pwmscale) > max_cmp_val) { in pwm_sifive_set_cycles()157 period_cycles, max_cmp_val << pwmscale); in pwm_sifive_set_cycles()