/openbmc/u-boot/disk/ |
H A D | part_efi.c | 379 if (blk_dwrite(dev_desc, 0, 1, p_mbr) != 1) { in set_protective_mbr() 411 if (blk_dwrite(dev_desc, 1, 1, gpt_h) != 1) in write_gpt_table() 414 if (blk_dwrite(dev_desc, le64_to_cpu(gpt_h->partition_entry_lba), in write_gpt_table() 420 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->last_usable_lba) in write_gpt_table() 424 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->my_lba), 1, in write_gpt_table() 833 if (blk_dwrite(dev_desc, lba, cnt, buf) != cnt) { in write_mbr_and_gpt_partitions() 842 if (blk_dwrite(dev_desc, lba, cnt, gpt_h) != cnt) { in write_mbr_and_gpt_partitions() 850 if (blk_dwrite(dev_desc, lba, cnt, gpt_e) != cnt) { in write_mbr_and_gpt_partitions() 861 if (blk_dwrite(dev_desc, lba, cnt, gpt_e) != cnt) { in write_mbr_and_gpt_partitions() 869 if (blk_dwrite(dev_desc, lba, cnt, gpt_h) != cnt) { in write_mbr_and_gpt_partitions()
|
H A D | part_dos.c | 318 if (blk_dwrite(dev_desc, 0, 1, buf) != 1) { in write_mbr_partition()
|
/openbmc/u-boot/drivers/fastboot/ |
H A D | fb_mmc.c | 71 blks_written = blk_dwrite(block_dev, blk, cur_blkcnt, in fb_mmc_blk_write() 256 res = blk_dwrite(dev_desc, info.start, hdr_sectors, (void *)hdr); in fb_mmc_update_zimage() 267 res = blk_dwrite(dev_desc, kernel_sector_start, kernel_sectors, in fb_mmc_update_zimage() 279 res = blk_dwrite(dev_desc, ramdisk_sector_start, ramdisk_sectors, in fb_mmc_update_zimage()
|
/openbmc/u-boot/include/ |
H A D | blk.h | 273 unsigned long blk_dwrite(struct blk_desc *block_dev, lbaint_t start, 449 static inline ulong blk_dwrite(struct blk_desc *block_dev, lbaint_t start, in blk_dwrite() function
|
/openbmc/u-boot/env/ |
H A D | sata.c | 40 n = blk_dwrite(sata, blk_start, blk_cnt, buffer); in write_env()
|
H A D | mmc.c | 194 n = blk_dwrite(desc, blk_start, blk_cnt, (u_char *)buffer); in write_env()
|
/openbmc/u-boot/cmd/ |
H A D | usb_mass_storage.c | 33 return blk_dwrite(block_dev, blkstart, blkcnt, buf); in ums_write_sector()
|
H A D | mmc.c | 326 return blk_dwrite(dev_desc, blk, blkcnt, buffer); in mmc_sparse_write() 411 n = blk_dwrite(mmc_get_blk_desc(mmc), blk, cnt, addr); in do_mmc_write()
|
/openbmc/u-boot/drivers/block/ |
H A D | blk-uclass.c | 334 return blk_dwrite(desc, start, blkcnt, buffer); in blk_write_devnum() 450 unsigned long blk_dwrite(struct blk_desc *block_dev, lbaint_t start, in blk_dwrite() function
|
/openbmc/u-boot/lib/ |
H A D | gunzip.c | 244 blocks_written = blk_dwrite(dev, outblock, in gzwrite()
|
/openbmc/u-boot/drivers/dfu/ |
H A D | dfu_mmc.c | 67 n = blk_dwrite(mmc_get_blk_desc(mmc), blk_start, blk_count, in mmc_block_op()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_disk.c | 82 n = blk_dwrite(desc, lba, blocks, buffer); in efi_disk_rw_blocks()
|
/openbmc/u-boot/board/toradex/common/ |
H A D | tdx-cfg-block.c | 140 if (blk_dwrite(mmc_get_blk_desc(mmc), blk_start, 1, in tdx_cfg_block_mmc_storage()
|
/openbmc/u-boot/cmd/mvebu/ |
H A D | bubt.c | 161 blk_written = blk_dwrite(blk_desc, start_lba, blk_count, in mmc_burn_image()
|
/openbmc/u-boot/common/ |
H A D | avb_verify.c | 333 return blk_dwrite(part->mmc_blk, in mmc_write()
|
/openbmc/u-boot/fs/ext4/ |
H A D | ext4_common.c | 221 blk_dwrite(fs->dev_desc, startblock, 1, sec_buf); in put_ext4() 224 blk_dwrite(fs->dev_desc, startblock, size >> log2blksz, in put_ext4() 230 blk_dwrite(fs->dev_desc, startblock, 1, in put_ext4()
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | f_rockusb.c | 511 blks = blk_dwrite(f_rkusb->desc, f_rkusb->lba, blkcnt, f_rkusb->buf); in rx_handler_dl_image()
|
/openbmc/u-boot/fs/fat/ |
H A D | fat_write.c | 43 ret = blk_dwrite(cur_dev, cur_part_info.start + block, nr_blocks, buf); in disk_write()
|