Home
last modified time | relevance | path

Searched refs:blk_dread (Results 1 – 25 of 27) sorted by relevance

12

/external/u-boot/fs/
Dfs_internal.c42 if (blk_dread(blk, partition->start + sector, 1, in fs_devread()
65 blk_dread(blk, partition->start + sector, 1, in fs_devread()
71 if (blk_dread(blk, partition->start + sector, in fs_devread()
84 if (blk_dread(blk, partition->start + sector, 1, in fs_devread()
/external/u-boot/disk/
Dpart_mac.c58 if ((blk_dread(dev_desc, i, 1, (ulong *)mpart) != 1) || in part_test_mac()
113 if (blk_dread(dev_desc, i, 1, (ulong *)mpart) != 1) { in part_print_mac()
160 if (blk_dread(dev_desc, 0, 1, (ulong *)ddb_p) != 1) { in part_mac_read_ddb()
185 if (blk_dread(dev_desc, n, 1, (ulong *)pdb_p) != 1) { in part_mac_read_pdb()
Dpart_dos.c94 if (blk_dread(dev_desc, 0, 1, (ulong *)mbr) != 1) in part_test_dos()
108 if (blk_dread(dev_desc, 0, 1, (ulong *)buffer) != 1) in part_test_dos()
129 if (blk_dread(dev_desc, ext_part_sector, 1, (ulong *)buffer) != 1) { in print_partition_extended()
194 if (blk_dread(dev_desc, ext_part_sector, 1, (ulong *)buffer) != 1) { in part_get_info_extended()
Dpart_amiga.c142 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_rdisk()
184 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_bootcode()
260 ulong res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in find_partition()
356 res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in part_print_amiga()
Dpart_efi.c341 if ((blk_dread(dev_desc, 0, 1, (ulong *)legacymbr) != 1) in part_test_efi()
364 if (blk_dread(dev_desc, 0, 1, p_mbr) != 1) { in set_protective_mbr()
943 if (blk_dread(dev_desc, 0, 1, (ulong *)mbr) != 1) { in is_gpt_valid()
949 if (blk_dread(dev_desc, (lbaint_t)lba, 1, pgpt_head) != 1) { in is_gpt_valid()
1029 if (blk_dread(dev_desc, blk, (lbaint_t)blk_cnt, pte) != blk_cnt) { in alloc_read_gpt_entries()
Dpart_iso.c39 ret = blk_dread(block_dev, start, blkcnt, buffer); in iso_dread()
/external/u-boot/common/spl/
Dspl_mmc.c34 count = blk_dread(mmc_get_blk_desc(mmc), sector, image_size_sectors, in mmc_load_legacy()
49 return blk_dread(mmc_get_blk_desc(mmc), sector, count, buf); in h_spl_load_read()
64 count = blk_dread(mmc_get_blk_desc(mmc), sector, 1, header); in mmc_load_image_raw_sector()
197 count = blk_dread(mmc_get_blk_desc(mmc), in mmc_load_image_raw_os()
/external/u-boot/cmd/
Ddisk.c57 if (blk_dread(dev_desc, info.start, 1, (ulong *)addr) != 1) { in common_diskboot()
101 if (blk_dread(dev_desc, info.start + 1, cnt, in common_diskboot()
Dread.c69 if (blk_dread(dev_desc, offset + blk, cnt, addr) != cnt) { in do_read()
Dusb_mass_storage.c24 return blk_dread(block_dev, blkstart, blkcnt, buf); in ums_read_sector()
Dmmc.c305 n = blk_dread(mmc_get_blk_desc(mmc), blk, cnt, addr); in do_mmc_read()
/external/u-boot/common/
Dimage-android.c165 if (blk_dread(dev_desc, part_info->start, 1, buf) != 1) in android_image_load()
183 blk_read = blk_dread(dev_desc, part_info->start, in android_image_load()
Dandroid_ab.c88 if (blk_dread(dev_desc, part_info->start + abc_offset, abc_blocks, in android_boot_control_create_from_disk()
Dandroid_bootloader.c32 if (blk_dread(dev_desc, part_info->start, message_blocks, message) != in android_bootloader_message_load()
/external/u-boot/test/dm/
Dmmc.c38 ut_asserteq(2, blk_dread(dev_desc, 0, 2, cmp)); in dm_test_mmc_blk()
Dusb.c50 ut_asserteq(2, blk_dread(dev_desc, 0, 2, cmp)); in dm_test_usb_flash()
/external/u-boot/include/
Dblk.h270 unsigned long blk_dread(struct blk_desc *block_dev, lbaint_t start,
417 static inline ulong blk_dread(struct blk_desc *block_dev, lbaint_t start, in blk_dread() function
/external/u-boot/env/
Dsata.c86 n = blk_dread(sata, blk_start, blk_cnt, buffer); in read_env()
Dmmc.c256 n = blk_dread(desc, blk_start, blk_cnt, (uchar *)buffer); in read_env()
/external/u-boot/drivers/fastboot/
Dfb_mmc.c160 res = blk_dread(dev_desc, info->start, hdr_sectors, (void *)hdr); in fb_mmc_get_boot_header()
245 res = blk_dread(dev_desc, ramdisk_sector_start, ramdisk_sectors, in fb_mmc_update_zimage()
/external/u-boot/drivers/block/
Dblk-uclass.c293 n = blk_dread(desc, start, blkcnt, buffer); in blk_read_devnum()
404 unsigned long blk_dread(struct blk_desc *block_dev, lbaint_t start, in blk_dread() function
/external/u-boot/api/
Dapi_storage.c337 return blk_dread(dd, start, len, buf); in dev_read_stor()
/external/u-boot/drivers/dfu/
Ddfu_mmc.c64 n = blk_dread(mmc_get_blk_desc(mmc), blk_start, blk_count, buf); in mmc_block_op()
/external/u-boot/lib/efi_loader/
Defi_disk.c77 n = blk_dread(desc, lba, blocks, buffer); in efi_disk_rw_blocks()
/external/u-boot/board/toradex/common/
Dtdx-cfg-block.c126 if (blk_dread(mmc_get_blk_desc(mmc), blk_start, 1, in tdx_cfg_block_mmc_storage()

12