Home
last modified time | relevance | path

Searched refs:MMC_BLOCK_SIZE (Results 1 – 13 of 13) sorted by relevance

/trusted-firmware-a-latest/drivers/mmc/
Dmmc.c267 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
324 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
607 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_read_blocks()
615 if (size > MMC_BLOCK_SIZE) { in mmc_read_blocks()
624 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_read_blocks()
647 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_read_blocks()
675 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_write_blocks()
683 if (size > MMC_BLOCK_SIZE) { in mmc_write_blocks()
691 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_write_blocks()
714 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_write_blocks()
[all …]
/trusted-firmware-a-latest/plat/intel/soc/common/drivers/sdmmc/
Dsdmmc.c249 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in sdmmc_fill_device_info()
306 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in sdmmc_fill_device_info()
594 ret = sdmmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in sdmmc_read_blocks()
602 if (size > MMC_BLOCK_SIZE) { in sdmmc_read_blocks()
611 cmd_arg = lba * MMC_BLOCK_SIZE; in sdmmc_read_blocks()
634 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in sdmmc_read_blocks()
662 ret = sdmmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in sdmmc_write_blocks()
670 if (size > MMC_BLOCK_SIZE) { in sdmmc_write_blocks()
678 cmd_arg = lba * MMC_BLOCK_SIZE; in sdmmc_write_blocks()
701 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in sdmmc_write_blocks()
/trusted-firmware-a-latest/plat/intel/soc/common/
Dsocfpga_storage.c63 .length = MMC_BLOCK_SIZE
150 boot_dev_spec.block_size = MMC_BLOCK_SIZE; in socfpga_io_setup()
/trusted-firmware-a-latest/plat/st/common/
Dbl2_io_storage.c59 static uint8_t block_buffer[MMC_BLOCK_SIZE] __aligned(MMC_BLOCK_SIZE);
65 .length = MMC_BLOCK_SIZE,
71 .block_size = MMC_BLOCK_SIZE,
159 .length = MMC_BLOCK_SIZE, /* We are interested only in first 4 bytes */ in get_boot_part_fip_header()
Dstm32mp_fconf_io.c26 .length = 34U * MMC_BLOCK_SIZE, /* Size of GPT table */
/trusted-firmware-a-latest/include/drivers/
Dmmc.h14 #define MMC_BLOCK_SIZE U(512) macro
15 #define MMC_BLOCK_MASK (MMC_BLOCK_SIZE - U(1))
/trusted-firmware-a-latest/drivers/synopsys/emmc/
Ddw_mmc.c210 mmio_write_32(base + DWMMC_BLKSIZ, MMC_BLOCK_SIZE); in dw_init()
364 if (size < MMC_BLOCK_SIZE) in dw_prepare()
367 mmio_write_32(base + DWMMC_BLKSIZ, MMC_BLOCK_SIZE); in dw_prepare()
/trusted-firmware-a-latest/drivers/imx/usdhc/
Dimx_usdhc.c276 (size / MMC_BLOCK_SIZE) << 16 | MMC_BLOCK_SIZE); in imx_usdhc_prepare()
/trusted-firmware-a-latest/plat/hisilicon/poplar/
Dplat_storage.c46 .block_size = MMC_BLOCK_SIZE,
/trusted-firmware-a-latest/drivers/st/mmc/
Dstm32_sdmmc2.c539 if (size > MMC_BLOCK_SIZE) { in stm32_sdmmc2_prepare()
540 arg_size = MMC_BLOCK_SIZE; in stm32_sdmmc2_prepare()
615 if (size <= MMC_BLOCK_SIZE) { in stm32_sdmmc2_read()
/trusted-firmware-a-latest/plat/hisilicon/hikey/
Dhikey_io_storage.c72 .block_size = MMC_BLOCK_SIZE,
/trusted-firmware-a-latest/plat/imx/common/
Dimx_io_storage.c44 .block_size = MMC_BLOCK_SIZE,
/trusted-firmware-a-latest/plat/st/stm32mp1/
Dbl2_plat_setup.c534 2U * MMC_BLOCK_SIZE); in bl2_plat_handle_post_image_load()