HomeSort by relevance Sort by last modified time
    Searched refs:MMC_BLOCK_SIZE (Results 1 - 4 of 4) sorted by null

  /system/core/trusty/storage/proxy/
rpmb.c 50 #define MMC_BLOCK_SIZE 512
102 if ((req->reliable_write_size % MMC_BLOCK_SIZE) != 0) {
111 cmd->blksz = MMC_BLOCK_SIZE;
112 cmd->blocks = req->reliable_write_size / MMC_BLOCK_SIZE;
124 if ((req->write_size % MMC_BLOCK_SIZE) != 0) {
133 cmd->blksz = MMC_BLOCK_SIZE;
134 cmd->blocks = req->write_size / MMC_BLOCK_SIZE;
146 if (req->read_size % MMC_BLOCK_SIZE != 0 ||
156 cmd->blksz = MMC_BLOCK_SIZE;
157 cmd->blocks = req->read_size / MMC_BLOCK_SIZE;
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/plat/hikey/drivers/
dw_mmc.c 150 mmio_write_32(MMC0_BLKSIZ, MMC_BLOCK_SIZE);
448 mmio_write_32(MMC0_BLKSIZ, MMC_BLOCK_SIZE);
470 #define MMC_BLOCK_SIZE 512
482 bytes = blk_cnt * MMC_BLOCK_SIZE;
538 memcpy((void *)dst_addr, (void *)src_addr, MMC_BLOCK_SIZE);
547 unsigned int src_blk_start = src_start / MMC_BLOCK_SIZE;
563 offset = src_start % MMC_BLOCK_SIZE;
564 src_blk_cnt = (src_size + offset + MMC_BLOCK_SIZE - 1) / MMC_BLOCK_SIZE;
565 bytes = src_blk_cnt * MMC_BLOCK_SIZE;
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/plat/hikey/include/
dw_mmc.h 70 #define MMC_BLOCK_SIZE 512
  /device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
partitions.c 161 unsigned int buf[MMC_BLOCK_SIZE >> 2];
186 if (buf[(MMC_BLOCK_SIZE >> 2) - 1] != 0xaa550000) {

Completed in 117 milliseconds