Searched refs:count_max (Results 1 – 1 of 1) sorted by relevance
114 uint32_t count_max = 0U; in pwm_sifive_set_cycles() local135 count_max = (1 << (config->cmpwidth + SF_PWMCOUNT_MIN_WIDTH)) - 1; in pwm_sifive_set_cycles()137 if (period_cycles > count_max) { in pwm_sifive_set_cycles()139 period_cycles, count_max); in pwm_sifive_set_cycles()