/external/arm-trusted-firmware/plat/socionext/uniphier/ |
D | uniphier_usb.c | 54 static int (*__uniphier_usb_read)(int lba, uintptr_t buf, size_t size); 65 static int uniphier_ld11_usb_read(int lba, uintptr_t buf, size_t size) in uniphier_ld11_usb_read() argument 67 static int (*rom_usb_read)(uintptr_t desc, unsigned int lba, in uniphier_ld11_usb_read() 74 return rom_usb_read(UNIPHIER_LD11_USB_DESC_BASE, lba, size, buf); in uniphier_ld11_usb_read() 86 static int uniphier_ld20_usb_read(int lba, uintptr_t buf, size_t size) in uniphier_ld20_usb_read() argument 88 static int (*rom_usb_read)(uintptr_t desc, unsigned int lba, in uniphier_ld20_usb_read() 97 ret = rom_usb_read(UNIPHIER_LD20_USB_DESC_BASE, lba, size, buf); in uniphier_ld20_usb_read() 113 static int uniphier_pxs3_usb_read(int lba, uintptr_t buf, size_t size) in uniphier_pxs3_usb_read() argument 115 static int (*rom_usb_read)(uintptr_t desc, unsigned int lba, in uniphier_pxs3_usb_read() 122 ret = rom_usb_read(UNIPHIER_PXS3_USB_DESC_BASE, lba, size, buf); in uniphier_pxs3_usb_read() [all …]
|
D | uniphier_nand.c | 162 static size_t __uniphier_nand_read(struct uniphier_nand *nand, int lba, in __uniphier_nand_read() argument 167 int blocks_to_skip = lba / pages_per_block; in __uniphier_nand_read() 169 int page = lba % pages_per_block; in __uniphier_nand_read() 214 static size_t uniphier_nand_read(int lba, uintptr_t buf, size_t size) in uniphier_nand_read() argument 220 count = __uniphier_nand_read(&uniphier_nand, lba, buf, size); in uniphier_nand_read()
|
D | uniphier_emmc.c | 220 static size_t uniphier_emmc_read(int lba, uintptr_t buf, size_t size) in uniphier_emmc_read() argument 227 lba *= 512; in uniphier_emmc_read() 230 lba, buf, size / 512); in uniphier_emmc_read()
|
/external/ltp/testcases/kernel/io/disktest/ |
D | childmain.c | 72 if ((target.lba == env->action_list[i].lba) /* attempting same transfer start lba */ in action_in_use() 73 …||((target.lba < env->action_list[i].lba) && (target.lba + target.trsiz - 1) >= env->action_list[i… in action_in_use() 124 while (target.lba != env->action_list[i].lba) { in remove_action() 290 target.lba = args->start_lba + args->offset; in get_next_action() 324 target.lba = *(tmpLBA); in get_next_action() 330 target.lba = env->lastAction.lba; in get_next_action() 333 target.lba = in get_next_action() 335 } while (target.lba > args->stop_lba); in get_next_action() 338 ALIGN(target.lba, target.trsiz) + args->offset; in get_next_action() 340 target.lba = guessLBA = args->stop_lba; in get_next_action() [all …]
|
D | io.c | 99 OFF_T Seek(fd_t fd, OFF_T lba) in Seek() argument 104 return_lba = (OFF_T) FileSeek64(fd, lba, FILE_BEGIN); in Seek() 106 return_lba = (OFF_T) lseek64(fd, lba, SEEK_SET); in Seek()
|
D | defs.h | 109 OFF_T lba; member
|
/external/arm-trusted-firmware/drivers/mmc/ |
D | mmc.c | 500 size_t mmc_read_blocks(int lba, uintptr_t buf, size_t size) in mmc_read_blocks() argument 510 ret = ops->prepare(lba, buf, size); in mmc_read_blocks() 534 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_read_blocks() 536 cmd_arg = lba; in mmc_read_blocks() 544 ret = ops->read(lba, buf, size); in mmc_read_blocks() 567 size_t mmc_write_blocks(int lba, const uintptr_t buf, size_t size) in mmc_write_blocks() argument 578 ret = ops->prepare(lba, buf, size); in mmc_write_blocks() 601 cmd_arg = lba * MMC_BLOCK_SIZE; in mmc_write_blocks() 603 cmd_arg = lba; in mmc_write_blocks() 611 ret = ops->write(lba, buf, size); in mmc_write_blocks() [all …]
|
/external/arm-trusted-firmware/include/drivers/ |
D | mmc.h | 125 int (*prepare)(int lba, uintptr_t buf, size_t size); 126 int (*read)(int lba, uintptr_t buf, size_t size); 127 int (*write)(int lba, const uintptr_t buf, size_t size); 227 size_t mmc_read_blocks(int lba, uintptr_t buf, size_t size); 228 size_t mmc_write_blocks(int lba, const uintptr_t buf, size_t size); 229 size_t mmc_erase_blocks(int lba, size_t size); 230 size_t mmc_rpmb_read_blocks(int lba, uintptr_t buf, size_t size); 231 size_t mmc_rpmb_write_blocks(int lba, const uintptr_t buf, size_t size); 232 size_t mmc_rpmb_erase_blocks(int lba, size_t size);
|
D | ufs.h | 488 int lba; member 544 size_t ufs_read_blocks(int lun, int lba, uintptr_t buf, size_t size); 545 size_t ufs_write_blocks(int lun, int lba, const uintptr_t buf, size_t size);
|
/external/arm-trusted-firmware/plat/hisilicon/hikey960/ |
D | hikey960_io_storage.c | 37 size_t ufs_read_lun3_blks(int lba, uintptr_t buf, size_t size); 38 size_t ufs_write_lun3_blks(int lba, const uintptr_t buf, size_t size); 303 size_t ufs_read_lun3_blks(int lba, uintptr_t buf, size_t size) in ufs_read_lun3_blks() argument 305 return ufs_read_blocks(3, lba, buf, size); in ufs_read_lun3_blks() 308 size_t ufs_write_lun3_blks(int lba, const uintptr_t buf, size_t size) in ufs_write_lun3_blks() argument 310 return ufs_write_blocks(3, lba, buf, size); in ufs_write_lun3_blks()
|
/external/arm-trusted-firmware/drivers/imx/usdhc/ |
D | imx_usdhc.c | 23 static int imx_usdhc_prepare(int lba, uintptr_t buf, size_t size); 24 static int imx_usdhc_read(int lba, uintptr_t buf, size_t size); 25 static int imx_usdhc_write(int lba, uintptr_t buf, size_t size); 268 static int imx_usdhc_prepare(int lba, uintptr_t buf, size_t size) in imx_usdhc_prepare() argument 279 static int imx_usdhc_read(int lba, uintptr_t buf, size_t size) in imx_usdhc_read() argument 284 static int imx_usdhc_write(int lba, uintptr_t buf, size_t size) in imx_usdhc_write() argument
|
/external/arm-trusted-firmware/drivers/io/ |
D | io_block.c | 250 int lba; in block_read() local 297 lba = (cur->file_pos + cur->base) / block_size; in block_read() 317 request = ops->read(lba, buf->offset, request); in block_read() 362 int lba; in block_write() local 410 lba = (cur->file_pos + cur->base) / block_size; in block_write() 446 request = ops->read(lba, buf->offset, request); in block_write() 471 request = ops->write(lba, buf->offset, request); in block_write()
|
/external/gptfdisk/ |
D | mbrpart.cc | 260 int MBRPart::LBAtoCHS(uint32_t lba, uint8_t * chs) { in LBAtoCHS() argument 268 if (lba == 0) { in LBAtoCHS() 273 if ((!done) && (lba >= (numHeads * numSecspTrack * MAX_CYLINDERS))) { in LBAtoCHS() 281 cylinder = lba / (numHeads * numSecspTrack); in LBAtoCHS() 282 remainder = lba - (cylinder * numHeads * numSecspTrack); in LBAtoCHS()
|
D | mbrpart.h | 106 int LBAtoCHS(uint32_t lba, uint8_t * chs);
|
/external/arm-trusted-firmware/include/drivers/io/ |
D | io_block.h | 14 size_t (*read)(int lba, uintptr_t buf, size_t size); 15 size_t (*write)(int lba, const uintptr_t buf, size_t size);
|
/external/arm-trusted-firmware/drivers/synopsys/emmc/ |
D | dw_mmc.c | 126 static int dw_prepare(int lba, uintptr_t buf, size_t size); 127 static int dw_read(int lba, uintptr_t buf, size_t size); 128 static int dw_write(int lba, uintptr_t buf, size_t size); 342 static int dw_prepare(int lba, uintptr_t buf, size_t size) in dw_prepare() argument 396 static int dw_read(int lba, uintptr_t buf, size_t size) in dw_read() argument 411 static int dw_write(int lba, uintptr_t buf, size_t size) in dw_write() argument
|
/external/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_cmds_extra.h | 132 int sg_ll_read_long10(int sg_fd, bool pblock, bool correct, unsigned int lba, 259 unsigned int lba, int veri_len, void * data_out, 307 unsigned int lba, void * data_out, int xfer_len, 362 uint64_t lba, uint32_t num_blocks, int group_num,
|
D | sg_cmds_basic.h | 135 int sg_ll_readcap_10(int sg_fd, bool pmi, unsigned int lba, void * resp, 180 unsigned int lba, unsigned int count, bool noisy,
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ufs/ufshcd_command/ |
D | format | 15 field:u64 lba; offset:32; size:8; signed:0; 18 …et_str(dev_name), REC->tag, REC->doorbell, REC->transfer_len, REC->intr, REC->lba, (u32)REC->opcode
|
/external/llvm-project/lldb/test/API/lang/cpp/bitfields/ |
D | main.cpp | 6 } lba; in main() local 85 lba.a = 2; in main()
|
/external/arm-trusted-firmware/drivers/rpi3/sdhost/ |
D | rpi3_sdhost.c | 23 static int rpi3_sdhost_prepare(int lba, uintptr_t buf, size_t size); 24 static int rpi3_sdhost_read(int lba, uintptr_t buf, size_t size); 25 static int rpi3_sdhost_write(int lba, uintptr_t buf, size_t size); 452 static int rpi3_sdhost_prepare(int lba, uintptr_t buf, size_t size) in rpi3_sdhost_prepare() argument 476 static int rpi3_sdhost_read(int lba, uintptr_t buf, size_t size) in rpi3_sdhost_read() argument 541 static int rpi3_sdhost_write(int lba, uintptr_t buf, size_t size) in rpi3_sdhost_write() argument
|
/external/vboot_reference/host/arch/arm/lib/ |
D | crossystem_arch.c | 387 int lba = ReadFdtInt("nonvolatile-context-lba"); in VbReadNvStorage_disk() local 404 lseek(nvctx_fd, lba * SECTOR_SIZE, SEEK_SET); in VbReadNvStorage_disk() 428 int lba = ReadFdtInt("nonvolatile-context-lba"); in VbWriteNvStorage_disk() local 446 lseek(nvctx_fd, lba * SECTOR_SIZE, SEEK_SET); in VbWriteNvStorage_disk() 454 lseek(nvctx_fd, lba * SECTOR_SIZE, SEEK_SET); in VbWriteNvStorage_disk()
|
/external/arm-trusted-firmware/drivers/st/mmc/ |
D | stm32_sdmmc2.c | 126 static int stm32_sdmmc2_prepare(int lba, uintptr_t buf, size_t size); 127 static int stm32_sdmmc2_read(int lba, uintptr_t buf, size_t size); 128 static int stm32_sdmmc2_write(int lba, uintptr_t buf, size_t size); 468 static int stm32_sdmmc2_prepare(int lba, uintptr_t buf, size_t size) in stm32_sdmmc2_prepare() argument 531 static int stm32_sdmmc2_read(int lba, uintptr_t buf, size_t size) in stm32_sdmmc2_read() argument 621 static int stm32_sdmmc2_write(int lba, uintptr_t buf, size_t size) in stm32_sdmmc2_write() argument
|
/external/arm-trusted-firmware/drivers/ufs/ |
D | ufs.c | 211 int lba, uintptr_t buf, size_t length) in ufs_prepare_cmd() argument 236 ulba = (unsigned int)lba; in ufs_prepare_cmd() 645 size_t ufs_read_blocks(int lun, int lba, uintptr_t buf, size_t size) in ufs_read_blocks() argument 657 ufs_prepare_cmd(&utrd, CDBCMD_READ_10, lun, lba, buf, size); in ufs_read_blocks() 669 size_t ufs_write_blocks(int lun, int lba, const uintptr_t buf, size_t size) in ufs_write_blocks() argument 681 ufs_prepare_cmd(&utrd, CDBCMD_WRITE_10, lun, lba, buf, size); in ufs_write_blocks()
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_cmds_extra.c | 1198 sg_ll_read_long10(int sg_fd, bool pblock, bool correct, unsigned int lba, in sg_ll_read_long10() argument 1215 sg_put_unaligned_be32((uint32_t)lba, readLong_cdb + 2); in sg_ll_read_long10() 1384 unsigned int lba, void * data_out, int xfer_len, in sg_ll_write_long10() argument 1402 sg_put_unaligned_be32((uint32_t)lba, writeLong_cdb + 2); in sg_ll_write_long10() 1548 unsigned int lba, int veri_len, void * data_out, in sg_ll_verify10() argument 1563 sg_put_unaligned_be32((uint32_t)lba, v_cdb + 2); in sg_ll_verify10() 2428 uint64_t lba, uint32_t num_blocks, int group_num, in sg_ll_pre_fetch_x() argument 2442 if (lba > UINT32_MAX) { in sg_ll_pre_fetch_x() 2451 sg_put_unaligned_be32((uint32_t)lba, preFetchCdb + 2); in sg_ll_pre_fetch_x() 2454 ((lba > UINT32_MAX) || (num_blocks > UINT16_MAX))) { in sg_ll_pre_fetch_x() [all …]
|