Home
last modified time | relevance | path

Searched refs:blk_offset (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/hw/block/
H A Dpflash_cfi01.c92 uint32_t blk_offset; member
101 return (pfl->blk_offset != -1); in pflash_blk_write_state_needed()
111 VMSTATE_UINT32(blk_offset, PFlashCFI01),
412 pfl->blk_offset = offset & mask; in pflash_blk_write_start()
420 g_assert(pfl->blk_offset != -1); in pflash_blk_write_flush()
425 pfl->blk_offset = -1; in pflash_blk_write_flush()
432 pfl->blk_offset = -1; in pflash_blk_write_abort()
440 if (pfl->blk_offset != -1) { in pflash_data_write()
442 if ((offset < pfl->blk_offset) || in pflash_data_write()
875 pfl->blk_offset = -1; in pflash_cfi01_realize()
[all …]
/openbmc/linux/drivers/nvmem/
H A Dsprd-efuse.c59 u32 blk_offset; member
74 .blk_offset = SPRD_EFUSE_NORMAL_BLOCK_OFFSET,
298 u32 index = offset / SPRD_EFUSE_BLOCK_WIDTH + efuse->data->blk_offset; in sprd_efuse_read()
299 u32 blk_offset = (offset % SPRD_EFUSE_BLOCK_WIDTH) * BITS_PER_BYTE; in sprd_efuse_read() local
313 data >>= blk_offset; in sprd_efuse_read()
H A Dsc27xx-efuse.c128 u32 blk_offset = (offset % SC27XX_EFUSE_BLOCK_WIDTH) * BITS_PER_BYTE; in sc27xx_efuse_read() local
195 buf >>= blk_offset; in sc27xx_efuse_read()
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c84 u32 blk_offset = blk * block_size; in bnlm_lut_encode() local
87 lut->thr[0][blk_offset + i] = lut->thr[0][i]; in bnlm_lut_encode()
88 lut->val[0][blk_offset + i] = lut->val[0][i]; in bnlm_lut_encode()
/openbmc/linux/fs/cramfs/
H A Dinode.c200 unsigned int blk_offset; in cramfs_blkdev_read() local
206 blk_offset = (blocknr - buffer_blocknr[i]) << PAGE_SHIFT; in cramfs_blkdev_read()
207 blk_offset += offset; in cramfs_blkdev_read()
208 if (blk_offset > BUFFER_SIZE || in cramfs_blkdev_read()
209 blk_offset + len > BUFFER_SIZE) in cramfs_blkdev_read()
211 return read_buffers[i] + blk_offset; in cramfs_blkdev_read()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c261 size_t blk_offset = -addr % SZ_2M; in get_pgsize() local
263 if (blk_offset || size < SZ_2M) { in get_pgsize()
264 *count = min_not_zero(blk_offset, size) / SZ_4K; in get_pgsize()
267 blk_offset = -addr % SZ_1G ?: SZ_1G; in get_pgsize()
268 *count = min(blk_offset, size) / SZ_2M; in get_pgsize()
/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs.c645 int blk_offset = offset & (INFO->blocksize-1); in reiserfs_read() local
646 to_read = INFO->blocksize - blk_offset; in reiserfs_read()
654 blk_offset, to_read, buf); in reiserfs_read()
/openbmc/u-boot/doc/
H A DREADME.mediatek198 # mmc erase <blk_offset> <blk_num>
202 # mmc write <data_addr> <blk_offset> <blk_num>
/openbmc/linux/fs/xfs/
H A Dxfs_log.c31 xfs_daddr_t blk_offset,
638 xfs_daddr_t blk_offset, in xfs_log_mount() argument
657 log = xlog_alloc_log(mp, log_target, blk_offset, num_bblks); in xfs_log_mount()
1520 xfs_daddr_t blk_offset, in xlog_alloc_log() argument
1540 log->l_logBBstart = blk_offset; in xlog_alloc_log()