Home
last modified time | relevance | path

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

123456

/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/trusty/storage/proxy/
H A Drpmb.c50 #define MMC_BLOCK_SIZE 512 macro
102 if ((req->reliable_write_size % MMC_BLOCK_SIZE) != 0) { in rpmb_send()
111 cmd->blksz = MMC_BLOCK_SIZE; in rpmb_send()
112 cmd->blocks = req->reliable_write_size / MMC_BLOCK_SIZE; in rpmb_send()
124 if ((req->write_size % MMC_BLOCK_SIZE) != 0) { in rpmb_send()
133 cmd->blksz = MMC_BLOCK_SIZE; in rpmb_send()
134 cmd->blocks = req->write_size / MMC_BLOCK_SIZE; in rpmb_send()
146 if (req->read_size % MMC_BLOCK_SIZE != 0 || in rpmb_send()
156 cmd->blksz = MMC_BLOCK_SIZE; in rpmb_send()
157 cmd->blocks = req->read_size / MMC_BLOCK_SIZE; in rpmb_send()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/trusty/storage/proxy/
H A Drpmb.c50 #define MMC_BLOCK_SIZE 512 macro
85 cmd->blksz = MMC_BLOCK_SIZE; in send_mmc_rpmb_req()
86 cmd->blocks = req->reliable_write_size / MMC_BLOCK_SIZE; in send_mmc_rpmb_req()
101 cmd->blksz = MMC_BLOCK_SIZE; in send_mmc_rpmb_req()
102 cmd->blocks = req->write_size / MMC_BLOCK_SIZE; in send_mmc_rpmb_req()
117 cmd->blocks = req->read_size / MMC_BLOCK_SIZE; in send_mmc_rpmb_req()
136 uint16_t res_count = read_size / MMC_BLOCK_SIZE; in send_virt_rpmb_req()
137 uint16_t cmd_count = payload_size / MMC_BLOCK_SIZE; in send_virt_rpmb_req()
171 if ((req->reliable_write_size % MMC_BLOCK_SIZE) != 0) { in rpmb_send()
177 if ((req->write_size % MMC_BLOCK_SIZE) != 0) { in rpmb_send()
[all …]
/dports/sysutils/atf-sun50i_h6/arm-trusted-firmware-2.5/drivers/mmc/
H A Dmmc.c231 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
288 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
517 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_read_blocks()
525 if (size > MMC_BLOCK_SIZE) { in mmc_read_blocks()
534 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_read_blocks()
557 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_read_blocks()
585 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_write_blocks()
593 if (size > MMC_BLOCK_SIZE) { in mmc_write_blocks()
601 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_write_blocks()
624 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_write_blocks()
[all …]
/dports/sysutils/atf-sun50i_a64/arm-trusted-firmware-2.5/drivers/mmc/
H A Dmmc.c231 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
288 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
517 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_read_blocks()
525 if (size > MMC_BLOCK_SIZE) { in mmc_read_blocks()
534 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_read_blocks()
557 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_read_blocks()
585 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_write_blocks()
593 if (size > MMC_BLOCK_SIZE) { in mmc_write_blocks()
601 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_write_blocks()
624 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_write_blocks()
[all …]
/dports/sysutils/atf-rk3328/arm-trusted-firmware-2.5/drivers/mmc/
H A Dmmc.c231 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
288 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
517 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_read_blocks()
525 if (size > MMC_BLOCK_SIZE) { in mmc_read_blocks()
534 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_read_blocks()
557 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_read_blocks()
585 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_write_blocks()
593 if (size > MMC_BLOCK_SIZE) { in mmc_write_blocks()
601 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_write_blocks()
624 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_write_blocks()
[all …]
/dports/sysutils/atf-fvp/arm-trusted-firmware-2.5/drivers/mmc/
H A Dmmc.c231 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
288 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
517 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_read_blocks()
525 if (size > MMC_BLOCK_SIZE) { in mmc_read_blocks()
534 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_read_blocks()
557 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_read_blocks()
585 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_write_blocks()
593 if (size > MMC_BLOCK_SIZE) { in mmc_write_blocks()
601 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_write_blocks()
624 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_write_blocks()
[all …]
/dports/sysutils/atf-rk3399/arm-trusted-firmware-2.5/drivers/mmc/
H A Dmmc.c231 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
288 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
517 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_read_blocks()
525 if (size > MMC_BLOCK_SIZE) { in mmc_read_blocks()
534 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_read_blocks()
557 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_read_blocks()
585 ret = mmc_send_cmd(MMC_CMD(23), size / MMC_BLOCK_SIZE, in mmc_write_blocks()
593 if (size > MMC_BLOCK_SIZE) { in mmc_write_blocks()
601 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_write_blocks()
624 if (!is_cmd23_enabled() && (size > MMC_BLOCK_SIZE)) { in mmc_write_blocks()
[all …]
/dports/sysutils/atf-fvp/arm-trusted-firmware-2.5/plat/intel/soc/common/
H A Dsocfpga_storage.c55 .length = MMC_BLOCK_SIZE
139 boot_dev_spec.buffer.length = MMC_BLOCK_SIZE; in socfpga_io_setup()
142 boot_dev_spec.block_size = MMC_BLOCK_SIZE; in socfpga_io_setup()
/dports/sysutils/atf-sun50i_a64/arm-trusted-firmware-2.5/plat/intel/soc/common/
H A Dsocfpga_storage.c55 .length = MMC_BLOCK_SIZE
139 boot_dev_spec.buffer.length = MMC_BLOCK_SIZE; in socfpga_io_setup()
142 boot_dev_spec.block_size = MMC_BLOCK_SIZE; in socfpga_io_setup()
/dports/sysutils/atf-sun50i_h6/arm-trusted-firmware-2.5/plat/intel/soc/common/
H A Dsocfpga_storage.c55 .length = MMC_BLOCK_SIZE
139 boot_dev_spec.buffer.length = MMC_BLOCK_SIZE; in socfpga_io_setup()
142 boot_dev_spec.block_size = MMC_BLOCK_SIZE; in socfpga_io_setup()
/dports/sysutils/atf-rk3399/arm-trusted-firmware-2.5/plat/intel/soc/common/
H A Dsocfpga_storage.c55 .length = MMC_BLOCK_SIZE
139 boot_dev_spec.buffer.length = MMC_BLOCK_SIZE; in socfpga_io_setup()
142 boot_dev_spec.block_size = MMC_BLOCK_SIZE; in socfpga_io_setup()
/dports/sysutils/atf-rk3328/arm-trusted-firmware-2.5/plat/intel/soc/common/
H A Dsocfpga_storage.c55 .length = MMC_BLOCK_SIZE
139 boot_dev_spec.buffer.length = MMC_BLOCK_SIZE; in socfpga_io_setup()
142 boot_dev_spec.block_size = MMC_BLOCK_SIZE; in socfpga_io_setup()
/dports/sysutils/atf-sun50i_h6/arm-trusted-firmware-2.5/plat/st/common/
H A Dbl2_io_storage.c45 .length = 34 * MMC_BLOCK_SIZE, /* Size of GPT table */
48 static uint32_t block_buffer[MMC_BLOCK_SIZE] __aligned(MMC_BLOCK_SIZE);
54 .length = MMC_BLOCK_SIZE,
60 .block_size = MMC_BLOCK_SIZE,
142 .lba_size = MMC_BLOCK_SIZE,
/dports/sysutils/atf-sun50i_a64/arm-trusted-firmware-2.5/plat/st/common/
H A Dbl2_io_storage.c45 .length = 34 * MMC_BLOCK_SIZE, /* Size of GPT table */
48 static uint32_t block_buffer[MMC_BLOCK_SIZE] __aligned(MMC_BLOCK_SIZE);
54 .length = MMC_BLOCK_SIZE,
60 .block_size = MMC_BLOCK_SIZE,
142 .lba_size = MMC_BLOCK_SIZE,
/dports/sysutils/atf-rk3399/arm-trusted-firmware-2.5/plat/st/common/
H A Dbl2_io_storage.c45 .length = 34 * MMC_BLOCK_SIZE, /* Size of GPT table */
48 static uint32_t block_buffer[MMC_BLOCK_SIZE] __aligned(MMC_BLOCK_SIZE);
54 .length = MMC_BLOCK_SIZE,
60 .block_size = MMC_BLOCK_SIZE,
142 .lba_size = MMC_BLOCK_SIZE,
/dports/sysutils/atf-rk3328/arm-trusted-firmware-2.5/plat/st/common/
H A Dbl2_io_storage.c45 .length = 34 * MMC_BLOCK_SIZE, /* Size of GPT table */
48 static uint32_t block_buffer[MMC_BLOCK_SIZE] __aligned(MMC_BLOCK_SIZE);
54 .length = MMC_BLOCK_SIZE,
60 .block_size = MMC_BLOCK_SIZE,
142 .lba_size = MMC_BLOCK_SIZE,
/dports/sysutils/atf-fvp/arm-trusted-firmware-2.5/plat/st/common/
H A Dbl2_io_storage.c45 .length = 34 * MMC_BLOCK_SIZE, /* Size of GPT table */
48 static uint32_t block_buffer[MMC_BLOCK_SIZE] __aligned(MMC_BLOCK_SIZE);
54 .length = MMC_BLOCK_SIZE,
60 .block_size = MMC_BLOCK_SIZE,
142 .lba_size = MMC_BLOCK_SIZE,
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot-sam460ex/drivers/mmc/
H A Dpxa_mmc.c46 static uchar mmc_buf[MMC_BLOCK_SIZE];
234 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_read()
310 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_write()
381 int mmc_block_size = MMC_BLOCK_SIZE; in mmc_bread()
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot-sam460ex/drivers/mmc/
H A Dpxa_mmc.c46 static uchar mmc_buf[MMC_BLOCK_SIZE];
234 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_read()
310 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_write()
381 int mmc_block_size = MMC_BLOCK_SIZE; in mmc_bread()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/u-boot-sam460ex/drivers/mmc/
H A Dpxa_mmc.c46 static uchar mmc_buf[MMC_BLOCK_SIZE];
234 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_read()
310 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_write()
381 int mmc_block_size = MMC_BLOCK_SIZE; in mmc_bread()
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot-sam460ex/drivers/mmc/
H A Dpxa_mmc.c46 static uchar mmc_buf[MMC_BLOCK_SIZE];
234 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_read()
310 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_write()
381 int mmc_block_size = MMC_BLOCK_SIZE; in mmc_bread()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot-sam460ex/drivers/mmc/
H A Dpxa_mmc.c46 static uchar mmc_buf[MMC_BLOCK_SIZE];
234 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_read()
310 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_write()
381 int mmc_block_size = MMC_BLOCK_SIZE; in mmc_bread()
/dports/emulators/qemu/qemu-6.2.0/roms/u-boot-sam460ex/drivers/mmc/
H A Dpxa_mmc.c46 static uchar mmc_buf[MMC_BLOCK_SIZE];
234 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_read()
310 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_write()
381 int mmc_block_size = MMC_BLOCK_SIZE; in mmc_bread()
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot-sam460ex/drivers/mmc/
H A Dpxa_mmc.c46 static uchar mmc_buf[MMC_BLOCK_SIZE];
234 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_read()
310 mmc_block_size = MMC_BLOCK_SIZE; in pxa_mmc_write()
381 int mmc_block_size = MMC_BLOCK_SIZE; in mmc_bread()
/dports/sysutils/atf-fvp/arm-trusted-firmware-2.5/include/drivers/
H A Dmmc.h14 #define MMC_BLOCK_SIZE U(512) macro
15 #define MMC_BLOCK_MASK (MMC_BLOCK_SIZE - U(1))

123456