Home
last modified time | relevance | path

Searched refs:max_freq_khz (Results 1 – 13 of 13) sorted by relevance

/hal_espressif-3.4.0/components/sdmmc/
Dsdmmc_mmc.c53 card->max_freq_khz = SDMMC_FREQ_52M; in sdmmc_init_mmc_read_ext_csd()
55 card->host.max_freq_khz >= SDMMC_FREQ_26M && in sdmmc_init_mmc_read_ext_csd()
61 card->max_freq_khz = SDMMC_FREQ_52M; in sdmmc_init_mmc_read_ext_csd()
63 card->max_freq_khz = SDMMC_FREQ_26M; in sdmmc_init_mmc_read_ext_csd()
68 card->csd.tr_speed = card->max_freq_khz * 1000; in sdmmc_init_mmc_read_ext_csd()
69 …ESP_LOGD(TAG, "MMC card type %d, max_freq_khz=%d, is_ddr=%d", card_type, card->max_freq_khz, card-… in sdmmc_init_mmc_read_ext_csd()
70 card->max_freq_khz = MIN(card->max_freq_khz, card->host.max_freq_khz); in sdmmc_init_mmc_read_ext_csd()
73 card->ext_csd.power_class = ext_csd[(card->max_freq_khz > SDMMC_FREQ_26M) ? in sdmmc_init_mmc_read_ext_csd()
77 card->ext_csd.power_class = ext_csd[(card->max_freq_khz > SDMMC_FREQ_26M) ? in sdmmc_init_mmc_read_ext_csd()
144 if (card->max_freq_khz > SDMMC_FREQ_26M) { in sdmmc_mmc_enable_hs_mode()
Dsdmmc_common.c167 card->max_freq_khz = SDMMC_FREQ_DEFAULT; in sdmmc_init_card_hs_mode()
198 assert(card->max_freq_khz <= card->host.max_freq_khz); in sdmmc_init_host_frequency()
215 if (card->max_freq_khz >= freq) { in sdmmc_init_host_frequency()
273 if (card->max_freq_khz < 1000) { in sdmmc_card_print_info()
274 fprintf(stream, "Speed: %d kHz\n", card->max_freq_khz); in sdmmc_card_print_info()
276 fprintf(stream, "Speed: %d MHz%s\n", card->max_freq_khz / 1000, in sdmmc_card_print_info()
Dsdmmc_sd.c213 card->max_freq_khz = SDMMC_FREQ_DEFAULT; in sdmmc_enable_hs_mode_and_check()
214 if (card->host.max_freq_khz <= card->max_freq_khz) { in sdmmc_enable_hs_mode_and_check()
216 card->max_freq_khz = card->host.max_freq_khz; in sdmmc_enable_hs_mode_and_check()
258 card->max_freq_khz = SDMMC_FREQ_HIGHSPEED; in sdmmc_enable_hs_mode_and_check()
Dsdmmc_io.c152 if (card->host.max_freq_khz < SDMMC_FREQ_DEFAULT) { in sdmmc_io_enable_hs_mode()
153 card->max_freq_khz = card->host.max_freq_khz; in sdmmc_io_enable_hs_mode()
155 } else if (card->host.max_freq_khz < SDMMC_FREQ_HIGHSPEED) { in sdmmc_io_enable_hs_mode()
156 card->max_freq_khz = SDMMC_FREQ_DEFAULT; in sdmmc_io_enable_hs_mode()
177 card->max_freq_khz = SDMMC_FREQ_HIGHSPEED; in sdmmc_io_enable_hs_mode()
/hal_espressif-3.4.0/components/driver/include/driver/
Dsdmmc_types.h141 int max_freq_khz; /*!< max frequency supported by the host */ member
178 uint16_t max_freq_khz; /*!< Maximum frequency, in kHz, supported by the card */ member
Dsdspi_host.h39 .max_freq_khz = SDMMC_FREQ_DEFAULT, \
Dsdmmc_host.h36 .max_freq_khz = SDMMC_FREQ_DEFAULT, \
/hal_espressif-3.4.0/docs/en/api-reference/peripherals/
Dsdmmc_host.rst92 …ieved, it is possible to increase the bus frequency by changing the ``max_freq_khz`` field of :cpp…
95 host.max_freq_khz = SDMMC_FREQ_HIGHSPEED;
137 host.max_freq_khz = SDMMC_FREQ_HIGHSPEED;
/hal_espressif-3.4.0/examples/peripherals/sdio/host/main/
Dapp_main.c177 config.max_freq_khz = SDMMC_FREQ_HIGHSPEED; in slave_init()
179 config.max_freq_khz = SDMMC_FREQ_DEFAULT; in slave_init()
/hal_espressif-3.4.0/components/sdmmc/test/
Dtest_sd.c104 config.max_freq_khz = freq_khz; in probe_sd()
405 config.max_freq_khz = SDMMC_FREQ_HIGHSPEED; in sd_test_rw_blocks()
Dtest_sdio.c352 config.max_freq_khz = SDMMC_FREQ_PROBING;
/hal_espressif-3.4.0/components/driver/test/
Dtest_sdio.c165 config.max_freq_khz = conf->freq; in init_essl()
172 config.max_freq_khz = conf->freq; in init_essl()
/hal_espressif-3.4.0/components/fatfs/test/
Dtest_fatfs_sdmmc.c230 host.max_freq_khz = SDMMC_FREQ_HIGHSPEED; in sdmmc_speed_test()