Home
last modified time | relevance | path

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

/openbmc/u-boot/env/
H A 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()
H A 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()
/openbmc/u-boot/drivers/mmc/
H A 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()
/openbmc/u-boot/drivers/dfu/
H A 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()
/openbmc/u-boot/board/toradex/common/
H A Dtdx-cfg-block.c110 uint blk_start; in tdx_cfg_block_mmc_storage() local
129 blk_start = ALIGN(offset, mmc->write_bl_len) / mmc->write_bl_len; in tdx_cfg_block_mmc_storage()
133 if (blk_dread(mmc_get_blk_desc(mmc), blk_start, 1, in tdx_cfg_block_mmc_storage()
140 if (blk_dwrite(mmc_get_blk_desc(mmc), blk_start, 1, in tdx_cfg_block_mmc_storage()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dpuda.c1157 u32 marker_seq, end_seq, blk_start; in irdma_ieq_get_fpdu_len() local
1162 blk_start = (pfpdu->rcv_start_seq - rcv_seq) & (IRDMA_MRK_BLK_SZ - 1); in irdma_ieq_get_fpdu_len()
1163 if (!blk_start) { in irdma_ieq_get_fpdu_len()
1169 marker_seq = rcv_seq + blk_start; in irdma_ieq_get_fpdu_len()
/openbmc/linux/fs/f2fs/
H A Dfile.c1186 loff_t blk_start, blk_end; in f2fs_punch_hole() local
1191 blk_start = (loff_t)pg_start << PAGE_SHIFT; in f2fs_punch_hole()
1197 truncate_pagecache_range(inode, blk_start, blk_end - 1); in f2fs_punch_hole()