Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dpixcir_i2c_ts.c59 u8 *bufptr; in pixcir_ts_parse() local
93 bufptr = &rdbuf[2]; in pixcir_ts_parse()
96 report->touches[i].x = (bufptr[1] << 8) | bufptr[0]; in pixcir_ts_parse()
97 report->touches[i].y = (bufptr[3] << 8) | bufptr[2]; in pixcir_ts_parse()
100 report->touches[i].id = bufptr[4]; in pixcir_ts_parse()
101 bufptr = bufptr + 5; in pixcir_ts_parse()
103 bufptr = bufptr + 4; in pixcir_ts_parse()
/drivers/block/paride/
Dpg.c219 char *bufptr; member
254 dev->bufptr = NULL; in pg_init_units()
542 dev->bufptr = kmalloc(PG_MAX_DATA, GFP_KERNEL); in pg_open()
543 if (dev->bufptr == NULL) { in pg_open()
561 kfree(dev->bufptr); in pg_release()
562 dev->bufptr = NULL; in pg_release()
611 if (copy_from_user(dev->bufptr, buf + hs, count - hs)) in pg_write()
630 if (pg_completion(dev, dev->bufptr, dev->timeout)) in pg_read()
652 if (copy_to_user(buf + hs, dev->bufptr, copy)) in pg_read()
Dpt.c226 char *bufptr; member
616 tape->bufptr = NULL; in pt_detect()
681 tape->bufptr = kmalloc(PT_BUFSIZE, GFP_KERNEL); in pt_open()
682 if (tape->bufptr == NULL) { in pt_open()
748 kfree(tape->bufptr); in pt_release()
749 tape->bufptr = NULL; in pt_release()
831 pi_read_block(pi, tape->bufptr, k); in pt_read()
836 if (copy_to_user(buf + t, tape->bufptr, b)) { in pt_read()
935 if (copy_from_user(tape->bufptr, buf + t, b)) { in pt_write()
939 pi_write_block(pi, tape->bufptr, k); in pt_write()
/drivers/net/ethernet/intel/e1000e/
Dmanage.c203 u8 *bufptr = buffer; in e1000_mng_host_if_write() local
219 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write()
238 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write()
247 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write()
/drivers/net/ethernet/sis/
Dsis900.c159 u32 bufptr; member
1139 sis_priv->tx_ring[i].bufptr = 0; in sis900_init_tx_ring()
1174 sis_priv->rx_ring[i].bufptr = 0; in sis900_init_rx_ring()
1190 sis_priv->rx_ring[i].bufptr = pci_map_single(sis_priv->pci_dev, in sis900_init_rx_ring()
1193 sis_priv->rx_ring[i].bufptr))) { in sis900_init_rx_ring()
1564 sis_priv->tx_ring[i].bufptr, skb->len, in sis900_tx_timeout()
1569 sis_priv->tx_ring[i].bufptr = 0; in sis900_tx_timeout()
1614 sis_priv->tx_ring[entry].bufptr = pci_map_single(sis_priv->pci_dev, in sis900_start_xmit()
1617 sis_priv->tx_ring[entry].bufptr))) { in sis900_start_xmit()
1781 sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE, in sis900_rx()
[all …]
/drivers/video/fbdev/
Dudlfb.c1107 char *bufptr; in dlfb_ops_blank() local
1124 bufptr = (char *) urb->transfer_buffer; in dlfb_ops_blank()
1125 bufptr = dlfb_vidreg_lock(bufptr); in dlfb_ops_blank()
1126 bufptr = dlfb_blanking(bufptr, blank_mode); in dlfb_ops_blank()
1127 bufptr = dlfb_vidreg_unlock(bufptr); in dlfb_ops_blank()
1130 bufptr = dlfb_dummy_render(bufptr); in dlfb_ops_blank()
1132 dlfb_submit_urb(dev, urb, bufptr - in dlfb_ops_blank()
/drivers/staging/comedi/drivers/
Dpcl816.c314 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf() argument
319 comedi_buf_put(s, ptr[bufptr++]); in transfer_from_dma_buf()
332 unsigned int bufptr; in pcl816_interrupt() local
351 bufptr = devpriv->ai_poll_ptr; in pcl816_interrupt()
354 transfer_from_dma_buf(dev, s, ptr, bufptr, len); in pcl816_interrupt()
Dpcl812.c893 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf() argument
898 comedi_buf_put(s, ptr[bufptr++]); in transfer_from_dma_buf()
909 int len, bufptr; in pcl812_handle_dma() local
918 bufptr = devpriv->ai_poll_ptr; in pcl812_handle_dma()
921 transfer_from_dma_buf(dev, s, ptr, bufptr, len); in pcl812_handle_dma()
Dpcl818.c575 int i, len, bufptr; in pcl818_handle_dma() local
582 bufptr = 0; in pcl818_handle_dma()
585 val = ptr[bufptr++]; in pcl818_handle_dma()
/drivers/net/hamradio/
Dbaycom_epp.c192 unsigned char *bufptr; member
202 unsigned char *bufptr; member
423 bc->hdlctx.bufptr = bc->hdlctx.buf; in encode_hdlc()
490 if (i != pp->ops->epp_write_data(pp, bc->hdlctx.bufptr, i, 0)) in transmit()
492 bc->hdlctx.bufptr += i; in transmit()
604 bc->hdlcrx.bufptr = bc->hdlcrx.buf; in receive()
620 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits); in receive()
/drivers/usb/dwc2/
Dhcd.c599 struct dwc2_qtd *qtd, void *bufptr) in dwc2_hc_init_xfer() argument
619 bufptr = NULL; in dwc2_hc_init_xfer()
646 bufptr = NULL; in dwc2_hc_init_xfer()
682 bufptr = (u8 *)urb->buf + frame_desc->offset + in dwc2_hc_init_xfer()
685 bufptr = NULL; in dwc2_hc_init_xfer()
696 return bufptr; in dwc2_hc_init_xfer()
701 struct dwc2_hcd_urb *urb, void *bufptr) in dwc2_hc_setup_align_buf() argument
734 memcpy(qh->dw_align_buf, bufptr, in dwc2_hc_setup_align_buf()
759 void *bufptr = NULL; in dwc2_assign_and_init_hc() local
827 bufptr = (u8 *)urb->buf + urb->actual_length; in dwc2_assign_and_init_hc()
[all …]
/drivers/scsi/
Dinitio.c1128 scb->bufptr = scb->senseptr; in tulip_main()
1604 scb->bufptr += ((u32) (i - scb->sgidx) << 3); in initio_state_5()
1616 scb->bufptr += (u32) xcnt; in initio_state_5()
1715 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_in()
1719 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_in()
1747 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_out()
1751 outl(scb->bufptr, host->addr + TUL_XAddH); in initio_xfer_data_out()
2609 cblk->bufptr = (u32)dma_addr; in initio_build_scb()
Dinitio.h371 u32 bufptr; /*28 Data Buffer Pointer */ member
/drivers/usb/gadget/udc/
Damd5536udc.h463 u32 bufptr; member
Damd5536udc.c542 dma_desc->bufptr = cpu_to_le32(DMA_DONT_USE); in udc_alloc_request()
736 req->td_data->bufptr = req->req.dma; in prep_dma()
972 td->bufptr = req->req.dma + i; /* assign buffer */ in udc_create_dma_chain()
/drivers/net/wireless/ath/ath5k/
Dbase.c871 ah->bufptr = bf; in ath5k_desc_alloc()
951 kfree(ah->bufptr); in ath5k_desc_free()
952 ah->bufptr = NULL; in ath5k_desc_free()
Dath5k.h1276 struct ath5k_buf *bufptr; /* allocated buffer ptr */ member
/drivers/net/ethernet/natsemi/
Dns83820.c862 dma_addr_t bufptr = desc_addr_get(desc + DESC_BUFPTR); local
875 pci_unmap_single(dev->pci_dev, bufptr,