Searched refs:total_cycles (Results 1 – 2 of 2) sorted by relevance
192 int total_cycles = max_fade_time_ms * freq / 1000; in _iot_set_fade_with_time() local194 if (total_cycles == 0) { in _iot_set_fade_with_time()200 if (total_cycles > duty_delta) { in _iot_set_fade_with_time()202 cycle_num = total_cycles / duty_delta; in _iot_set_fade_with_time()215 scale = duty_delta / total_cycles; in _iot_set_fade_with_time()
735 uint32_t total_cycles = max_fade_time_ms * freq / 1000; in _ledc_set_fade_with_time() local736 if (total_cycles == 0) { in _ledc_set_fade_with_time()741 if (total_cycles > duty_delta) { in _ledc_set_fade_with_time()743 cycle_num = total_cycles / duty_delta; in _ledc_set_fade_with_time()750 scale = duty_delta / total_cycles; in _ledc_set_fade_with_time()