Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/disk/
Dsdmmc_sdhc.h256 uint32_t device_size; member
618 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()
/Zephyr-Core-3.5.0/subsys/sd/
Dsd_ops.c110 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()
Dmmc.c335 csd->device_size = in mmc_decode_csd()
/Zephyr-Core-3.5.0/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-Core-3.5.0/include/zephyr/sd/
Dsd_spec.h536 uint32_t device_size; member