Home
last modified time | relevance | path

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

12

/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()
387 hwaddr bufptr = bd->bufptr + in fill_rx_bd() local
396 bufptr, *size, etsec->rx_padding, etsec->rx_fcb_size); in fill_rx_bd()
405 bufptr += etsec->rx_fcb_size; in fill_rx_bd()
419 cpu_physical_memory_write(bufptr, *buf, to_write); in fill_rx_bd()
422 bufptr += to_write; in fill_rx_bd()
[all …]
H A Detsec.h38 uint32_t bufptr; member
/openbmc/qemu/util/
H A Dhexdump.c19 void qemu_hexdump_line(char *line, unsigned int b, const void *bufptr, in qemu_hexdump_line() argument
22 const char *buf = bufptr; in qemu_hexdump_line()
54 const void *bufptr, size_t size) in qemu_hexdump() argument
61 qemu_hexdump_line(line, b, bufptr, len, true); in qemu_hexdump()
/openbmc/linux/arch/x86/boot/
H A Dcmdline.c34 char *bufptr = buffer; in __cmdline_find_option() local
62 bufptr = buffer; in __cmdline_find_option()
81 *bufptr++ = c; in __cmdline_find_option()
89 *bufptr = '\0'; in __cmdline_find_option()
/openbmc/linux/arch/x86/lib/
H A Dcmdline.c129 char *bufptr = buffer; in __cmdline_find_option() local
166 bufptr = buffer; in __cmdline_find_option()
194 *bufptr++ = c; in __cmdline_find_option()
201 *bufptr = '\0'; in __cmdline_find_option()
/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/linux/fs/hfsplus/
H A Dwrapper.c93 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument
99 sig = *(__be16 *)(bufptr + HFSP_WRAPOFF_EMBEDSIG); in hfsplus_read_mdb()
104 attrib = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ATTRIB)); in hfsplus_read_mdb()
110 be32_to_cpu(*(__be32 *)(bufptr + HFSP_WRAPOFF_ABLKSIZE)); in hfsplus_read_mdb()
116 be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART)); in hfsplus_read_mdb()
118 extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT); in hfsplus_read_mdb()
/openbmc/linux/drivers/staging/media/atomisp/i2c/
H A Datomisp-libmsrlisthelper.c50 static int set_msr_configuration(struct i2c_client *client, uint8_t *bufptr, in set_msr_configuration() argument
64 u8 *ptr = bufptr; in set_msr_configuration()
66 while (ptr < bufptr + size) { in set_msr_configuration()
79 if (ptr > bufptr + size) in set_msr_configuration()
/openbmc/linux/drivers/input/touchscreen/
H A Dpixcir_i2c_ts.c98 u8 *bufptr; in pixcir_ts_parse() local
132 bufptr = &rdbuf[2]; in pixcir_ts_parse()
136 get_unaligned_le16(bufptr), in pixcir_ts_parse()
137 get_unaligned_le16(bufptr + 2)); in pixcir_ts_parse()
139 report->ids[i] = bufptr[4]; in pixcir_ts_parse()
140 bufptr = bufptr + 5; in pixcir_ts_parse()
142 bufptr = bufptr + 4; in pixcir_ts_parse()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dmanage.c185 u8 *bufptr = buffer; in e1000_mng_host_if_write() local
201 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write()
220 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write()
229 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write()
/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.c455 p->qtd.bufptr[0] != qtd->bufptr[0]) { in ehci_verify_qtd()
1168 q->qh.bufptr[i] = p->qtd.bufptr[i]; in ehci_qh_do_overlay()
1177 q->qh.bufptr[1] &= ~BUFPTR_CPROGMASK_MASK; in ehci_qh_do_overlay()
1178 q->qh.bufptr[2] &= ~BUFPTR_FRAMETAG_MASK; in ehci_qh_do_overlay()
1192 offset = p->qtd.bufptr[0] & ~QTD_BUFPTR_MASK; in ehci_init_transfer()
1224 offset = q->qh.bufptr[0] & ~QTD_BUFPTR_MASK; in ehci_finish_transfer()
1231 q->qh.bufptr[0] &= QTD_BUFPTR_MASK; in ehci_finish_transfer()
1232 q->qh.bufptr[0] |= offset; in ehci_finish_transfer()
1413 dir =(itd->bufptr[1] & ITD_BUFPTR_DIRECTION); in ehci_process_itd()
1809 get_dwords(q->ehci, addr + 12, qtd.bufptr, in ehci_state_fetchqtd()
[all …]
/openbmc/linux/sound/core/seq/
H A Dseq_memory.c140 char **bufptr = ptr; in seq_copy_in_kernel() local
142 memcpy(*bufptr, src, size); in seq_copy_in_kernel()
143 *bufptr += size; in seq_copy_in_kernel()
149 char __user **bufptr = ptr; in seq_copy_in_user() local
151 if (copy_to_user(*bufptr, src, size)) in seq_copy_in_user()
153 *bufptr += size; in seq_copy_in_user()
/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()
/openbmc/qemu/include/qemu/
H A Dcutils.h260 void qemu_hexdump_line(char *line, unsigned int b, const void *bufptr,
268 const void *bufptr, size_t size);
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos_sq.c40 dma_addr_t bufptr; in otx2_qos_sq_aura_pool_init() local
85 err = otx2_alloc_rbuf(pfvf, pool, &bufptr); in otx2_qos_sq_aura_pool_init()
88 pfvf->hw_ops->aura_freeptr(pfvf, pool_id, bufptr); in otx2_qos_sq_aura_pool_init()
89 sq->sqb_ptrs[sq->sqb_count++] = (u64)bufptr; in otx2_qos_sq_aura_pool_init()
H A Dcn10k.c115 dma_addr_t bufptr; in cn10k_refill_pool_ptrs() local
120 if (otx2_alloc_buffer(pfvf, cq, &bufptr)) { in cn10k_refill_pool_ptrs()
127 ptrs[num_ptrs] = (u64)bufptr + OTX2_HEAD_ROOM; in cn10k_refill_pool_ptrs()
/openbmc/linux/drivers/net/ethernet/sis/
H A Dsis900.c159 u32 bufptr; member
1146 sis_priv->tx_ring[i].bufptr = 0; in sis900_init_tx_ring()
1181 sis_priv->rx_ring[i].bufptr = 0; in sis900_init_rx_ring()
1574 sis_priv->tx_ring[i].bufptr, in sis900_tx_timeout()
1579 sis_priv->tx_ring[i].bufptr = 0; in sis900_tx_timeout()
1792 sis_priv->rx_ring[entry].bufptr, in sis900_rx()
1838 sis_priv->rx_ring[entry].bufptr = in sis900_rx()
1873 sis_priv->rx_ring[entry].bufptr = in sis900_rx()
1948 sis_priv->tx_ring[entry].bufptr = 0; in sis900_finish_xmit()
1995 sis_priv->rx_ring[i].bufptr, in sis900_close()
[all …]
/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/linux/drivers/comedi/drivers/
H A Dpcl816.c225 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf() argument
231 val = ptr[bufptr++]; in transfer_from_dma_buf()
247 unsigned int bufptr; in pcl816_interrupt() local
262 bufptr = devpriv->ai_poll_ptr; in pcl816_interrupt()
269 transfer_from_dma_buf(dev, s, desc->virt_addr, bufptr, nsamples); in pcl816_interrupt()
/openbmc/linux/kernel/debug/
H A Dgdbstub.c197 char *bufptr; in gdbstub_msg_write() local
209 bufptr = gdbmsgbuf + 1; in gdbstub_msg_write()
219 bufptr = hex_byte_pack(bufptr, s[i]); in gdbstub_msg_write()
220 *bufptr = '\0'; in gdbstub_msg_write()
/openbmc/linux/drivers/video/fbdev/
H A Dudlfb.c1156 char *bufptr; in dlfb_ops_blank() local
1173 bufptr = (char *) urb->transfer_buffer; in dlfb_ops_blank()
1174 bufptr = dlfb_vidreg_lock(bufptr); in dlfb_ops_blank()
1175 bufptr = dlfb_blanking(bufptr, blank_mode); in dlfb_ops_blank()
1176 bufptr = dlfb_vidreg_unlock(bufptr); in dlfb_ops_blank()
1179 bufptr = dlfb_dummy_render(bufptr); in dlfb_ops_blank()
1181 dlfb_submit_urb(dlfb, urb, bufptr - in dlfb_ops_blank()
/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/linux/drivers/net/hamradio/
H A Dbaycom_epp.c177 unsigned char *bufptr; member
187 unsigned char *bufptr; member
412 bc->hdlctx.bufptr = bc->hdlctx.buf; in encode_hdlc()
479 if (i != pp->ops->epp_write_data(pp, bc->hdlctx.bufptr, i, 0)) in transmit()
481 bc->hdlctx.bufptr += i; in transmit()
594 bc->hdlcrx.bufptr = bc->hdlcrx.buf; in receive()
610 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits); in receive()

12