Searched refs:bs (Results 1 - 25 of 34) sorted by relevance

12

/u-boot/board/phytec/phycore_rk3288/
H A Dsom.h19 unsigned char bs; /* Bits set in previous bytes */ member in struct:rk3288_som
H A Dphycore-rk3288.c34 return hw == som->bs;
/u-boot/fs/fat/
H A Dfat.c496 static int determine_legacy_fat_bits(const boot_sector *bs) argument
498 u16 fat_start = bs->reserved;
499 u32 dir_start = fat_start + bs->fats * bs->fat_length;
500 u32 rootdir_sectors = get_unaligned_le16(bs->dir_entries) *
502 get_unaligned_le16(bs->sector_size);
504 u16 sectors = get_unaligned_le16(bs->sectors);
505 u32 total_sectors = sectors ? sectors : bs->total_sect;
507 bs->cluster_size;
527 static int is_bootsector_valid(const boot_sector *bs) argument
562 read_bootsectandvi(boot_sector *bs, volume_info *volinfo, int *fatsize) argument
621 boot_sector bs; local
1198 boot_sector bs; local
1429 boot_sector bs; local
[all...]
/u-boot/arch/arc/
H A DMakefile17 $(Q)printf '\x02' | dd of=u-boot bs=1 seek=$(EXEC_TYPE_OFFSET) count=1 \
/u-boot/lib/efi_loader/
H A Dinitrddump.c21 static struct efi_boot_services *bs; variable in typeref:struct:efi_boot_services
148 ret = bs->wait_for_event(1, &cin->wait_for_key, &index);
189 ret = bs->wait_for_event(1, &cin->wait_for_key, &index);
288 ret = bs->locate_device_path(&load_file2_guid, &dp, &handle);
293 ret = bs->open_protocol(handle, &load_file2_guid,
302 ret = bs->allocate_pages(EFI_ALLOCATE_ANY_PAGES, EFI_LOADER_DATA,
313 bs->free_pages(buffer, efi_size_in_pages(*initrd_size));
339 ret = bs->calculate_crc32(initrd, initrd_size, &crc32);
372 ret = bs->open_protocol(handle, &loaded_image_guid,
381 ret = bs
[all...]
H A Defi_load_initrd.c98 efi_uintn_t bs; local
133 ret = efi_file_size(f, &bs);
137 if (!buffer || *buffer_size < bs) {
139 *buffer_size = bs;
141 ret = EFI_CALL(f->read(f, &bs, (void *)(uintptr_t)buffer));
142 *buffer_size = bs;
H A Ddtbdump.c22 static struct efi_boot_services *bs; variable in typeref:struct:efi_boot_services
75 ret = bs->wait_for_event(1, &cin->wait_for_key, &index);
118 ret = bs->wait_for_event(1, &cin->wait_for_key, &index);
249 ret = bs->open_protocol(handle, &loaded_image_guid,
258 ret = bs->open_protocol(loaded_image->device_handle,
266 ret = bs->locate_handle_buffer(BY_PROTOCOL, &efi_system_partition_guid,
269 ret = bs->open_protocol(handle_buffer[0],
276 bs->free_pool(handle_buffer);
299 ret = bs->locate_protocol(&efi_dt_fixup_protocol_guid, NULL,
332 ret = bs
[all...]
H A Dsmbiosdump.c21 static struct efi_boot_services *bs; variable in typeref:struct:efi_boot_services
96 ret = bs->wait_for_event(1, &cin->wait_for_key, &index);
139 ret = bs->wait_for_event(1, &cin->wait_for_key, &index);
225 ret = bs->open_protocol(handle, &loaded_image_guid,
234 ret = bs->open_protocol(loaded_image->device_handle,
242 ret = bs->locate_handle_buffer(BY_PROTOCOL, &efi_system_partition_guid,
245 ret = bs->open_protocol(handle_buffer[0],
252 bs->free_pool(handle_buffer);
430 bs->free_pool(buf);
473 ret = bs
[all...]
H A Defi_file.c430 efi_uintn_t bs = 0; local
434 ret = EFI_CALL(fh->getinfo(fh, (efi_guid_t *)&efi_file_info_guid, &bs,
441 info = malloc(bs);
446 ret = EFI_CALL(fh->getinfo(fh, (efi_guid_t *)&efi_file_info_guid, &bs,
577 u64 bs; local
582 bs = *buffer_size;
584 ret = dir_read(fh, &bs, buffer);
586 ret = file_read(fh, &bs, buffer);
587 if (bs <= SIZE_MAX)
588 *buffer_size = bs;
[all...]
/u-boot/test/fs/
H A Dfat-noncontig-test.sh78 dd if=/dev/zero of=${img} bs=1024 count=$((40 * 1024))
98 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1
100 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1
107 dd if=${fill} of=${mnttestfn} bs=511 >/dev/null 2>&1
H A Dfs-test.sh134 dd if=/dev/zero of=$1 bs=1024 count=$((3 * 1024 * 1024))
364 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=1 \
366 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=2 seek=2047 \
368 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=1 seek=2499 \
374 sudo dd if=/dev/urandom of="${MB1}" bs=1M count=1 \
384 dd if="${MB1}" bs=1M skip=0 count=1 2> /dev/null | sha256sum > "$2"
388 dd if="${GB2p5}" bs=1M skip=0 count=1 \
392 dd if="${GB2p5}" bs=1M skip=2499 count=1 \
396 dd if="${GB2p5}" bs=1M skip=2047 count=1 \
400 dd if="${GB2p5}" bs
[all...]
/u-boot/board/intel/edison/
H A Dconfig.mk10 dd if=$^ of=$@ bs=4k seek=1 2>/dev/null && \
/u-boot/doc/imx/habv4/csf_examples/mx8m/
H A Dcsf.sh56 dd if=csf_spl.bin of=flash.bin bs=1 seek=${spl_dd_offset} conv=notrunc
74 dd if=ivt.bin of=flash.bin bs=1 seek=${ivt_block_offset} conv=notrunc
89 dd if=/dev/null of=csf_fit.bin bs=1 seek=$((CSF_SIZE - 0x20)) count=0
92 dd if=csf_fit.bin of=flash.bin bs=1 seek=${csf_block_offset} conv=notrunc
/u-boot/arch/mips/mach-mtmips/mt7628/
H A Dinit.c21 u32 bs, val, timer_freq_post; local
26 bs = readl(sysc + SYSCTL_SYSCFG0_REG);
27 if ((bs & XTAL_FREQ_SEL) == XTAL_25MHZ) {
/u-boot/board/BuR/brsmarc1/
H A Dconfig.mk14 dd conv=notrunc bs=1 if=MLO.byteswap of=$@ seek=0 2>/dev/null && \
15 dd bs=1 if=u-boot-dtb.img of=$@ seek=$(payload_off) 2>/dev/null
/u-boot/board/BuR/brppt2/
H A Dconfig.mk14 dd conv=notrunc bs=1 if=SPL of=$@ seek=1024 2>/dev/null && \
15 dd bs=1 if=u-boot-dtb.img of=$@ seek=$(payload_off) 2>/dev/null
/u-boot/board/BuR/brppt1/
H A Dconfig.mk15 dd conv=notrunc bs=1 if=MLO.byteswap of=$@ seek=0 2>/dev/null && \
16 dd bs=1 if=u-boot-dtb.img of=$@ seek=$(payload_off) 2>/dev/null
/u-boot/drivers/clk/mtmips/
H A Dclk-mt7621.c193 u32 bs, xtal_sel, clkcfg0, cur_clk, mempll, dividx, fb; local
197 bs = readl(priv->sysc_base + SYSCFG0_REG);
201 xtal_sel = FIELD_GET(XTAL_MODE_SEL, bs);
235 regmap_read(memc, MEMPLL1_REG, &bs);
236 if (!FIELD_GET(RG_MEPL_DIV2_SEL, bs))
/u-boot/tools/
H A Dimx8m_image.sh30 dd if=spl/u-boot-spl.bin of=spl/u-boot-spl-pad.bin bs=4 conv=sync
40 dd if=spl/u-boot-spl.bin of=spl/u-boot-spl-pad.bin bs=4 conv=sync
47 dd if=spl/u-boot-spl.bin of=spl/u-boot-spl-pad.bin bs=4 conv=sync
/u-boot/arch/arm/mach-keystone/
H A Dconfig.mk33 @dd if=/dev/zero bs=8 count=1 2>/dev/null >> $@
/u-boot/test/image/
H A Dspl_load_fs.c184 struct boot_sector *bs = dst + boot_sector * sector_size; local
185 struct volume_info *vi = (void *)(bs + 1);
212 bs->sector_size[0] = sector_size & 0xff;
213 bs->sector_size[1] = sector_size >> 8;
214 bs->cluster_size = 1;
215 bs->reserved = cpu_to_le16(fat_sector);
216 bs->fats = 1;
217 bs->media = 0xf8;
218 bs->total_sect = cpu_to_le32(sectors);
219 bs
[all...]
/u-boot/include/
H A Duniverse.h15 unsigned int bs; /* Base */ member in struct:_SLAVE_IMAGE
/u-boot/cmd/
H A Duniverse.c142 writel(pciAddr , &dev->uregs->lsi[i].bs);
202 debug ("universe: pci slave window[%d] bs=%08x\n", i, readl(&dev->uregs->lsi[i].bs));
239 writel(vmeAddr , &dev->uregs->vsi[i].bs);
287 debug ("universe: vme slave window[%d] bs=%08x\n", i, readl(&dev->uregs->vsi[i].bs));
/u-boot/arch/mips/mach-mtmips/mt7621/
H A Dinit.c90 u32 bs, xtal_sel; local
92 bs = readl(sysc + SYSCTL_SYSCFG0_REG);
93 xtal_sel = FIELD_GET(XTAL_MODE_SEL_M, bs);
/u-boot/drivers/net/phy/
H A Ddp83867.c257 int ret, bs; local
302 bs = phy_read_mmd(phydev, DP83867_DEVADDR, DP83867_STRAP_STS1);
303 if (bs & DP83867_STRAP_STS1_RESERVED)

Completed in 134 milliseconds

12