Searched refs:device_size (Results 1 – 7 of 7) sorted by relevance
256 uint32_t device_size; member618 csd->device_size = (uint32_t)((raw_csd[2U] & in sdhc_decode_csd()620 csd->device_size |= (uint32_t)((raw_csd[1U] & in sdhc_decode_csd()634 tmp_blk_cout = ((csd->device_size + 1U) << in sdhc_decode_csd()650 csd->device_size = (uint32_t)((raw_csd[2U] & in sdhc_decode_csd()652 csd->device_size |= (uint32_t)((raw_csd[1U] & in sdhc_decode_csd()655 tmp_blk_cout = ((csd->device_size + 1U) * 1024U); in sdhc_decode_csd()
110 csd->device_size = (uint32_t)((raw_csd[2U] & 0x3FFU) << 2U); in sdmmc_decode_csd()111 csd->device_size |= (uint32_t)((raw_csd[1U] & 0xC0000000U) >> 30U); in sdmmc_decode_csd()119 tmp_blk_count = ((csd->device_size + 1U) << (csd->dev_size_mul + 2U)); in sdmmc_decode_csd()136 csd->device_size = (uint32_t)((raw_csd[2U] & 0x3FU) << 16U); in sdmmc_decode_csd()137 csd->device_size |= (uint32_t)((raw_csd[1U] & 0xFFFF0000U) >> 16U); in sdmmc_decode_csd()139 tmp_blk_count = ((csd->device_size + 1U) * 1024U); in sdmmc_decode_csd()
335 csd->device_size = in mmc_decode_csd()
105 uint32_t fs_memory = cfg->fs_size ? MIN(cfg->fs_size, fs->device_size) : fs->device_size; in ext2_format()113 LOG_INF("[Memory] available:%lld requested:%d", fs->device_size, fs_memory); in ext2_format()115 if (fs_memory > fs->device_size) { in ext2_format()
240 uint64_t device_size; member
225 fs->device_size = dev_size; in ext2_init_storage()
536 uint32_t device_size; member