Home
last modified time | relevance | path

Searched refs:blk_dwrite (Results 1 – 18 of 18) sorted by relevance

/openbmc/u-boot/disk/
H A Dpart_efi.c379 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 Dpart_dos.c318 if (blk_dwrite(dev_desc, 0, 1, buf) != 1) { in write_mbr_partition()
/openbmc/u-boot/drivers/fastboot/
H A Dfb_mmc.c71 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 Dblk.h273 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 Dsata.c40 n = blk_dwrite(sata, blk_start, blk_cnt, buffer); in write_env()
H A Dmmc.c194 n = blk_dwrite(desc, blk_start, blk_cnt, (u_char *)buffer); in write_env()
/openbmc/u-boot/cmd/
H A Dusb_mass_storage.c33 return blk_dwrite(block_dev, blkstart, blkcnt, buf); in ums_write_sector()
H A Dmmc.c326 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 Dblk-uclass.c334 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 Dgunzip.c244 blocks_written = blk_dwrite(dev, outblock, in gzwrite()
/openbmc/u-boot/drivers/dfu/
H A Ddfu_mmc.c67 n = blk_dwrite(mmc_get_blk_desc(mmc), blk_start, blk_count, in mmc_block_op()
/openbmc/u-boot/lib/efi_loader/
H A Defi_disk.c82 n = blk_dwrite(desc, lba, blocks, buffer); in efi_disk_rw_blocks()
/openbmc/u-boot/board/toradex/common/
H A Dtdx-cfg-block.c140 if (blk_dwrite(mmc_get_blk_desc(mmc), blk_start, 1, in tdx_cfg_block_mmc_storage()
/openbmc/u-boot/cmd/mvebu/
H A Dbubt.c161 blk_written = blk_dwrite(blk_desc, start_lba, blk_count, in mmc_burn_image()
/openbmc/u-boot/common/
H A Davb_verify.c333 return blk_dwrite(part->mmc_blk, in mmc_write()
/openbmc/u-boot/fs/ext4/
H A Dext4_common.c221 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 Df_rockusb.c511 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 Dfat_write.c43 ret = blk_dwrite(cur_dev, cur_part_info.start + block, nr_blocks, buf); in disk_write()