Home
last modified time | relevance | path

Searched refs:device_size (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/subsys/sd/
Dsd_ops.c119 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()
Dmmc.c335 csd->device_size = in mmc_decode_csd()
/Zephyr-latest/subsys/fs/ext2/
Dext2_format.c105 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()
Dext2_struct.h240 uint64_t device_size; member
Dext2_impl.c225 fs->device_size = dev_size; in ext2_init_storage()
/Zephyr-latest/drivers/flash/
Dflash_cadence_nand_ll.c98 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()
Dflash_cadence_nand_ll.h360 unsigned long long device_size; member
/Zephyr-latest/drivers/sdhc/
Dsdhc_cdns_ll.h482 unsigned long long device_size; member
/Zephyr-latest/include/zephyr/sd/
Dsd_spec.h557 uint32_t device_size; member