Home
last modified time | relevance | path

Searched refs:freq_khz (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.5.0/components/driver/
Dsdmmc_host.c174 esp_err_t sdmmc_host_set_card_clk(int slot, uint32_t freq_khz) in sdmmc_host_set_card_clk() argument
189 if (freq_khz >= SDMMC_FREQ_HIGHSPEED) { in sdmmc_host_set_card_clk()
192 } else if (freq_khz == SDMMC_FREQ_DEFAULT) { in sdmmc_host_set_card_clk()
195 } else if (freq_khz == SDMMC_FREQ_PROBING) { in sdmmc_host_set_card_clk()
200 card_div = (clk40m + freq_khz * 2 - 1) / (freq_khz * 2); // round up in sdmmc_host_set_card_clk()
228 uint32_t data_timeout_cycles = data_timeout_ms * freq_khz; in sdmmc_host_set_card_clk()
Dsdspi_host.c284 esp_err_t sdspi_host_set_card_clk(sdspi_dev_handle_t handle, uint32_t freq_khz) in sdspi_host_set_card_clk() argument
290 ESP_LOGD(TAG, "Setting card clock to %d kHz", freq_khz); in sdspi_host_set_card_clk()
291 return configure_spi_dev(slot, freq_khz * 1000); in sdspi_host_set_card_clk()
/hal_espressif-3.5.0/components/sdmmc/test/
Dtest_sd.c99 static void probe_sd(int slot, int width, int freq_khz, int ddr) in probe_sd() argument
104 config.max_freq_khz = freq_khz; in probe_sd()
230 static void probe_spi(int freq_khz, int pin_miso, int pin_mosi, int pin_sck, int pin_cs) in probe_spi() argument
248 static void probe_spi_legacy(int freq_khz, int pin_miso, int pin_mosi, int pin_sck, int pin_cs) in probe_spi_legacy() argument
/hal_espressif-3.5.0/components/driver/include/driver/
Dsdspi_host.h154 esp_err_t sdspi_host_set_card_clk(sdspi_dev_handle_t host, uint32_t freq_khz);
Dsdmmc_host.h194 esp_err_t sdmmc_host_set_card_clk(int slot, uint32_t freq_khz);
Dsdmmc_types.h152 …esp_err_t (*set_card_clk)(int slot, uint32_t freq_khz); /*!< host function to set card clock frequ…