/u-boot/lib/ |
A D | lz4_wrapper.c | 78 u32 block_header, block_size; in ulz4fn() local 82 block_size = block_header & ~LZ4F_BLOCKUNCOMPRESSED_FLAG; in ulz4fn() 84 if (in - src + block_size > srcn) { in ulz4fn() 89 if (!block_size) { in ulz4fn() 95 size_t size = min((ptrdiff_t)block_size, end - out); in ulz4fn() 98 if (size < block_size) { in ulz4fn() 104 ret = LZ4_decompress_generic(in, out, block_size, in ulz4fn() 114 in += block_size; in ulz4fn()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | fsl_elbc_spl.c | 51 const int block_size = 1 << block_shift; in nand_spl_load_image() local 58 if (offs & (block_size - 1)) { in nand_spl_load_image() 91 unsigned int page_offs = (offs & (block_size - 1)) << 1; in nand_spl_load_image() 108 offs = (offs + block_size) & ~(block_size - 1); in nand_spl_load_image() 109 pos &= ~(block_size - 1); in nand_spl_load_image() 118 } while ((offs & (block_size - 1)) && (pos < uboot_size)); in nand_spl_load_image()
|
A D | octeontx_bch.h | 80 int octeontx_bch_encode(struct bch_vf *vf, dma_addr_t block, u16 block_size, 102 u16 block_size, u8 bch_level,
|
A D | octeontx_bch.c | 223 int octeontx_bch_encode(struct bch_vf *vf, dma_addr_t block, u16 block_size, in octeontx_bch_encode() argument 232 cmd.s.cword.size = block_size; in octeontx_bch_encode() 266 u16 block_size, u8 bch_level, in octeontx_bch_decode() argument 275 cmd.s.cword.size = block_size; in octeontx_bch_decode()
|
/u-boot/lib/efi_loader/ |
A D | efi_hii_config.c | 59 const efi_uintn_t block_size, in block_to_config() argument 64 block, block_size, config, progress); in block_to_config() 73 const efi_uintn_t *block_size, in config_to_block() argument 77 block, block_size, progress); in config_to_block()
|
A D | efi_disk.c | 150 if (lba * this->media->block_size + buffer_size > in efi_disk_read_blocks() 151 (this->media->last_block + 1) * this->media->block_size) in efi_disk_read_blocks() 161 EFI_LOADER_BOUNCE_BUFFER_SIZE / this->media->block_size, in efi_disk_read_blocks() 218 if (lba * this->media->block_size + buffer_size > in efi_disk_write_blocks() 219 (this->media->last_block + 1) * this->media->block_size) in efi_disk_write_blocks() 229 EFI_LOADER_BOUNCE_BUFFER_SIZE / this->media->block_size, in efi_disk_write_blocks() 456 diskobj->media.block_size = desc->blksz; in efi_disk_add_dev()
|
/u-boot/drivers/ddr/marvell/a38x/ |
A D | xor.c | 165 int mv_xor_mem_init(u32 chan, u32 start_ptr, unsigned long long block_size, in mv_xor_mem_init() argument 170 if (block_size == _4G) in mv_xor_mem_init() 171 block_size -= 1; in mv_xor_mem_init() 180 if ((block_size < XEXBSR_BLOCK_SIZE_MIN_VALUE) || in mv_xor_mem_init() 181 (block_size > XEXBSR_BLOCK_SIZE_MAX_VALUE)) in mv_xor_mem_init() 201 block_size); in mv_xor_mem_init()
|
/u-boot/lib/efi_driver/ |
A D | efi_block_device.c | 71 (efi_uintn_t)io->media->block_size, buffer)); in efi_bl_read() 100 (efi_uintn_t)io->media->block_size, in efi_bl_write() 163 io->media->block_size, in efi_bl_bind()
|
/u-boot/test/py/tests/ |
A D | test_fpga.py | 444 block_size = f['loadfs_block_size'] 448 … output = u_boot_console.run_command('fpga loadfs %x %x %x %s' % (addr, bit_size, block_size, bit)) 454 …u_boot_console.run_command('fpga loadfs %x %x %x %x %s 0' % (dev, addr, bit_size, block_size, bit)) 459 …ut = u_boot_console.run_command('fpga loadfs %x %x %x %x %s' % (dev, 0, bit_size, block_size, bit)) 465 …output = u_boot_console.run_command('fpga loadfs %x %x %x %x %s' % (dev, addr, 0, block_size, bit)) 476 …oot_console.run_command('fpga loadfs %x %x %x %x mmc 0 noname' % (dev, addr, bit_size, block_size)) 482 …boot_console.run_command('fpga loadfs %d %x %x %x mmc 0 noname' % (-1, addr, bit_size, block_size)) 498 block_size = f['loadfs_block_size'] 502 …ommand('fpga loadfs %x %x %x %x %s && echo %s' % (dev, addr, bit_size, block_size, bit, expected_t…
|
/u-boot/drivers/ddr/marvell/axp/ |
A D | xor.c | 155 int mv_xor_mem_init(u32 chan, u32 start_ptr, unsigned long long block_size, in mv_xor_mem_init() argument 167 if ((block_size < XEXBSR_BLOCK_SIZE_MIN_VALUE) || in mv_xor_mem_init() 168 (block_size > XEXBSR_BLOCK_SIZE_MAX_VALUE)) in mv_xor_mem_init() 188 block_size); in mv_xor_mem_init()
|
A D | xor.h | 67 int mv_xor_mem_init(u32 chan, u32 start_ptr, unsigned long long block_size,
|
/u-boot/test/py/tests/test_fs/test_squashfs/ |
A D | sqfs_common.py | 24 def __init__(self, name, files, sizes, block_size = 4096): argument 28 self.mksquashfs_opts = " -b " + str(block_size) + " -comp " + self.name
|
/u-boot/fs/squashfs/ |
A D | sqfs_inode.c | 111 __le32 block_size) in sqfs_find_inode() argument 127 sz = sqfs_inode_size(base, le32_to_cpu(block_size)); in sqfs_find_inode()
|
A D | sqfs_filesystem.h | 58 __le32 block_size; member 299 __le32 block_size);
|
A D | sqfs.c | 467 sblk->inodes, sblk->block_size); in sqfs_search_dir() 522 sblk->inodes, sblk->block_size); in sqfs_search_dir() 1014 sblk->block_size); in sqfs_readdir() 1369 sblk->block_size); in sqfs_read() 1376 sblk->block_size); in sqfs_read() 1389 sblk->block_size); in sqfs_read() 1433 datablock = malloc(get_unaligned_le32(&sblk->block_size)); in sqfs_read() 1478 sparse_size = get_unaligned_le32(&sblk->block_size); in sqfs_read() 1484 dest_len = get_unaligned_le32(&sblk->block_size); in sqfs_read() 1535 dest_len = get_unaligned_le32(&sblk->block_size); in sqfs_read() [all …]
|
/u-boot/include/ |
A D | api_public.h | 114 unsigned long block_size; /* size of one block */ member
|
/u-boot/drivers/fpga/ |
A D | lattice.c | 129 unsigned int block_size = 4 * 1024; in GetByte() local 165 if (!(read_bytes % block_size)) { in GetByte()
|
/u-boot/drivers/spi/ |
A D | cadence_qspi.h | 32 u32 block_size; member
|
/u-boot/lib/efi_selftest/ |
A D | efi_selftest_block_device.c | 196 block_io.media->block_size = 1 << LB_BLOCK_SIZE; in setup() 398 if (system_info.info.block_size != 512) { in execute() 400 system_info.info.block_size); in execute()
|
/u-boot/cmd/mvebu/ |
A D | bubt.c | 328 uint32_t block_size; in nand_burn_image() local 336 block_size = mtd->erasesize; in nand_burn_image() 339 image_size = ((image_size + (block_size - 1)) & (~(block_size - 1))); in nand_burn_image()
|
/u-boot/drivers/ata/ |
A D | ahci.c | 876 u32 block_size; in ata_scsiop_read_capacity10() local 892 block_size = cpu_to_be32((u32)512); in ata_scsiop_read_capacity10() 893 memcpy(&pccb->pdata[4], &block_size, 4); in ata_scsiop_read_capacity10() 906 u64 block_size; in ata_scsiop_read_capacity16() local 919 block_size = cpu_to_be64((u64)512); in ata_scsiop_read_capacity16() 920 memcpy(&pccb->pdata[8], &block_size, 8); in ata_scsiop_read_capacity16()
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
A D | brcmnand.c | 164 unsigned int block_size; member 1991 block_size = i; in brcmnand_set_cfg() 1996 cfg->block_size); in brcmnand_set_cfg() 2000 block_size = ffs(cfg->block_size) - ffs(BRCMNAND_MIN_BLOCKSIZE); in brcmnand_set_cfg() 2004 cfg->block_size > ctrl->max_block_size)) { in brcmnand_set_cfg() 2006 cfg->block_size); in brcmnand_set_cfg() 2007 block_size = 0; in brcmnand_set_cfg() 2047 (block_size << CFG_BLK_SIZE_SHIFT); in brcmnand_set_cfg() 2052 (block_size << CFG_EXT_BLK_SIZE_SHIFT); in brcmnand_set_cfg() 2077 cfg->block_size >> 10, in brcmnand_print_cfg() [all …]
|
/u-boot/drivers/mtd/onenand/ |
A D | onenand_base.c | 1734 unsigned int block_size; in onenand_erase() local 1749 block_size = region->erasesize; in onenand_erase() 1761 block_size = 1 << this->erase_shift; in onenand_erase() 1764 if (unlikely(addr & (block_size - 1))) { in onenand_erase() 1771 if (unlikely(len & (block_size - 1))) { in onenand_erase() 1793 this->command(mtd, ONENAND_CMD_ERASE, addr, block_size); in onenand_erase() 1795 onenand_invalidate_bufferram(mtd, addr, block_size); in onenand_erase() 1813 len -= block_size; in onenand_erase() 1814 addr += block_size; in onenand_erase() 1821 block_size = region->erasesize; in onenand_erase() [all …]
|
/u-boot/arch/mips/mach-octeon/ |
A D | cvmx-bootmem.c | 1386 u64 block_size = cvmx_bootmem_phy_get_size(addr); in cvmx_bootmem_reserve_memory() local 1391 if (block_size < reserve_size) in cvmx_bootmem_reserve_memory() 1392 reserve_size = block_size; in cvmx_bootmem_reserve_memory() 1394 start_addr < (addr + block_size)) { in cvmx_bootmem_reserve_memory() 1395 reserve_size = block_size - (start_addr - addr); in cvmx_bootmem_reserve_memory()
|
/u-boot/doc/mvebu/cmd/ |
A D | bubt.txt | 54 - SD/eMMC: # mmc write <load_address> [0|1] <ATF Size>/<block_size>
|