Home
last modified time | relevance | path

Searched refs:bufptr (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/hw/net/fsl_etsec/
H A Drings.c101 qemu_log(" Pointer : 0x%08x\n", bd.bufptr); in print_bd()
120 bd->bufptr = ldl_le_p(&bd->bufptr); in read_buffer_descriptor()
124 bd->bufptr = ldl_be_p(&bd->bufptr); in read_buffer_descriptor()
137 stl_le_p(&bd->bufptr, bd->bufptr); in write_buffer_descriptor()
141 stl_be_p(&bd->bufptr, bd->bufptr); in write_buffer_descriptor()
242 cpu_physical_memory_read(bd->bufptr + tbdbth, tmp_buff, bd->length); in process_tx_bd()
387 hwaddr bufptr = bd->bufptr + in fill_rx_bd() local
396 bufptr, *size, etsec->rx_padding, etsec->rx_fcb_size); in fill_rx_bd()
403 cpu_physical_memory_write(bufptr, etsec->rx_fcb, etsec->rx_fcb_size); in fill_rx_bd()
405 bufptr += etsec->rx_fcb_size; in fill_rx_bd()
[all …]
H A Detsec.h38 uint32_t bufptr; member
/openbmc/qemu/util/
H A Dhexdump.c63 static void asciidump_line(char *line, const void *bufptr, size_t len) in asciidump_line() argument
65 const char *buf = bufptr; in asciidump_line()
83 const void *bufptr, size_t size) in qemu_hexdump() argument
93 qemu_hexdump_line(str, bufptr + b, len, 1, 4); in qemu_hexdump()
94 asciidump_line(ascii, bufptr + b, len); in qemu_hexdump()
/openbmc/qemu/chardev/
H A Dchar-udp.c43 int bufptr; member
64 while (s->max_size > 0 && s->bufptr < s->bufcnt) { in udp_chr_flush_buffer()
65 int n = MIN(s->max_size, s->bufcnt - s->bufptr); in udp_chr_flush_buffer()
66 qemu_chr_be_write(chr, &s->buf[s->bufptr], n); in udp_chr_flush_buffer()
67 s->bufptr += n; in udp_chr_flush_buffer()
103 s->bufptr = 0; in udp_chr_read()
/openbmc/qemu/hw/usb/
H A Dhcd-ehci.h63 uint32_t bufptr[7]; member
111 uint32_t bufptr[2]; member
146 uint32_t bufptr[5]; /* Standard buffer pointer */ member
198 uint32_t bufptr[5]; /* Standard buffer pointer */ member
H A Dhcd-ehci.c339 get_field(itd->bufptr[1], ITD_BUFPTR_MAXPKT), in ehci_trace_itd()
340 get_field(itd->bufptr[2], ITD_BUFPTR_MULT), in ehci_trace_itd()
341 get_field(itd->bufptr[0], ITD_BUFPTR_EP), in ehci_trace_itd()
342 get_field(itd->bufptr[0], ITD_BUFPTR_DEVADDR)); in ehci_trace_itd()
455 p->qtd.bufptr[0] != qtd->bufptr[0]) { in ehci_verify_qtd()
1169 q->qh.bufptr[i] = p->qtd.bufptr[i]; in ehci_qh_do_overlay()
1178 q->qh.bufptr[1] &= ~BUFPTR_CPROGMASK_MASK; in ehci_qh_do_overlay()
1179 q->qh.bufptr[2] &= ~BUFPTR_FRAMETAG_MASK; in ehci_qh_do_overlay()
1193 offset = p->qtd.bufptr[0] & ~QTD_BUFPTR_MASK; in ehci_init_transfer()
1203 page = p->qtd.bufptr[cpage] & QTD_BUFPTR_MASK; in ehci_init_transfer()
[all …]
/openbmc/u-boot/drivers/net/
H A Dns8382x.c163 u32 bufptr; member
620 txd.bufptr = cpu_to_le32((u32) & txb[0]); in ns8382x_init_txd()
653 rxd[i].bufptr = cpu_to_le32((u32) & rxb[i * RX_BUF_SIZE]); in ns8382x_init_rxd()
658 le32_to_cpu(rxd[i].cmdsts), le32_to_cpu(rxd[i].bufptr)); in ns8382x_init_rxd()
748 txd.bufptr = cpu_to_le32(phys_to_bus((u32)packet)); in ns8382x_send()
758 le32_to_cpu(txd.link), le32_to_cpu(txd.bufptr), in ns8382x_send()
823 rxd[cur_rx].bufptr = cpu_to_le32((u32) & rxb[cur_rx * RX_BUF_SIZE]); in ns8382x_poll()
H A Dnatsemi.c184 u32 bufptr; member
659 txd.bufptr = (u32) & txb[0]; in natsemi_init_txd()
693 rxd[i].bufptr = cpu_to_le32((u32) & rxb[i * RX_BUF_SIZE]); in natsemi_init_rxd()
698 rxd[i].cmdsts, rxd[i].bufptr); in natsemi_init_rxd()
772 txd.bufptr = cpu_to_le32(phys_to_bus((u32) packet)); in natsemi_send()
850 rxd[cur_rx].bufptr = cpu_to_le32((u32) & rxb[cur_rx * RX_BUF_SIZE]); in natsemi_poll()
H A Dtsec.c276 out_be32(&priv->txbd[priv->tx_idx].bufptr, (u32)packet); in tsec_send()
350 buf = in_be32(&priv->rxbd[priv->rx_idx].bufptr); in tsec_recv()
519 out_be32(&priv->rxbd[i].bufptr, (u32)net_rx_packets[i]); in startup_tsec()
528 out_be32(&priv->txbd[i].bufptr, 0); in startup_tsec()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Darasan_nfc.c328 u32 *bufptr = (u32 *)buf; in arasan_nand_read_page() local
396 bufptr[i] = readl(&arasan_nand_base->buf_dataport); in arasan_nand_read_page()
399 bufptr += pktsize/4; in arasan_nand_read_page()
503 const u32 *bufptr = (const u32 *)buf; in arasan_nand_write_page_hwecc() local
566 writel(bufptr[i], &arasan_nand_base->buf_dataport); in arasan_nand_write_page_hwecc()
568 bufptr += pktsize/4; in arasan_nand_write_page_hwecc()
945 u32 *bufptr = (u32 *)buf; in arasan_nand_read_buf() local
977 bufptr[i] = readl(&arasan_nand_base->buf_dataport); in arasan_nand_read_buf()
980 bufptr[i] = readl(&arasan_nand_base->buf_dataport); in arasan_nand_read_buf()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/hplip/hplip/
H A D0003-pserror.c-Define-column-to-be-int-explcitly.patch22 char *bufptr = msgbuf ; /* message buffer pointer */
/openbmc/u-boot/include/
H A Dtsec.h205 uint32_t bufptr; /* Buffer Pointer */ member
211 uint32_t bufptr; /* Buffer Pointer */ member
/openbmc/qemu/include/qemu/
H A Dcutils.h303 const void *bufptr, size_t size);
/openbmc/u-boot/fs/fat/
H A Dfat_write.c109 __u8 *bufptr = mydata->fatbuf; in flush_dirty_fat_buffer() local
125 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
133 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
290 __u8 *bufptr = mydata->fatbuf; in set_fatent_value() local
303 if (disk_read(startblock, getsize, bufptr) < 0) { in set_fatent_value()
H A Dfat.c198 __u8 *bufptr = mydata->fatbuf; in get_fatent() local
212 if (disk_read(startblock, getsize, bufptr) < 0) { in get_fatent()
/openbmc/qemu/dump/
H A Ddump.c1280 uint8_t **bufptr, DumpState *s) in get_next_page() argument
1309 } else if (bufptr) { in get_next_page()
1310 assert(*bufptr); in get_next_page()
1311 buf = *bufptr; in get_next_page()
1345 if (bufptr) { in get_next_page()
1346 *bufptr = buf; in get_next_page()
/openbmc/qemu/net/can/
H A Dcan_socketcan.c63 int bufptr; member