Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 15 of 15) sorted by relevance

/openbmc/u-boot/board/Synology/ds414/
H A Dcmd_syno.c32 char *buf, *bufp; in do_syno_populate() local
62 for (i = 0, bufp = buf + n * 7; i < ETH_ALEN; i++) { in do_syno_populate()
63 sum += bufp[i]; in do_syno_populate()
64 csum += bufp[i]; in do_syno_populate()
65 ethaddr[i] = bufp[i]; in do_syno_populate()
69 if (csum != bufp[i]) { /* seventh byte is checksum value */ in do_syno_populate()
89 snp = bufp = buf + 32 + strlen(SYNO_SN_TAG); in do_syno_populate()
90 for (n = 0; bufp[n] && bufp[n] != ','; n++) in do_syno_populate()
91 csum += bufp[n]; in do_syno_populate()
92 bufp[n] = '\0'; in do_syno_populate()
[all …]
/openbmc/u-boot/drivers/net/
H A Dbcm-sf2-eth-gmac.c97 uint8_t *bufp; in dma_tx_dump() local
120 bufp = (uint8_t *)(dma->tx_buf + i * TX_BUF_SIZE_ALIGNED); in dma_tx_dump()
121 printf("buf%d:0x%x; ", i, (uint32_t)bufp); in dma_tx_dump()
129 uint8_t *bufp; in dma_rx_dump() local
151 bufp = dma->rx_buf + i * RX_BUF_SIZE_ALIGNED; in dma_rx_dump()
152 printf("buf%d:0x%x; ", i, (uint32_t)bufp); in dma_rx_dump()
161 uint8_t *bufp; in dma_tx_init() local
175 bufp = dma->tx_buf + i * TX_BUF_SIZE_ALIGNED; in dma_tx_init()
177 memset((void *)bufp, 0, TX_BUF_SIZE_ALIGNED); in dma_tx_init()
185 descp->addrlow = (uint32_t)bufp; in dma_tx_init()
[all …]
H A Ddnet.c137 unsigned int *bufp; in dnet_send() local
142 bufp = (unsigned int *) (((u32)packet) & 0xFFFFFFFC); in dnet_send()
151 writel(*bufp++, &dnet->regs->TX_DATA_FIFO); in dnet_send()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/xl2tpd/xl2tpd/
H A D0001-Fix-build-with-GCC-15.patch22 @@ -74,7 +74,7 @@ static int control_handle_lac_hangup(FILE* resf, char* bufp);
23 static int control_handle_lac_disconnect(FILE* resf, char* bufp);
24 static int control_handle_lac_add_modify(FILE* resf, char* bufp);
25 static int control_handle_lac_remove(FILE* resf, char* bufp);
28 static int control_handle_lns_remove(FILE* resf, char* bufp);
31 @@ -1541,7 +1541,7 @@ static int control_handle_lac_remove(FILE* resf, char* bufp){
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c533 __u8 *bufp = data_buf; in sl811_rh_submit_urb() local
562 *(__u16 *)bufp = cpu_to_le16(1); in sl811_rh_submit_urb()
566 *(__u16 *)bufp = cpu_to_le16(0); in sl811_rh_submit_urb()
570 *(__u16 *)bufp = cpu_to_le16(0); in sl811_rh_submit_urb()
574 *(__u32 *)bufp = cpu_to_le32(0); in sl811_rh_submit_urb()
578 *(__u32 *)bufp = cpu_to_le32(rh_status.wPortChange<<16 | rh_status.wPortStatus); in sl811_rh_submit_urb()
666 bufp = sl811_rh_dev_des; in sl811_rh_submit_urb()
671 bufp = sl811_rh_config_des; in sl811_rh_submit_urb()
677 bufp = data; in sl811_rh_submit_urb()
688 bufp = sl811_rh_hub_des; in sl811_rh_submit_urb()
[all …]
/openbmc/u-boot/common/
H A DxyzModem.c46 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()
/openbmc/u-boot/cmd/
H A Dnvedit_efi.c231 static int append_value(char **bufp, size_t *sizep, char *data) in append_value() argument
314 new_buf = realloc(*bufp, *sizep + len); in append_value()
319 *bufp = new_buf; in append_value()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddesignware_udc.c183 static int usbgetpckfromfifo(int epNum, u8 *bufp, u32 len) in usbgetpckfromfifo() argument
198 if ((int)bufp & 0x3) in usbgetpckfromfifo()
201 wrdp = (u32 *)bufp; in usbgetpckfromfifo()
217 if ((int)bufp & 0x3) in usbgetpckfromfifo()
218 memcpy(bufp, tmp, len); in usbgetpckfromfifo()
223 static void usbputpcktofifo(int epNum, u8 *bufp, u32 len) in usbputpcktofifo() argument
232 wrdp = (u32 *)bufp; in usbputpcktofifo()
/openbmc/qemu/hw/nvme/
H A Ddif.c301 uint8_t *bufp, *end = buf + len; in nvme_dif_check() local
316 for (bufp = buf; bufp < end; bufp += ns->lbasz, mbuf += ns->lbaf.ms) { in nvme_dif_check()
318 status = nvme_dif_prchk(ns, dif, bufp, mbuf, pil, prinfo, apptag, in nvme_dif_check()
330 if (status == NVME_E2E_GUARD_ERROR && slba == 0x0 && bufp == buf) { in nvme_dif_check()
333 if (memcmp(bufp, zeroes, ns->lbasz) == 0) { in nvme_dif_check()
/openbmc/u-boot/include/
H A Dos.h365 int os_read_file(const char *name, void **bufp, int *sizep);
/openbmc/u-boot/arch/sandbox/cpu/
H A Dos.c120 int os_read_file(const char *fname, void **bufp, int *sizep) in os_read_file() argument
140 *bufp = os_malloc(size); in os_read_file()
141 if (!*bufp) { in os_read_file()
146 if (os_read(fd, *bufp, size) != size) { in os_read_file()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/enscript/enscript/
H A D0001-enscript-does-not-build-with-C23-standard.patch11 3565 | val = re_match_2_internal (bufp, string1, size1, string2, size2,
/openbmc/u-boot/tools/
H A Dzynqmpbif.c208 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()
/openbmc/qemu/linux-user/
H A Delfload.c2295 const char *bufp = (const char *)ptr; in dump_write() local
2306 bytes_written = write(fd, bufp, bytes_left); in dump_write()
2314 bufp += bytes_written; in dump_write()
H A Dsyscall.c345 _syscall3(int,sys_syslog,int,type,char*,bufp,int,len)