Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/x86/boot/
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()
/linux-6.12.1/arch/x86/lib/
Dcmdline.c131 char *bufptr = buffer; in __cmdline_find_option() local
168 bufptr = buffer; in __cmdline_find_option()
196 *bufptr++ = c; in __cmdline_find_option()
203 *bufptr = '\0'; in __cmdline_find_option()
/linux-6.12.1/fs/hfsplus/
Dwrapper.c94 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument
100 sig = *(__be16 *)(bufptr + HFSP_WRAPOFF_EMBEDSIG); in hfsplus_read_mdb()
105 attrib = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ATTRIB)); in hfsplus_read_mdb()
111 be32_to_cpu(*(__be32 *)(bufptr + HFSP_WRAPOFF_ABLKSIZE)); in hfsplus_read_mdb()
117 be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART)); in hfsplus_read_mdb()
119 extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT); in hfsplus_read_mdb()
/linux-6.12.1/drivers/input/touchscreen/
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()
/linux-6.12.1/drivers/staging/media/atomisp/i2c/
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()
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/
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()
/linux-6.12.1/sound/core/seq/
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()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
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()
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()
Dotx2_common.c1433 dma_addr_t bufptr; in otx2_sq_aura_pool_init() local
1481 err = otx2_alloc_rbuf(pfvf, pool, &bufptr); in otx2_sq_aura_pool_init()
1484 pfvf->hw_ops->aura_freeptr(pfvf, pool_id, bufptr); in otx2_sq_aura_pool_init()
1485 sq->sqb_ptrs[sq->sqb_count++] = (u64)bufptr; in otx2_sq_aura_pool_init()
1504 dma_addr_t bufptr; in otx2_rq_aura_pool_init() local
1534 err = otx2_alloc_rbuf(pfvf, pool, &bufptr); in otx2_rq_aura_pool_init()
1538 bufptr + OTX2_HEAD_ROOM); in otx2_rq_aura_pool_init()
Dotx2_txrx.c438 dma_addr_t bufptr; in otx2_refill_pool_ptrs() local
441 if (otx2_alloc_buffer(pfvf, cq, &bufptr)) in otx2_refill_pool_ptrs()
443 otx2_aura_freeptr(pfvf, cq->cq_idx, bufptr + OTX2_HEAD_ROOM); in otx2_refill_pool_ptrs()
/linux-6.12.1/drivers/net/ethernet/sis/
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()
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 …]
/linux-6.12.1/drivers/comedi/drivers/
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()
Dpcl812.c799 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()
/linux-6.12.1/drivers/video/fbdev/
Dudlfb.c1096 char *bufptr; in dlfb_ops_blank() local
1113 bufptr = (char *) urb->transfer_buffer; in dlfb_ops_blank()
1114 bufptr = dlfb_vidreg_lock(bufptr); in dlfb_ops_blank()
1115 bufptr = dlfb_blanking(bufptr, blank_mode); in dlfb_ops_blank()
1116 bufptr = dlfb_vidreg_unlock(bufptr); in dlfb_ops_blank()
1119 bufptr = dlfb_dummy_render(bufptr); in dlfb_ops_blank()
1121 dlfb_submit_urb(dlfb, urb, bufptr - in dlfb_ops_blank()
/linux-6.12.1/kernel/debug/
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()
/linux-6.12.1/drivers/net/hamradio/
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()
/linux-6.12.1/sound/core/
Dpcm_compat.c333 compat_caddr_t __user *bufptr; in snd_pcm_ioctl_xfern_compat() local
351 bufptr = compat_ptr(buf); in snd_pcm_ioctl_xfern_compat()
357 if (get_user(ptr, bufptr)) in snd_pcm_ioctl_xfern_compat()
360 bufptr++; in snd_pcm_ioctl_xfern_compat()
/linux-6.12.1/sound/pci/nm256/
Dnm256.c180 void __iomem *bufptr; /* mapped pointer */ member
687 memset_io(s->bufptr + pos, 0, count); in snd_nm256_playback_silence()
699 return copy_from_iter_toio(s->bufptr + pos, src, count); in snd_nm256_playback_copy()
713 return copy_to_iter_fromio(dst, s->bufptr + pos, count); in snd_nm256_capture_copy()
817 runtime->dma_area = (void __force *) s->bufptr; in snd_nm256_setup_stream()
911 s->bufptr = chip->buffer + (s->buf - chip->buffer_start); in snd_nm256_pcm()
/linux-6.12.1/drivers/scsi/
Dscsi_logging.c24 static void scsi_log_release_buffer(char *bufptr) in scsi_log_release_buffer() argument
26 kfree(bufptr); in scsi_log_release_buffer()
Dinitio.c1095 scb->bufptr = scb->senseptr; in tulip_main()
1571 scb->bufptr += ((u32) (i - scb->sgidx) << 3); in initio_state_5()
1583 scb->bufptr += (u32) xcnt; in initio_state_5()
1682 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_in()
1686 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_in()
1714 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_out()
1718 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_out()
2578 cblk->bufptr = (u32)dma_addr; in initio_build_scb()
Dinitio.h371 u32 bufptr; /*28 Data Buffer Pointer */ member
/linux-6.12.1/drivers/usb/gadget/udc/
Damd5536udc.h470 u32 bufptr; member
/linux-6.12.1/drivers/net/ethernet/ti/
Dnetcp_core.c858 void *bufptr; in netcp_allocate_rx_buf() local
875 bufptr = netdev_alloc_frag(primary_buf_len); in netcp_allocate_rx_buf()
878 if (unlikely(!bufptr)) { in netcp_allocate_rx_buf()
883 dma = dma_map_single(netcp->dev, bufptr, buf_len, in netcp_allocate_rx_buf()
891 sw_data[0] = (u32)bufptr; in netcp_allocate_rx_buf()
/linux-6.12.1/drivers/net/wireless/ath/ath5k/
Dbase.c929 ah->bufptr = bf; in ath5k_desc_alloc()
1009 kfree(ah->bufptr); in ath5k_desc_free()
1010 ah->bufptr = NULL; in ath5k_desc_free()

12