Searched refs:freq_khz (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.5.0/components/driver/ |
D | sdmmc_host.c | 174 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()
|
D | sdspi_host.c | 284 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/ |
D | test_sd.c | 99 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/ |
D | sdspi_host.h | 154 esp_err_t sdspi_host_set_card_clk(sdspi_dev_handle_t host, uint32_t freq_khz);
|
D | sdmmc_host.h | 194 esp_err_t sdmmc_host_set_card_clk(int slot, uint32_t freq_khz);
|
D | sdmmc_types.h | 152 …esp_err_t (*set_card_clk)(int slot, uint32_t freq_khz); /*!< host function to set card clock frequ…
|