Searched refs:MMC_BLOCK_SIZE (Results 1 – 13 of 13) sorted by relevance
/trusted-firmware-a-latest/drivers/mmc/ |
D | mmc.c | 267 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/ |
D | sdmmc.c | 249 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/ |
D | socfpga_storage.c | 63 .length = MMC_BLOCK_SIZE 150 boot_dev_spec.block_size = MMC_BLOCK_SIZE; in socfpga_io_setup()
|
/trusted-firmware-a-latest/plat/st/common/ |
D | bl2_io_storage.c | 59 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()
|
D | stm32mp_fconf_io.c | 26 .length = 34U * MMC_BLOCK_SIZE, /* Size of GPT table */
|
/trusted-firmware-a-latest/include/drivers/ |
D | mmc.h | 14 #define MMC_BLOCK_SIZE U(512) macro 15 #define MMC_BLOCK_MASK (MMC_BLOCK_SIZE - U(1))
|
/trusted-firmware-a-latest/drivers/synopsys/emmc/ |
D | dw_mmc.c | 210 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/ |
D | imx_usdhc.c | 276 (size / MMC_BLOCK_SIZE) << 16 | MMC_BLOCK_SIZE); in imx_usdhc_prepare()
|
/trusted-firmware-a-latest/plat/hisilicon/poplar/ |
D | plat_storage.c | 46 .block_size = MMC_BLOCK_SIZE,
|
/trusted-firmware-a-latest/drivers/st/mmc/ |
D | stm32_sdmmc2.c | 539 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/ |
D | hikey_io_storage.c | 72 .block_size = MMC_BLOCK_SIZE,
|
/trusted-firmware-a-latest/plat/imx/common/ |
D | imx_io_storage.c | 44 .block_size = MMC_BLOCK_SIZE,
|
/trusted-firmware-a-latest/plat/st/stm32mp1/ |
D | bl2_plat_setup.c | 534 2U * MMC_BLOCK_SIZE); in bl2_plat_handle_post_image_load()
|