Home
last modified time | relevance | path

Searched refs:clk_source (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.7.0/components/hal/
Dspi_flash_hal.c26 int clk_source = cfg->clock_src_freq; in get_flash_clock_divider() local
33 if (clk_source < cfg->freq_mhz) { in get_flash_clock_divider()
43 best_div = (int)DIV_ROUND_UP((double)clk_source, (double)cfg->freq_mhz); in get_flash_clock_divider()
45 …HAL_LOGW(TAG, "Flash clock frequency round down to %d", (int)((double)clk_source / (double)best_di… in get_flash_clock_divider()
/hal_espressif-3.7.0/components/esp_system/test_apps/esp_system_unity_tests/main/
Dtest_sleep.c225 uart_sclk_t clk_source = UART_SCLK_DEFAULT; variable
227 clk_source = UART_SCLK_REF_TICK;
229 clk_source = UART_SCLK_XTAL;
231 uart_ll_set_sclk(UART_LL_GET_HW(CONFIG_ESP_CONSOLE_UART_NUM), clk_source);
234 TEST_ESP_OK(uart_get_sclk_freq(clk_source, &sclk_freq));
/hal_espressif-3.7.0/components/esp_pm/
Dpm_impl.c720 uart_sclk_t clk_source = UART_SCLK_DEFAULT; in esp_pm_impl_init() local
722 clk_source = UART_SCLK_REF_TICK; in esp_pm_impl_init()
724 clk_source = UART_SCLK_XTAL; in esp_pm_impl_init()
730 uart_ll_set_sclk(UART_LL_GET_HW(CONFIG_ESP_CONSOLE_UART_NUM), clk_source); in esp_pm_impl_init()
733 esp_err_t err = uart_get_sclk_freq(clk_source, &sclk_freq); in esp_pm_impl_init()
/hal_espressif-3.7.0/components/hal/esp32c3/include/hal/
Dspi_ll.h101 static inline void spi_ll_set_clk_source(spi_dev_t *hw, spi_clock_source_t clk_source){ in spi_ll_set_clk_source() argument
102 switch (clk_source) in spi_ll_set_clk_source()
/hal_espressif-3.7.0/components/hal/esp32s3/include/hal/
Dspi_ll.h103 static inline void spi_ll_set_clk_source(spi_dev_t *hw, spi_clock_source_t clk_source){ in spi_ll_set_clk_source() argument
104 switch (clk_source) in spi_ll_set_clk_source()
/hal_espressif-3.7.0/components/hal/esp32c6/include/hal/
Dspi_ll.h102 static inline void spi_ll_set_clk_source(spi_dev_t *hw, spi_clock_source_t clk_source) in spi_ll_set_clk_source() argument
104 switch (clk_source) in spi_ll_set_clk_source()
/hal_espressif-3.7.0/components/hal/esp32h2/include/hal/
Dspi_ll.h104 static inline void spi_ll_set_clk_source(spi_dev_t *hw, spi_clock_source_t clk_source) in spi_ll_set_clk_source() argument
106 switch (clk_source) in spi_ll_set_clk_source()
/hal_espressif-3.7.0/components/hal/esp32c2/include/hal/
Dspi_ll.h101 static inline void spi_ll_set_clk_source(spi_dev_t *hw, spi_clock_source_t clk_source){ in spi_ll_set_clk_source() argument
102 switch (clk_source) in spi_ll_set_clk_source()
/hal_espressif-3.7.0/components/hal/esp32/include/hal/
Dspi_ll.h65 static inline void spi_ll_set_clk_source(spi_dev_t *hw, spi_clock_source_t clk_source) in spi_ll_set_clk_source() argument
/hal_espressif-3.7.0/components/hal/esp32s2/include/hal/
Dspi_ll.h111 static inline void spi_ll_set_clk_source(spi_dev_t *hw, spi_clock_source_t clk_source) in spi_ll_set_clk_source() argument