| /u-boot/board/Synology/ds414/ |
| A D | cmd_syno.c | 35 char *buf, *bufp; in do_syno_populate() local 66 sum += bufp[i]; in do_syno_populate() 67 csum += bufp[i]; in do_syno_populate() 93 for (n = 0; bufp[n] && bufp[n] != ','; n++) in do_syno_populate() 94 csum += bufp[n]; in do_syno_populate() 95 bufp[n] = '\0'; in do_syno_populate() 98 bufp = strstr(bufp + n + 1, SYNO_CHKSUM_TAG); in do_syno_populate() 99 if (!bufp) { in do_syno_populate() 105 for (n = 0; bufp[n] && bufp[n] != ','; n++) in do_syno_populate() 107 bufp[n] = '\0'; in do_syno_populate() [all …]
|
| /u-boot/drivers/net/ |
| A D | bcm-sf2-eth-gmac.c | 102 uint8_t *bufp; in dma_tx_dump() local 134 uint8_t *bufp; in dma_rx_dump() local 166 uint8_t *bufp; in dma_tx_init() local 196 bufp = dma->tx_buf; in dma_tx_init() 201 (unsigned long)bufp + in dma_tx_init() 219 uint8_t *bufp; in dma_rx_init() local 249 bufp = dma->rx_buf; in dma_rx_init() 255 (unsigned long)bufp + in dma_rx_init() 333 memcpy(bufp, packet, len); in gmac_tx_packet() 401 void *bufp, *datap; in gmac_check_rx_done() local [all …]
|
| A D | dnet.c | 139 unsigned int *bufp; in dnet_send() local 144 bufp = (unsigned int *) (((u32)packet) & 0xFFFFFFFC); in dnet_send() 153 writel(*bufp++, &dnet->regs->TX_DATA_FIFO); in dnet_send()
|
| A D | pcnet.c | 379 static int pcnet_recv_common(struct pcnet_priv *lp, unsigned char **bufp) in pcnet_recv_common() argument 418 *bufp = lp->rx_buf[lp->cur_rx]; in pcnet_recv_common() 419 invalidate_dcache_range((unsigned long)*bufp, in pcnet_recv_common() 420 (unsigned long)*bufp + pkt_len); in pcnet_recv_common()
|
| /u-boot/drivers/usb/host/ |
| A D | sl811-hcd.c | 534 __u8 *bufp = data_buf; in sl811_rh_submit_urb() local 563 *(__u16 *)bufp = cpu_to_le16(1); in sl811_rh_submit_urb() 567 *(__u16 *)bufp = cpu_to_le16(0); in sl811_rh_submit_urb() 571 *(__u16 *)bufp = cpu_to_le16(0); in sl811_rh_submit_urb() 667 bufp = sl811_rh_dev_des; in sl811_rh_submit_urb() 672 bufp = sl811_rh_config_des; in sl811_rh_submit_urb() 678 bufp = data; in sl811_rh_submit_urb() 689 bufp = sl811_rh_hub_des; in sl811_rh_submit_urb() 693 bufp[0] = 0x01; in sl811_rh_submit_urb() 705 if (data != bufp) in sl811_rh_submit_urb() [all …]
|
| /u-boot/common/ |
| A D | xyzModem.c | 46 unsigned char pkt[1024], *bufp; member 337 xyz.bufp = xyz.pkt; in xyzModem_get_hdr() 459 while (*xyz.bufp++); in xyzModem_stream_open() 461 parse_num ((char *) xyz.bufp, &xyz.file_length, NULL, " "); in xyzModem_stream_open() 518 if ((xyz.bufp[xyz.len - 1] == EOF) && in xyzModem_stream_read() 519 (xyz.bufp[xyz.len - 2] == EOF) && in xyzModem_stream_read() 520 (xyz.bufp[xyz.len - 3] == EOF)) in xyzModem_stream_read() 523 && (xyz.bufp[xyz.len - 1] == EOF)) in xyzModem_stream_read() 595 memcpy (buf, xyz.bufp, len); in xyzModem_stream_read() 600 xyz.bufp += len; in xyzModem_stream_read()
|
| /u-boot/include/ |
| A D | binman.h | 35 int binman_entry_map(ofnode parent, const char *name, void **bufp, int *sizep);
|
| A D | os.h | 382 int os_read_file(const char *name, void **bufp, int *sizep);
|
| A D | efi_variable.h | 158 efi_status_t __maybe_unused efi_var_collect(struct efi_var_file **bufp, loff_t *lenp,
|
| /u-boot/lib/ |
| A D | binman.c | 87 int binman_entry_map(ofnode parent, const char *name, void **bufp, int *sizep) in binman_entry_map() argument 99 *bufp = map_sysmem(entry.image_pos + binman->rom_offset, entry.size); in binman_entry_map()
|
| /u-boot/lib/efi_loader/ |
| A D | efi_var_file.c | 49 efi_status_t __maybe_unused efi_var_collect(struct efi_var_file **bufp, loff_t *lenp, in efi_var_collect() argument 57 *bufp = NULL; /* Avoid double free() */ in efi_var_collect() 107 *bufp = buf; in efi_var_collect()
|
| /u-boot/drivers/usb/gadget/ |
| A D | designware_udc.c | 186 static int usbgetpckfromfifo(int epNum, u8 *bufp, u32 len) in usbgetpckfromfifo() argument 201 if ((int)bufp & 0x3) in usbgetpckfromfifo() 204 wrdp = (u32 *)bufp; in usbgetpckfromfifo() 220 if ((int)bufp & 0x3) in usbgetpckfromfifo() 221 memcpy(bufp, tmp, len); in usbgetpckfromfifo() 226 static void usbputpcktofifo(int epNum, u8 *bufp, u32 len) in usbputpcktofifo() argument 235 wrdp = (u32 *)bufp; in usbputpcktofifo()
|
| /u-boot/cmd/ |
| A D | nvedit_efi.c | 294 static int append_value(char **bufp, size_t *sizep, char *data) in append_value() argument 380 new_buf = realloc(*bufp, *sizep + len); in append_value() 385 *bufp = new_buf; in append_value()
|
| /u-boot/arch/sandbox/cpu/ |
| A D | os.c | 136 int os_read_file(const char *fname, void **bufp, int *sizep) in os_read_file() argument 156 *bufp = malloc(size); in os_read_file() 157 if (!*bufp) { in os_read_file() 162 if (os_read(fd, *bufp, size) != size) { in os_read_file()
|
| /u-boot/tools/ |
| A D | zynqmpbif.c | 208 char *buf, *bufp; in read_full_file() local 226 bufp = buf; in read_full_file() 228 r = read(fd, bufp, sbuf.st_size - len); in read_full_file() 232 bufp += r; in read_full_file()
|