Home
last modified time | relevance | path

Searched refs:tmp_blk_size (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/drivers/disk/
Dsdmmc_sdhc.h593 uint32_t tmp_blk_cout, tmp_blk_size; in sdhc_decode_csd() local
636 tmp_blk_size = (1U << (csd->read_blk_len)); in sdhc_decode_csd()
637 if (tmp_blk_size != SDMMC_DEFAULT_BLOCK_SIZE) { in sdhc_decode_csd()
638 tmp_blk_cout = (tmp_blk_cout * tmp_blk_size); in sdhc_decode_csd()
639 tmp_blk_size = SDMMC_DEFAULT_BLOCK_SIZE; in sdhc_decode_csd()
640 tmp_blk_cout = (tmp_blk_cout / tmp_blk_size); in sdhc_decode_csd()
645 *blk_size = tmp_blk_size; in sdhc_decode_csd()
648 tmp_blk_size = SDMMC_DEFAULT_BLOCK_SIZE; in sdhc_decode_csd()
659 *blk_size = tmp_blk_size; in sdhc_decode_csd()
/Zephyr-Core-3.6.0/subsys/sd/
Dsd_ops.c96 uint16_t tmp_blk_size; in sdmmc_decode_csd() local
129 tmp_blk_size = (1U << (csd->read_blk_len)); in sdmmc_decode_csd()
130 if (tmp_blk_size != SDMMC_DEFAULT_BLOCK_SIZE) { in sdmmc_decode_csd()
131 tmp_blk_count = (tmp_blk_count * tmp_blk_size); in sdmmc_decode_csd()
132 tmp_blk_size = SDMMC_DEFAULT_BLOCK_SIZE; in sdmmc_decode_csd()
133 tmp_blk_count = (tmp_blk_count / tmp_blk_size); in sdmmc_decode_csd()
139 *blk_size = tmp_blk_size; in sdmmc_decode_csd()
143 tmp_blk_size = SDMMC_DEFAULT_BLOCK_SIZE; in sdmmc_decode_csd()
153 *blk_size = tmp_blk_size; in sdmmc_decode_csd()