/openbmc/qemu/hw/net/fsl_etsec/ |
H A D | rings.c | 101 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 …]
|
/openbmc/qemu/util/ |
H A D | hexdump.c | 62 static void asciidump_line(char *line, const void *bufptr, size_t len) in asciidump_line() argument 64 const char *buf = bufptr; in asciidump_line() 82 const void *bufptr, size_t size) in qemu_hexdump() argument 92 qemu_hexdump_line(str, bufptr + b, len, 1, 4); in qemu_hexdump() 93 asciidump_line(ascii, bufptr + b, len); in qemu_hexdump()
|
/openbmc/linux/arch/x86/boot/ |
H A D | cmdline.c | 34 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 D | cmdline.c | 129 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 D | char-udp.c | 43 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 D | wrapper.c | 93 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 D | atomisp-libmsrlisthelper.c | 50 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 D | pixcir_i2c_ts.c | 98 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/qemu/hw/usb/ |
H A D | hcd-ehci.h | 63 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 D | hcd-ehci.c | 339 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/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | manage.c | 185 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/linux/sound/core/seq/ |
H A D | seq_memory.c | 140 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 D | ns8382x.c | 163 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 D | natsemi.c | 184 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/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | qos_sq.c | 40 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 D | cn10k.c | 115 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 D | sis900.c | 159 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() 1197 sis_priv->rx_ring[i].bufptr = dma_map_single(&sis_priv->pci_dev->dev, in sis900_init_rx_ring() 1202 sis_priv->rx_ring[i].bufptr))) { 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() 1624 sis_priv->tx_ring[entry].bufptr = dma_map_single(&sis_priv->pci_dev->dev, in sis900_start_xmit() 1628 sis_priv->tx_ring[entry].bufptr))) { in sis900_start_xmit() 1792 sis_priv->rx_ring[entry].bufptr, in sis900_rx() [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | arasan_nfc.c | 328 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 D | pcl816.c | 225 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()
|
H A D | pcl812.c | 799 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf() argument 805 val = ptr[bufptr++]; in transfer_from_dma_buf() 820 int bufptr; in pcl812_handle_dma() local 824 bufptr = devpriv->ai_poll_ptr; in pcl812_handle_dma() 831 transfer_from_dma_buf(dev, s, desc->virt_addr, bufptr, nsamples); in pcl812_handle_dma()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | udlfb.c | 1156 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/linux/kernel/debug/ |
H A D | gdbstub.c | 197 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/net/hamradio/ |
H A D | baycom_epp.c | 177 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/hplip/hplip/ |
H A D | 0003-pserror.c-Define-column-to-be-int-explcitly.patch | 22 char *bufptr = msgbuf ; /* message buffer pointer */
|
/openbmc/linux/sound/core/ |
H A D | pcm_compat.c | 339 compat_caddr_t __user *bufptr; in snd_pcm_ioctl_xfern_compat() local 357 bufptr = compat_ptr(buf); in snd_pcm_ioctl_xfern_compat() 363 if (get_user(ptr, bufptr)) { in snd_pcm_ioctl_xfern_compat() 368 bufptr++; in snd_pcm_ioctl_xfern_compat()
|