| /u-boot/common/ |
| A D | malloc_simple.c | 20 static void *alloc_simple(size_t bytes, int align) in alloc_simple() argument 26 new_ptr = addr + bytes - gd->malloc_base; in alloc_simple() 27 log_debug("size=%lx, ptr=%lx, limit=%lx: ", (ulong)bytes, new_ptr, in alloc_simple() 34 ptr = map_sysmem(addr, bytes); in alloc_simple() 40 void *malloc_simple(size_t bytes) in malloc_simple() argument 44 ptr = alloc_simple(bytes, 1); in malloc_simple() 49 VALGRIND_MALLOCLIKE_BLOCK(ptr, bytes, 0, false); in malloc_simple() 54 void *memalign_simple(size_t align, size_t bytes) in memalign_simple() argument 58 ptr = alloc_simple(bytes, align); in memalign_simple() 62 VALGRIND_MALLOCLIKE_BLOCK(ptr, bytes, 0, false); in memalign_simple()
|
| A D | dlmalloc.c | 1288 Void_t* mALLOc(size_t bytes) in mALLOc() argument 1290 Void_t* mALLOc(bytes) size_t bytes; in mALLOc() 1716 Void_t* rEALLOc(oldmem, bytes) Void_t* oldmem; size_t bytes; in rEALLOc() 1741 if (!bytes) { 1763 nb = request2size(bytes); 1775 newmem = mALLOc(bytes); 1886 newmem = mALLOc (bytes); 1959 Void_t* mEMALIGn(alignment, bytes) size_t alignment; size_t bytes; in mEMALIGn() 1990 nb = request2size(bytes); 2115 Void_t* vALLOc(bytes) size_t bytes; in vALLOc() [all …]
|
| /u-boot/doc/usage/cmd/ |
| A D | load.rst | 11 load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]] 18 The number of transferred bytes is saved in the environment variable filesize. 37 bytes 38 maximum number of bytes to load 41 number of bytes to skip 43 addr, bytes, pos are hexadecimal numbers. 51 149280 bytes read in 11 ms (12.9 MiB/s) 54 149280 bytes read in 9 ms (15.8 MiB/s) 57 149024 bytes read in 10 ms (14.2 MiB/s) 60 16 bytes read in 1 ms (15.6 KiB/s) [all …]
|
| A D | fatload.rst | 11 fatload <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]] 19 The number of transferred bytes is saved in the environment variable filesize. 38 bytes 39 maximum number of bytes to load 42 number of bytes to skip 44 addr, bytes, pos are hexadecimal numbers. 57 149280 bytes read in 11 ms (12.9 MiB/s) 60 149280 bytes read in 9 ms (15.8 MiB/s) 63 149024 bytes read in 10 ms (14.2 MiB/s) 66 16 bytes read in 1 ms (15.6 KiB/s) [all …]
|
| A D | cp.rst | 24 The number bytes in one chunk is defined by the suffix defaulting to 4 bytes: 30 .w 2 bytes 31 .l 4 bytes 32 .q 8 bytes 33 <none> 4 bytes 62 - block size: 0x20000 bytes 63 - min I/O: 0x1 bytes
|
| A D | rng.rst | 17 prints the random bytes read on the console. A maximum of 64 bytes can 21 The RNG device from which the random bytes are to be 25 Number of random bytes to be read and displayed on the
|
| /u-boot/arch/arm/mach-imx/ |
| A D | hab.c | 202 size_t bytes) in hab_rvt_check_target() argument 435 for (i = 0; i < bytes; i++) { in display_event() 467 &bytes) == HAB_SUCCESS) { in get_hab_status() 474 bytes = sizeof(event_data); in get_hab_status() 744 (csf_size >= bytes)); in chk_bounds() 767 if (bytes != 0) in csf_is_valid() 768 end = start + bytes - 1; in csf_is_valid() 889 size_t bytes; in imx_hab_authenticate_image() local 913 bytes = image_size; in imx_hab_authenticate_image() 983 (size_t *)&bytes, NULL); in imx_hab_authenticate_image() [all …]
|
| /u-boot/doc/SPI/ |
| A D | README.ti_qspi_dra_test | 15 55872 bytes read in 8 ms (6.7 MiB/s) 18 248600 bytes read in 19 ms (12.5 MiB/s) 26 SF: 65536 bytes @ 0x0 Erased: OK 28 SF: 65536 bytes @ 0x20000 Erased: OK 30 SF: 65536 bytes @ 0x30000 Erased: OK 32 SF: 65536 bytes @ 0x40000 Erased: OK 34 SF: 65536 bytes @ 0x50000 Erased: OK 36 SF: 65536 bytes @ 0x60000 Erased: OK 38 SF: 65536 bytes @ 0x0 Written: OK 40 SF: 393216 bytes @ 0x20000 Written: OK
|
| /u-boot/cmd/ |
| A D | avb.c | 44 size_t bytes, bytes_read = 0; in do_avb_read_part() local 57 bytes = hextoul(argv[3], NULL); in do_avb_read_part() 77 size_t bytes, bytes_read = 0; in do_avb_read_part_hex() local 90 bytes = hextoul(argv[3], NULL); in do_avb_read_part_hex() 92 buffer = malloc(bytes); in do_avb_read_part_hex() 97 memset(buffer, 0, bytes); in do_avb_read_part_hex() 123 size_t bytes; in do_avb_write_part() local 136 bytes = hextoul(argv[3], NULL); in do_avb_write_part() 355 size_t bytes; in do_avb_read_pvalue() local 369 bytes = dectoul(argv[2], &endp); in do_avb_read_pvalue() [all …]
|
| A D | io.c | 30 ulong addr, length, bytes; in do_io_iod() local 66 bytes = size * length; in do_io_iod() 69 for (; bytes > 0; addr += todo) { in do_io_iod() 73 todo = min(bytes, (ulong)DISP_LINE_LEN); in do_io_iod() 84 bytes -= todo; in do_io_iod()
|
| /u-boot/drivers/spi/ |
| A D | iproc_qspi.c | 222 while (bytes) { in bspi_read_via_raf() 232 bytes -= 4; in bspi_read_via_raf() 241 bytes--; in bspi_read_via_raf() 261 while (bytes > 0) { in bspi_read() 275 bytes -= trans; in bspi_read() 360 while (bytes) { in mspi_exec() 370 bytes -= chunk; in mspi_exec() 383 bytes -= chunk; in mspi_exec() 440 uint bytes; in mspi_xfer() local 447 bytes = bitlen / 8; in mspi_xfer() [all …]
|
| A D | ath79_spi.c | 66 u32 bytes = bitlen / 8; in ath79_spi_xfer() local 75 bytes++; in ath79_spi_xfer() 78 while (bytes > 0) { in ath79_spi_xfer() 79 bytes--; in ath79_spi_xfer() 84 if (restbits && !bytes) { in ath79_spi_xfer() 119 if (!bytes) in ath79_spi_xfer() 124 if (restbits && !bytes) in ath79_spi_xfer()
|
| A D | spi-qup.c | 363 unsigned int read_bytes = bytes; in __qup_spi_blsp_spi_read() 376 writel(bytes, priv->base + QUP_MX_INPUT_CNT); in __qup_spi_blsp_spi_read() 421 while (bytes) { in qup_spi_blsp_spi_read() 422 length = (bytes < MAX_COUNT_SIZE) ? bytes : MAX_COUNT_SIZE; in qup_spi_blsp_spi_read() 429 bytes -= length; in qup_spi_blsp_spi_read() 444 unsigned int write_len = bytes; in __qup_blsp_spi_write() 445 unsigned int read_len = bytes; in __qup_blsp_spi_write() 455 writel(bytes, priv->base + QUP_MX_INPUT_CNT); in __qup_blsp_spi_write() 534 while (bytes) { in qup_spi_blsp_spi_write() 535 length = (bytes < MAX_COUNT_SIZE) ? bytes : MAX_COUNT_SIZE; in qup_spi_blsp_spi_write() [all …]
|
| A D | npcm_fiu_spi.c | 201 int bytes = bitlen / 8; in npcm_fiu_spi_xfer() local 208 while (bytes) { in npcm_fiu_spi_xfer() 209 len = (bytes > CHUNK_SIZE) ? CHUNK_SIZE : bytes; in npcm_fiu_spi_xfer() 221 bytes -= len; in npcm_fiu_spi_xfer() 319 u32 bytes, len, addr; in npcm_fiu_exec_op() local 325 bytes = op->data.nbytes; in npcm_fiu_exec_op() 327 if (!bytes) { in npcm_fiu_exec_op() 346 while (bytes) { in npcm_fiu_exec_op() 347 len = (bytes > CHUNK_SIZE) ? CHUNK_SIZE : bytes; in npcm_fiu_exec_op() 356 bytes -= len; in npcm_fiu_exec_op()
|
| /u-boot/board/schneider/rzn1-snarc/ |
| A D | spkgimage.cfg | 10 # b[42:41] ECC Block size: 0=256 bytes, 1=512 bytes, 2=1024 bytes 19 # b[63:56] ECC bytes per block
|
| /u-boot/disk/ |
| A D | part_mac.c | 109 ulong bytes; in part_print_mac() local 130 bytes = mpart->block_count; in part_print_mac() 131 bytes /= (1024 / ddesc->blk_size); /* kB; assumes blk_size == 512 */ in part_print_mac() 132 if (bytes >= 1024) { in part_print_mac() 133 bytes >>= 10; in part_print_mac() 136 if (bytes >= 1024) { in part_print_mac() 137 bytes >>= 10; in part_print_mac() 146 bytes, c in part_print_mac()
|
| /u-boot/lib/libavb/ |
| A D | avb_util.c | 40 uint8_t bytes[4]; in avb_htobe32() member 42 ret.bytes[0] = (in >> 24) & 0xff; in avb_htobe32() 43 ret.bytes[1] = (in >> 16) & 0xff; in avb_htobe32() 44 ret.bytes[2] = (in >> 8) & 0xff; in avb_htobe32() 45 ret.bytes[3] = in & 0xff; in avb_htobe32() 53 uint8_t bytes[8]; in avb_htobe64() member 55 ret.bytes[0] = (in >> 56) & 0xff; in avb_htobe64() 56 ret.bytes[1] = (in >> 48) & 0xff; in avb_htobe64() 57 ret.bytes[2] = (in >> 40) & 0xff; in avb_htobe64() 61 ret.bytes[6] = (in >> 8) & 0xff; in avb_htobe64() [all …]
|
| /u-boot/arch/arm/mach-zynqmp/ |
| A D | ecc_spl_init.c | 64 u64 bytes; in ecc_dram_bank_init() local 72 bytes = len; in ecc_dram_bank_init() 75 while (bytes > 0) { in ecc_dram_bank_init() 76 size = bytes > ZDMA_TRANSFER_MAX_LEN ? in ecc_dram_bank_init() 77 ZDMA_TRANSFER_MAX_LEN : (u32)bytes; in ecc_dram_bank_init() 150 bytes -= size; in ecc_dram_bank_init()
|
| /u-boot/doc/android/ |
| A D | fastboot-protocol.rst | 15 * Max packet size must be 64 bytes for full-speed and 512 bytes for 25 packet no greater than 64 bytes. 27 2. Client response with a single packet no greater than 64 bytes. 28 The first four bytes of the response are "OKAY", "FAIL", "DATA", 29 or "INFO". Additional bytes may contain an (ascii) informative 32 a. INFO -> the remaining 60 bytes are an informative message 36 b. FAIL -> the requested command failed. The remaining 60 bytes 43 A DATA response packet will be 12 bytes long, in the form of 53 4. Client responds with a single packet no greater than 64 bytes. 57 a. INFO -> display the remaining 60 bytes and return to #4 [all …]
|
| /u-boot/drivers/mtd/ubi/ |
| A D | upd.c | 83 long long bytes) in clear_update_marker() argument 96 vol->used_bytes = bytes; in clear_update_marker() 97 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size, in clear_update_marker() 123 long long bytes) in ubi_start_update() argument 146 if (bytes == 0) { in ubi_start_update() 160 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update() 162 vol->upd_bytes = bytes; in ubi_start_update() 182 vol->vol_id, req->lnum, req->bytes); in ubi_start_leb_change() 183 if (req->bytes == 0) in ubi_start_leb_change() 186 vol->upd_bytes = req->bytes; in ubi_start_leb_change() [all …]
|
| /u-boot/tools/dtoc/ |
| A D | fdt.py | 70 data = bytes(data) 121 self.bytes = bytes(data) 221 self.bytes = struct.pack('>I', val); 222 self.value = self.bytes 226 def SetData(self, bytes): argument 232 self.bytes = bytes 233 self.type, self.value = BytesToValue(bytes) 261 len(self.bytes)) 503 val = bytes(val, 'utf-8') 672 fdt._fdt_obj = libfdt.Fdt(bytes(data)) [all …]
|
| A D | fdt_util.py | 161 if not prop.bytes: 184 if not prop.bytes: 195 if prop.bytes: 261 if len(prop.bytes) != size: 263 (node.name, propname, len(prop.bytes), size)) 264 return prop.bytes 301 value = prop.bytes
|
| /u-boot/drivers/i2c/ |
| A D | qup_i2c.c | 262 bool last, u8 *buffer, unsigned int bytes) in qup_i2c_blsp_read() argument 272 bytes + READ_RX_TAGS_LEN); in qup_i2c_blsp_read() 277 bytes << 24); in qup_i2c_blsp_read() 280 QUP_TAG_V2_DATARD << 16 | bytes << 24); in qup_i2c_blsp_read() 298 if (bytes > 1) in qup_i2c_blsp_read() 301 for (i = 2; i < bytes; i += 4) { in qup_i2c_blsp_read() 305 if ((i + j) == bytes) in qup_i2c_blsp_read() 318 unsigned int bytes) in qup_i2c_blsp_write() argument 345 bytes << 24); in qup_i2c_blsp_write() 348 QUP_TAG_V2_DATAWR << 16 | bytes << 24); in qup_i2c_blsp_write() [all …]
|
| /u-boot/lib/ |
| A D | tables_csum.c | 11 u8 *bytes = v; in table_compute_checksum() local 16 checksum -= bytes[i]; in table_compute_checksum()
|
| /u-boot/doc/board/AndesTech/ |
| A D | ae350.rst | 142 328787 bytes read in 324 ms (990.2 KiB/s) 145 SF: 331776 bytes @ 0x0 Erased: OK 149 SF: 328787 bytes @ 0x0 Written: OK 224 17901268 bytes read in 4642 ms (3.7 MiB/s) 226 1954 bytes read in 1 ms (1.9 MiB/s) 400 6455 bytes read in 31 ms (203.1 KiB/s) 401 20421684 bytes read in 8647 ms (2.3 MiB/s) 434 log_buf_len total cpu_extra contributions: 12288 bytes 435 log_buf_len min size: 16384 bytes 436 log_buf_len: 32768 bytes [all …]
|