Home
last modified time | relevance | path

Searched refs:blk_start (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/env/
Dsata.c35 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()
Dmmc.c188 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/
Dfsl_esdhc_spl.c24 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/
Dblock_range.c16 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()
Dblock_range.h14 blk64_t blk_start, blk64_t blk_end);
/external/u-boot/drivers/dfu/
Ddfu_mmc.c26 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/
Dtdx-cfg-block.c103 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()