Searched refs:device_size (Results 1 – 9 of 9) sorted by relevance
119 csd->device_size = (uint32_t)((raw_csd[2U] & 0x3FFU) << 2U); in sdmmc_decode_csd()120 csd->device_size |= (uint32_t)((raw_csd[1U] & 0xC0000000U) >> 30U); in sdmmc_decode_csd()128 tmp_blk_count = ((csd->device_size + 1U) << (csd->dev_size_mul + 2U)); in sdmmc_decode_csd()145 csd->device_size = (uint32_t)((raw_csd[2U] & 0x3FU) << 16U); in sdmmc_decode_csd()146 csd->device_size |= (uint32_t)((raw_csd[1U] & 0xFFFF0000U) >> 16U); in sdmmc_decode_csd()148 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()
98 params->device_size = ((long long)params->block_size * in cdns_nand_device_info()100 LOG_INF("block size %x total device size %llx", params->block_size, params->device_size); in cdns_nand_device_info()1192 if ((offset >= params->device_size) || (size > (params->device_size - offset))) { in cdns_nand_read()1365 if ((offset >= params->device_size) || (len > (params->device_size - offset))) { in cdns_nand_write()1424 if ((offset >= params->device_size) || (size > (params->device_size - offset))) { in cdns_nand_erase()
360 unsigned long long device_size; member
482 unsigned long long device_size; member
557 uint32_t device_size; member