Searched refs:blk_start (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/env/ |
D | sata.c | 35 uint blk_start, blk_cnt, n; in write_env() local 37 blk_start = ALIGN(offset, sata->blksz) / sata->blksz; in write_env() 40 n = blk_dwrite(sata, blk_start, blk_cnt, buffer); in write_env() 81 uint blk_start, blk_cnt, n; in read_env() local 83 blk_start = ALIGN(offset, sata->blksz) / sata->blksz; in read_env() 86 n = blk_dread(sata, blk_start, blk_cnt, buffer); in read_env()
|
D | mmc.c | 188 uint blk_start, blk_cnt, n; in write_env() local 191 blk_start = ALIGN(offset, mmc->write_bl_len) / mmc->write_bl_len; in write_env() 194 n = blk_dwrite(desc, blk_start, blk_cnt, (u_char *)buffer); in write_env() 250 uint blk_start, blk_cnt, n; in read_env() local 253 blk_start = ALIGN(offset, mmc->read_bl_len) / mmc->read_bl_len; in read_env() 256 n = blk_dread(desc, blk_start, blk_cnt, (uchar *)buffer); in read_env()
|
/external/u-boot/drivers/mmc/ |
D | fsl_esdhc_spl.c | 24 uint blk_start, blk_cnt, err; in mmc_spl_load_image() local 37 blk_start = ALIGN(offs, mmc->read_bl_len) / mmc->read_bl_len; in mmc_spl_load_image() 40 err = mmc->block_dev.block_read(&mmc->block_dev, blk_start, blk_cnt, in mmc_spl_load_image() 57 uint blk_start, blk_cnt, err; in mmc_boot() local 128 blk_start = ALIGN(offset, mmc->read_bl_len) / mmc->read_bl_len; in mmc_boot() 130 err = mmc->block_dev.block_read(&mmc->block_dev, blk_start, blk_cnt, in mmc_boot()
|
/external/e2fsprogs/contrib/android/ |
D | block_range.c | 16 blk64_t blk_start, blk64_t blk_end) in add_blocks_to_range() argument 19 *head = *tail = new_block_range(blk_start, blk_end); in add_blocks_to_range() 20 else if ((*tail)->end + 1 == blk_start) in add_blocks_to_range() 21 (*tail)->end += (blk_end - blk_start + 1); in add_blocks_to_range() 23 struct block_range *range = new_block_range(blk_start, blk_end); in add_blocks_to_range()
|
D | block_range.h | 14 blk64_t blk_start, blk64_t blk_end);
|
/external/u-boot/drivers/dfu/ |
D | dfu_mmc.c | 26 u32 blk_start, blk_count, n = 0; in mmc_block_op() local 41 blk_start = dfu->data.mmc.lba_start + in mmc_block_op() 44 if (blk_start + blk_count > in mmc_block_op() 61 dfu->data.mmc.dev_num, blk_start, blk_count, buf); in mmc_block_op() 64 n = blk_dread(mmc_get_blk_desc(mmc), blk_start, blk_count, buf); in mmc_block_op() 67 n = blk_dwrite(mmc_get_blk_desc(mmc), blk_start, blk_count, in mmc_block_op()
|
/external/u-boot/board/toradex/common/ |
D | tdx-cfg-block.c | 103 uint blk_start; in tdx_cfg_block_mmc_storage() local 122 blk_start = ALIGN(offset, mmc->write_bl_len) / mmc->write_bl_len; in tdx_cfg_block_mmc_storage() 126 if (blk_dread(mmc_get_blk_desc(mmc), blk_start, 1, in tdx_cfg_block_mmc_storage() 133 if (blk_dwrite(mmc_get_blk_desc(mmc), blk_start, 1, in tdx_cfg_block_mmc_storage()
|