| /u-boot/common/ |
| A D | malloc_simple.c | 19 static void *alloc_simple(size_t bytes, int align) in alloc_simple() argument 25 new_ptr = addr + bytes - gd->malloc_base; in alloc_simple() 26 log_debug("size=%zx, ptr=%lx, limit=%lx: ", bytes, new_ptr, in alloc_simple() 33 ptr = map_sysmem(addr, bytes); in alloc_simple() 39 void *malloc_simple(size_t bytes) in malloc_simple() argument 43 ptr = alloc_simple(bytes, 1); in malloc_simple() 52 void *memalign_simple(size_t align, size_t bytes) in memalign_simple() argument 56 ptr = alloc_simple(bytes, align); in memalign_simple()
|
| /u-boot/doc/usage/ |
| 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 | booti.rst | 52 27530 bytes read in 7 ms (3.7 MiB/s) 54 26990448 bytes read in 1175 ms (21.9 MiB/s) 56 27421776 bytes read in 1209 ms (21.6 MiB/s) 80 27530 bytes read in 6 ms (4.4 MiB/s) 82 9267730 bytes read in 402 ms (22 MiB/s) 84 27421776 bytes read in 1181 ms (22.1 MiB/s)
|
| /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 = simple_strtoul(argv[3], NULL, 16); in do_avb_read_part() 77 size_t bytes, bytes_read = 0; in do_avb_read_part_hex() local 90 bytes = simple_strtoul(argv[3], NULL, 16); 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 = simple_strtoul(argv[3], NULL, 16); in do_avb_write_part() 141 printf("Wrote %zu bytes\n", bytes); in do_avb_write_part() 355 size_t bytes; in do_avb_read_pvalue() local [all …]
|
| A D | io.c | 29 ulong addr, length, bytes; in do_io_iod() local 65 bytes = size * length; in do_io_iod() 68 for (; bytes > 0; addr += todo) { in do_io_iod() 72 todo = min(bytes, (ulong)DISP_LINE_LEN); in do_io_iod() 83 bytes -= todo; in do_io_iod()
|
| A D | mem.c | 68 ulong addr, length, bytes; in do_mem_md() local 102 bytes = size * length; in do_mem_md() 103 buf = map_sysmem(addr, bytes); in do_mem_md() 107 addr += bytes; in do_mem_md() 135 ulong bytes; in do_mem_mw() local 164 bytes = size * count; in do_mem_mw() 269 bytes = size * count; in do_mem_cmp() 459 bytes = size * length; in do_mem_search() 465 offset < bytes && offset <= bytes - search_len && count < limit; in do_mem_search() 552 bytes = size * length; in do_mem_loop() [all …]
|
| /u-boot/arch/arm/mach-imx/ |
| A D | hab.c | 234 if (!(event_data && bytes > 0)) in display_event() 237 for (i = 0; i < bytes; i++) { in display_event() 275 &bytes) == HAB_SUCCESS) { in get_hab_status() 280 display_event(event_data, bytes); in get_hab_status() 282 bytes = sizeof(event_data); in get_hab_status() 462 (csf_size >= bytes)); in chk_bounds() 485 if (bytes != 0) in csf_is_valid() 486 end = start + bytes - 1; in csf_is_valid() 565 size_t bytes; in imx_hab_authenticate_image() local 616 bytes = image_size; in imx_hab_authenticate_image() [all …]
|
| /u-boot/disk/ |
| A D | part_mac.c | 111 ulong bytes; in part_print_mac() local 132 bytes = mpart->block_count; in part_print_mac() 133 bytes /= (1024 / ddesc->blk_size); /* kB; assumes blk_size == 512 */ in part_print_mac() 134 if (bytes >= 1024) { in part_print_mac() 135 bytes >>= 10; in part_print_mac() 138 if (bytes >= 1024) { in part_print_mac() 139 bytes >>= 10; in part_print_mac() 148 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/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/drivers/spi/ |
| 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 | tegra210_qspi.c | 279 int bytes; in tegra210_qspi_xfer() local 282 bytes = (num_bytes > 4) ? 4 : num_bytes; in tegra210_qspi_xfer() 285 memcpy((void *)&tmpdout, (void *)dout, bytes); in tegra210_qspi_xfer() 286 dout += bytes; in tegra210_qspi_xfer() 287 num_bytes -= bytes; in tegra210_qspi_xfer() 300 (bytes * 8 - 1) << QSPI_CMD1_BITLEN_SHIFT); in tegra210_qspi_xfer() 352 memcpy(din, &tmpdin, bytes); in tegra210_qspi_xfer() 353 din += bytes; in tegra210_qspi_xfer() 354 num_bytes -= bytes; in tegra210_qspi_xfer()
|
| A D | tegra114_spi.c | 257 int bytes; in tegra114_spi_xfer() local 261 bytes = (num_bytes > 4) ? 4 : num_bytes; in tegra114_spi_xfer() 264 for (i = 0; i < bytes; ++i) in tegra114_spi_xfer() 266 dout += bytes; in tegra114_spi_xfer() 269 num_bytes -= bytes; in tegra114_spi_xfer() 276 (bytes * 8 - 1) << SPI_CMD1_BIT_LEN_SHIFT); in tegra114_spi_xfer() 319 for (i = bytes - 1; i >= 0; --i) { in tegra114_spi_xfer() 323 din += bytes; in tegra114_spi_xfer()
|
| A D | tegra20_sflash.c | 242 int bytes; in tegra20_sflash_xfer() local 247 bytes = (num_bytes > 4) ? 4 : num_bytes; in tegra20_sflash_xfer() 250 for (i = 0; i < bytes; ++i) in tegra20_sflash_xfer() 254 num_bytes -= bytes; in tegra20_sflash_xfer() 256 dout += bytes; in tegra20_sflash_xfer() 259 bytes * 8 - 1); in tegra20_sflash_xfer() 286 for (i = bytes - 1; i >= 0; --i) { in tegra20_sflash_xfer() 290 din += bytes; in tegra20_sflash_xfer()
|
| /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()
|
| A D | string.c | 685 static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes) in check_bytes8() argument 687 while (bytes) { in check_bytes8() 691 bytes--; in check_bytes8() 704 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() argument 710 if (bytes <= 16) in memchr_inv() 711 return check_bytes8(start, value, bytes); in memchr_inv() 727 bytes -= prefix; in memchr_inv() 730 words = bytes / 8; in memchr_inv() 739 return check_bytes8(start, value, bytes % 8); in memchr_inv()
|
| /u-boot/tools/dtoc/ |
| A D | fdt.py | 67 data = bytes(data) 116 self.bytes = bytes(data) 203 self.bytes = struct.pack('>I', val); 204 self.value = self.bytes 208 def SetData(self, bytes): argument 214 self.bytes = bytes 215 self.type, self.value = BytesToValue(bytes) 238 len(self.bytes)) 463 val = bytes(val, 'utf-8') 570 fdt._fdt_obj = libfdt.Fdt(bytes(data)) [all …]
|
| /u-boot/include/ |
| A D | tables_csum.h | 11 u8 *bytes = v; in table_compute_checksum() local 16 checksum -= bytes[i]; in table_compute_checksum()
|
| /u-boot/doc/device-tree-bindings/i2c/ |
| A D | i2c.txt | 5 device). The offset can be up to 4 bytes long, but is normally 1 byte, 13 - u-boot,i2c-offset-len - length of chip offset in bytes. If omitted the 15 - u-boot,i2c-transaction-bytes - the length of single I2C transaction on 35 u-boot,i2c-transaction-bytes = <3>;
|
| /u-boot/doc/board/AndesTech/ |
| A D | ax25-ae350.rst | 153 328787 bytes read in 324 ms (990.2 KiB/s) 156 SF: 331776 bytes @ 0x0 Erased: OK 160 SF: 328787 bytes @ 0x0 Written: OK 235 17901268 bytes read in 4642 ms (3.7 MiB/s) 237 1954 bytes read in 1 ms (1.9 MiB/s) 411 6455 bytes read in 31 ms (203.1 KiB/s) 412 20421684 bytes read in 8647 ms (2.3 MiB/s) 445 log_buf_len total cpu_extra contributions: 12288 bytes 446 log_buf_len min size: 16384 bytes 447 log_buf_len: 32768 bytes [all …]
|
| /u-boot/drivers/block/ |
| A D | blkcache.c | 96 lbaint_t bytes; in blkcache_fill() local 106 bytes = blksz * blkcnt; in blkcache_fill() 114 if (node->blkcnt * node->blksz < bytes) { in blkcache_fill() 126 node->cache = malloc(bytes); in blkcache_fill() 141 memcpy(node->cache, buffer, bytes); in blkcache_fill()
|
| /u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
| A D | README.qspi | 27 SF: 65536 bytes @ 0x0 Erased: OK 29 SF: 164 bytes @ 0x0 Written: OK 38 SF: 589824 bytes @ 0x10000 Erased: OK 40 SF: 580966 bytes @ 0x10000 Written: OK
|