Searched refs:tmp_blk_size (Results 1 – 2 of 2) sorted by relevance
593 uint32_t tmp_blk_cout, tmp_blk_size; in sdhc_decode_csd() local636 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()
87 uint16_t tmp_blk_size; in sdmmc_decode_csd() local120 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()