/u-boot/arch/nios2/include/asm/ |
H A D | dma-mapping.h | 11 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) argument 13 unsigned long addr = (unsigned long)malloc_cache_aligned(len); 18 invalidate_dcache_range(addr, addr + len); 22 return map_physmem(addr, len, MAP_NOCACHE);
|
/u-boot/net/ |
H A D | cdp.h | 19 void cdp_receive(const uchar *pkt, unsigned len);
|
H A D | link_local.h | 18 void link_local_receive_arp(struct arp_hdr *arp, int len);
|
/u-boot/include/ |
H A D | rc4.h | 15 * @len: Length of buffer in bytes 18 void rc4_encode(unsigned char *buf, unsigned int len, const unsigned char key[16]);
|
H A D | tables_csum.h | 17 * @len: configuration table size 20 u8 table_compute_checksum(const void *v, const int len);
|
/u-boot/include/linux/soc/ti/ |
H A D | k3-sec-proxy.h | 15 * @len: Length of data in the Buffer 21 size_t len; member in struct:k3_sec_proxy_msg
|
/u-boot/include/linux/ |
H A D | dma-mapping.h | 26 * @len: length of the buffer 29 static inline dma_addr_t dma_map_single(void *vaddr, size_t len, argument 34 len = ALIGN(len, ARCH_DMA_MINALIGN); 37 invalidate_dcache_range(addr, addr + len); 39 flush_dcache_range(addr, addr + len); 52 * @len: length of the buffer 55 static inline void dma_unmap_single(dma_addr_t addr, size_t len, argument 58 len = ALIGN(len, ARCH_DMA_MINALIG [all...] |
/u-boot/board/emulation/common/ |
H A D | qemu_dfu.c | 19 int len, partnum = 0; local 22 len = strlen(buf); 25 len += snprintf(buf + len, DFU_ALT_BUF_LEN - len, "&"); 26 len += snprintf(buf + len, DFU_ALT_BUF_LEN - len, 32 len += snprintf(buf + len, DFU_ALT_BUF_LE [all...] |
/u-boot/board/st/common/ |
H A D | stm32mp_dfu.c | 24 int p, len, devnum; local 43 len = strlen(buf); 46 len += snprintf(buf + len, 47 DFU_ALT_BUF_LEN - len, "&"); 48 len += snprintf(buf + len, DFU_ALT_BUF_LEN - len, 52 len += snprintf(buf + len, DFU_ALT_BUF_LE 77 int len, partnum = 0; local [all...] |
/u-boot/drivers/usb/gadget/ |
H A D | config.c | 44 unsigned len = (*src)->bLength; local 46 if (len > buflen) 48 memcpy(dest, *src, len); 49 buflen -= len; 50 dest += len; 84 int len; local 93 len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (u8 *)buf, 95 if (len < 0) 96 return len; 97 len [all...] |
H A D | usbstring.c | 36 int len; local 58 len = min((size_t) 126, strlen(s->s)); 59 memset(buf + 2, 0, 2 * len); /* zero all the bytes */ 60 len = utf8_to_utf16le(s->s, (__le16 *)&buf[2], len); 61 if (len < 0) 63 buf[0] = (len + 1) * 2;
|
/u-boot/arch/xtensa/lib/ |
H A D | relocate.c | 12 size_t len = (size_t)__bss_end - (size_t)__bss_start; local 14 memset((void *)__bss_start, 0x00, len);
|
/u-boot/include/net/ |
H A D | ncsi.h | 12 unsigned int len);
|
/u-boot/test/lib/ |
H A D | string.c | 51 * @len: length of region changed by memset() 55 int offset, int len) 60 if (i < offset || i >= offset + len) { 80 int offset, len; local 84 for (len = 1; len < BUFLEN - SWEEP; ++len) { 86 ptr = memset(buf + offset, MASK, len); 88 if (test_memset(uts, buf, MASK, offset, len)) { 90 __func__, offset, len); 54 test_memset(struct unit_test_state *uts, u8 buf[], u8 mask, int offset, int len) argument 111 test_memmove(struct unit_test_state *uts, u8 buf[], u8 mask, int offset1, int offset2, int len) argument 138 int offset1, offset2, len; local 175 int offset1, offset2, len; local 203 size_t len; local [all...] |
/u-boot/scripts/dtc/libfdt/ |
H A D | fdt_wip.c | 16 int len) 26 if ((unsigned)proplen < (len + idx)) 29 memcpy((char *)propval + idx, val, len); 34 const void *val, int len) 43 if (proplen != len) 48 val, len); 51 static void fdt_nop_region_(void *start, int len) argument 55 for (p = start; (char *)p < ((char *)start + len); p++) 62 int len; local 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); 13 fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, const char *name, int namelen, uint32_t idx, const void *val, int len) argument 33 fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, const void *val, int len) argument [all...] |
/u-boot/include/u-boot/ |
H A D | md5.h | 23 void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len); 27 * Calculate and store in 'output' the MD5 digest of 'len' bytes at 30 void md5 (unsigned char *input, int len, unsigned char output[16]); 33 * Calculate and store in 'output' the MD5 digest of 'len' bytes at 'input'. 37 void md5_wd(const unsigned char *input, unsigned int len,
|
H A D | crc.h | 23 * @len: Length of buffer in bytes 26 unsigned int crc8(unsigned int crc_start, const unsigned char *vptr, int len); 29 uint16_t crc16(uint16_t crc, const unsigned char *buffer, size_t len); 32 uint16_t crc16_ccitt(uint16_t crc_start, const unsigned char *s, int len); 38 * @len: input buffer length 42 void crc16_ccitt_wd_buf(const uint8_t *in, uint len, 53 * @len: Number of bytes to checksum 56 uint32_t crc32(uint32_t crc, const unsigned char *buf, uint len); 67 * @len: Number of bytes to checksum 71 uint32_t crc32_wd(uint32_t crc, const unsigned char *buf, uint len, [all...] |
/u-boot/arch/arm/mach-socfpga/ |
H A D | system_manager_soc64.c | 68 u32 len, i; local 74 len = (len_mux > len_ioctl) ? len_mux : len_ioctl; 75 len = (len > len_fpga) ? len : len_fpga; 76 len = (len > len_delay) ? len : len_delay; 78 u32 handoff_table[len]; 81 len [all...] |
/u-boot/scripts/dtc/ |
H A D | data.c | 51 while ((d.len + xlen) > newsize) 59 struct data data_copy_mem(const char *mem, int len) argument 63 d = data_grow_for(empty_data, len); 65 d.len = len; 66 memcpy(d.val, mem, len); 71 struct data data_copy_escape_string(const char *s, int len) argument 77 d = data_grow_for(empty_data, len + 1); 80 while (i < len) { 86 q[d.len 120 data_append_data(struct data d, const void *p, int len) argument 128 data_insert_at_marker(struct data d, struct marker *m, const void *p, int len) argument 225 data_append_zeroes(struct data d, int len) argument 256 int len = d.len; local [all...] |
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_devicepath_util.c | 58 efi_uintn_t len; local 77 len = dpu->get_device_path_size(*dp); 78 if (len != length + 4) { 80 (unsigned int)len, length); 98 efi_uintn_t len; local 107 len = dpu->get_device_path_size(NULL); 108 if (len) { 110 (unsigned int)len); 125 len = dpu->get_device_path_size(dp1); 126 if (len ! [all...] |
/u-boot/lib/efi_loader/ |
H A D | efi_load_options.c | 57 efi_uintn_t len; local 59 len = sizeof(u32); 60 if (*size < len + 2 * sizeof(u16)) 63 data += len; 64 *size -= len; 66 len = sizeof(u16); 68 data += len; 69 *size -= len; 72 len = u16_strnlen(lo->label, *size / sizeof(u16) - 1); 73 if (lo->label[len]) [all...] |
/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | portals.c | 32 int len; local 35 range = fdt_getprop_w(blob, off, "ranges", &len); 42 if (len == 16) { 50 fdt_setprop_inplace(blob, off, "ranges", range, len); 53 name = fdt_get_name(blob, off, &len); 54 p = memchr(name, '@', len); 57 len = p - name; 61 if (container && (memcmp(container, name, len))) { 67 memcpy(&buf, name, len); 68 len [all...] |
/u-boot/tools/ |
H A D | ncb.c | 9 int s, len, o, port = 6666; local 20 len = 4; 21 setsockopt (3, SOL_SOCKET, SO_REUSEADDR, &o, len); 30 len = recvfrom (s, buf, sizeof buf, 0, (struct sockaddr *) &addr, &addr_len); 31 if (len < 0) 33 if (write (1, buf, len) != len)
|
/u-boot/lib/zlib/ |
H A D | inftrees.c | 36 unsigned len; /* a code's length in bits */ local 103 for (len = 0; len <= MAXBITS; len++) 104 count[len] = 0; 128 for (len = 1; len <= MAXBITS; len++) { 130 left -= count[len]; 138 for (len [all...] |
/u-boot/board/amlogic/p201/ |
H A D | p201.c | 26 ssize_t len; local 29 len = meson_sm_read_efuse(EFUSE_MAC_OFFSET, 31 mac_addr[len] = '\0'; 32 if (len == EFUSE_MAC_SIZE && is_valid_ethaddr(mac_addr)) 37 len = meson_sm_read_efuse(EFUSE_SN_OFFSET, serial, 39 serial[len] = '\0'; 40 if (len == EFUSE_SN_SIZE)
|