Searched refs:src_clk_freq (Results 1 – 2 of 2) sorted by relevance
101 uint32_t src_clk_freq = 0; in ledc_get_src_clk_freq() local103 src_clk_freq = LEDC_APB_CLK_HZ; in ledc_get_src_clk_freq()105 src_clk_freq = LEDC_REF_CLK_HZ; in ledc_get_src_clk_freq()107 src_clk_freq = s_ledc_slow_clk_8M; in ledc_get_src_clk_freq()110 src_clk_freq = rtc_clk_xtal_freq_get() * 1000000; in ledc_get_src_clk_freq()113 return src_clk_freq; in ledc_get_src_clk_freq()292 uint32_t src_clk_freq = ledc_get_src_clk_freq(clk_cfg); in ledc_set_timer_div() local293 div_param = ( (uint64_t) src_clk_freq << 8 ) / freq_hz / precision; in ledc_set_timer_div()542 uint32_t src_clk_freq = ledc_get_src_clk_freq(clk_cfg); in ledc_get_freq() local544 return ((uint64_t) src_clk_freq << 8) / precision / clock_divider; in ledc_get_freq()
87 uint32_t src_clk_freq = (source_clk == XXX_SCLK_APB) ? APB_CLK_FREQ : REF_CLK_FREQ;88 uint32_t clock_divider = src_clk_freq / baud;