Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.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.5.0/subsys/sd/
Dsd_ops.c87 uint16_t tmp_blk_size; in sdmmc_decode_csd() local
120 tmp_blk_size = (1U << (csd->read_blk_len)); in sdmmc_decode_csd()
121 if (tmp_blk_size != SDMMC_DEFAULT_BLOCK_SIZE) { in sdmmc_decode_csd()
122 tmp_blk_count = (tmp_blk_count * tmp_blk_size); in sdmmc_decode_csd()
123 tmp_blk_size = SDMMC_DEFAULT_BLOCK_SIZE; in sdmmc_decode_csd()
124 tmp_blk_count = (tmp_blk_count / tmp_blk_size); in sdmmc_decode_csd()
130 *blk_size = tmp_blk_size; in sdmmc_decode_csd()
134 tmp_blk_size = SDMMC_DEFAULT_BLOCK_SIZE; in sdmmc_decode_csd()
144 *blk_size = tmp_blk_size; in sdmmc_decode_csd()