Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/board/Synology/ds414/
H A Dcmd_syno.c34 char *buf, *bufp; in do_syno_populate() local
64 for (i = 0, bufp = buf + n * 7; i < ETH_ALEN; i++) { in do_syno_populate()
65 sum += bufp[i]; in do_syno_populate()
66 csum += bufp[i]; in do_syno_populate()
67 ethaddr[i] = bufp[i]; in do_syno_populate()
71 if (csum != bufp[i]) { /* seventh byte is checksum value */ in do_syno_populate()
91 snp = bufp = buf + 32 + strlen(SYNO_SN_TAG); in do_syno_populate()
92 for (n = 0; bufp[n] && bufp[n] != ','; n++) in do_syno_populate()
93 csum += bufp[n]; in do_syno_populate()
94 bufp[n] = '\0'; in do_syno_populate()
[all …]
/rk3399_rockchip-uboot/drivers/net/
H A Dbcm-sf2-eth-gmac.c98 uint8_t *bufp; in dma_tx_dump() local
121 bufp = (uint8_t *)(dma->tx_buf + i * TX_BUF_SIZE_ALIGNED); in dma_tx_dump()
122 printf("buf%d:0x%x; ", i, (uint32_t)bufp); in dma_tx_dump()
130 uint8_t *bufp; in dma_rx_dump() local
152 bufp = dma->rx_buf + i * RX_BUF_SIZE_ALIGNED; in dma_rx_dump()
153 printf("buf%d:0x%x; ", i, (uint32_t)bufp); in dma_rx_dump()
162 uint8_t *bufp; in dma_tx_init() local
176 bufp = dma->tx_buf + i * TX_BUF_SIZE_ALIGNED; in dma_tx_init()
178 memset((void *)bufp, 0, TX_BUF_SIZE_ALIGNED); in dma_tx_init()
186 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()
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dsl811-hcd.c534 __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()
575 *(__u32 *)bufp = cpu_to_le32(0); in sl811_rh_submit_urb()
579 *(__u32 *)bufp = cpu_to_le32(rh_status.wPortChange<<16 | rh_status.wPortStatus); 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()
[all …]
/rk3399_rockchip-uboot/common/
H A DxyzModem.c46 unsigned char pkt[1024], *bufp; member
336 xyz.bufp = xyz.pkt; in xyzModem_get_hdr()
458 while (*xyz.bufp++); in xyzModem_stream_open()
460 parse_num ((char *) xyz.bufp, &xyz.file_length, NULL, " "); in xyzModem_stream_open()
517 if ((xyz.bufp[xyz.len - 1] == EOF) && in xyzModem_stream_read()
518 (xyz.bufp[xyz.len - 2] == EOF) && in xyzModem_stream_read()
519 (xyz.bufp[xyz.len - 3] == EOF)) in xyzModem_stream_read()
522 && (xyz.bufp[xyz.len - 1] == EOF)) in xyzModem_stream_read()
594 memcpy (buf, xyz.bufp, len); in xyzModem_stream_read()
599 xyz.bufp += len; in xyzModem_stream_read()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Ddesignware_udc.c184 static int usbgetpckfromfifo(int epNum, u8 *bufp, u32 len) in usbgetpckfromfifo() argument
199 if ((int)bufp & 0x3) in usbgetpckfromfifo()
202 wrdp = (u32 *)bufp; in usbgetpckfromfifo()
218 if ((int)bufp & 0x3) in usbgetpckfromfifo()
219 memcpy(bufp, tmp, len); in usbgetpckfromfifo()
224 static void usbputpcktofifo(int epNum, u8 *bufp, u32 len) in usbputpcktofifo() argument
233 wrdp = (u32 *)bufp; in usbputpcktofifo()