| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | io.c | 87 char *bufptr; /* pointer to current start of data */ member 262 oci->bufptr += oci->lenLastReq; in ReadRequestFromClient() 266 gotnow = oci->bufcnt + oci->buffer - oci->bufptr; in ReadRequestFromClient() 285 request = (xReq *) oci->bufptr; in ReadRequestFromClient() 319 if ((gotnow == 0) || ((oci->bufptr - oci->buffer + needed) > oci->size)) { in ReadRequestFromClient() 322 if ((gotnow > 0) && (oci->bufptr != oci->buffer)) in ReadRequestFromClient() 324 memmove(oci->buffer, oci->bufptr, gotnow); in ReadRequestFromClient() 337 oci->bufptr = oci->buffer; in ReadRequestFromClient() 379 oci->bufptr = ibuf + oci->bufcnt - gotnow; in ReadRequestFromClient() 384 request = (xReq *) oci->bufptr; in ReadRequestFromClient() [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/arch/x86/lib/ |
| H A D | cmdline.c | 127 char *bufptr = buffer; in __cmdline_find_option() local 164 bufptr = buffer; in __cmdline_find_option() 192 *bufptr++ = c; in __cmdline_find_option() 199 *bufptr = '\0'; in __cmdline_find_option()
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | wrapper.c | 95 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument 101 sig = *(__be16 *)(bufptr + HFSP_WRAPOFF_EMBEDSIG); in hfsplus_read_mdb() 106 attrib = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ATTRIB)); in hfsplus_read_mdb() 112 be32_to_cpu(*(__be32 *)(bufptr + HFSP_WRAPOFF_ABLKSIZE)); in hfsplus_read_mdb() 118 be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART)); in hfsplus_read_mdb() 120 extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT); in hfsplus_read_mdb()
|
| /OK3568_Linux_fs/external/xserver/Xi/ |
| H A D | gtmotion.c | 91 INT32 *coords = NULL, *bufptr; in ProcXGetDeviceMotionEvents() local 146 bufptr = coords; in ProcXGetDeviceMotionEvents() 148 swapl(bufptr); in ProcXGetDeviceMotionEvents() 149 bufptr++; in ProcXGetDeviceMotionEvents()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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 62 u8 *ptr = bufptr; in set_msr_configuration() 64 while (ptr < bufptr + size) { in set_msr_configuration() 77 if (ptr > bufptr + size) in set_msr_configuration()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | extension.c | 261 char *bufptr, *buffer; in ProcListExtensions() local 286 buffer = bufptr = malloc(total_length); in ProcListExtensions() 295 *bufptr++ = len = strlen(extensions[i]->name); in ProcListExtensions() 296 memmove(bufptr, extensions[i]->name, len); in ProcListExtensions() 297 bufptr += len; in ProcListExtensions()
|
| /OK3568_Linux_fs/kernel/drivers/block/paride/ |
| H A D | pg.c | 219 char *bufptr; member 255 dev->bufptr = NULL; in pg_init_units() 550 dev->bufptr = kmalloc(PG_MAX_DATA, GFP_KERNEL); in pg_open() 551 if (dev->bufptr == NULL) { in pg_open() 569 kfree(dev->bufptr); in pg_release() 570 dev->bufptr = NULL; in pg_release() 619 if (copy_from_user(dev->bufptr, buf + hs, count - hs)) in pg_write() 638 if (pg_completion(dev, dev->bufptr, dev->timeout)) in pg_read() 660 if (copy_to_user(buf + hs, dev->bufptr, copy)) in pg_read()
|
| H A D | pt.c | 226 char *bufptr; member 623 tape->bufptr = NULL; in pt_detect() 689 tape->bufptr = kmalloc(PT_BUFSIZE, GFP_KERNEL); in pt_open() 690 if (tape->bufptr == NULL) { in pt_open() 756 kfree(tape->bufptr); in pt_release() 757 tape->bufptr = NULL; in pt_release() 839 pi_read_block(pi, tape->bufptr, k); in pt_read() 844 if (copy_to_user(buf + t, tape->bufptr, b)) { in pt_read() 943 if (copy_from_user(tape->bufptr, buf + t, b)) { in pt_write() 947 pi_write_block(pi, tape->bufptr, k); in pt_write()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/sound/core/seq/ |
| H A D | seq_memory.c | 117 char **bufptr = ptr; in seq_copy_in_kernel() local 119 memcpy(*bufptr, src, size); in seq_copy_in_kernel() 120 *bufptr += size; in seq_copy_in_kernel() 126 char __user **bufptr = ptr; in seq_copy_in_user() local 128 if (copy_to_user(*bufptr, src, size)) in seq_copy_in_user() 130 *bufptr += size; in seq_copy_in_user()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | ns8382x.c | 164 u32 bufptr; member 621 txd.bufptr = cpu_to_le32((u32) & txb[0]); in ns8382x_init_txd() 654 rxd[i].bufptr = cpu_to_le32((u32) & rxb[i * RX_BUF_SIZE]); in ns8382x_init_rxd() 659 le32_to_cpu(rxd[i].cmdsts), le32_to_cpu(rxd[i].bufptr)); in ns8382x_init_rxd() 749 txd.bufptr = cpu_to_le32(phys_to_bus((u32)packet)); in ns8382x_send() 759 le32_to_cpu(txd.link), le32_to_cpu(txd.bufptr), in ns8382x_send() 824 rxd[cur_rx].bufptr = cpu_to_le32((u32) & rxb[cur_rx * RX_BUF_SIZE]); in ns8382x_poll()
|
| H A D | natsemi.c | 185 u32 bufptr; member 660 txd.bufptr = (u32) & txb[0]; in natsemi_init_txd() 694 rxd[i].bufptr = cpu_to_le32((u32) & rxb[i * RX_BUF_SIZE]); in natsemi_init_rxd() 699 rxd[i].cmdsts, rxd[i].bufptr); in natsemi_init_rxd() 773 txd.bufptr = cpu_to_le32(phys_to_bus((u32) packet)); in natsemi_send() 851 rxd[cur_rx].bufptr = cpu_to_le32((u32) & rxb[cur_rx * RX_BUF_SIZE]); in natsemi_poll()
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/ |
| H A D | glxvendor.c | 65 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\ 67 req = (x##name##Req *)(dpy->last_req = dpy->bufptr);\ 69 dpy->bufptr += SIZEOF(x##name##Req);\ 75 if ((dpy->bufptr + SIZEOF(x/**/name/**/Req)) > dpy->bufmax)\ 77 req = (x/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\ 79 dpy->bufptr += SIZEOF(x/**/name/**/Req);\
|
| H A D | glxsingle.c | 66 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\ 68 req = (x##name##Req *)(dpy->last_req = dpy->bufptr);\ 70 dpy->bufptr += SIZEOF(x##name##Req);\ 76 if ((dpy->bufptr + SIZEOF(x/**/name/**/Req)) > dpy->bufmax)\ 78 req = (x/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\ 80 dpy->bufptr += SIZEOF(x/**/name/**/Req);\
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_common.c | 890 s64 bufptr; in otx2_pool_refill_task() local 900 bufptr = otx2_alloc_rbuf(pfvf, rbpool); in otx2_pool_refill_task() 901 if (bufptr <= 0) { in otx2_pool_refill_task() 916 otx2_aura_freeptr(pfvf, qidx, bufptr + OTX2_HEAD_ROOM); in otx2_pool_refill_task() 1216 s64 bufptr; in otx2_sq_aura_pool_init() local 1261 bufptr = otx2_alloc_rbuf(pfvf, pool); in otx2_sq_aura_pool_init() 1262 if (bufptr <= 0) in otx2_sq_aura_pool_init() 1263 return bufptr; in otx2_sq_aura_pool_init() 1264 otx2_aura_freeptr(pfvf, pool_id, bufptr); in otx2_sq_aura_pool_init() 1265 sq->sqb_ptrs[sq->sqb_count++] = (u64)bufptr; in otx2_sq_aura_pool_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sis/ |
| H A D | sis900.c | 159 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 = dma_map_single(&sis_priv->pci_dev->dev, in sis900_init_rx_ring() 1195 sis_priv->rx_ring[i].bufptr))) { in sis900_init_rx_ring() 1567 sis_priv->tx_ring[i].bufptr, in sis900_tx_timeout() 1572 sis_priv->tx_ring[i].bufptr = 0; in sis900_tx_timeout() 1617 sis_priv->tx_ring[entry].bufptr = dma_map_single(&sis_priv->pci_dev->dev, in sis900_start_xmit() 1621 sis_priv->tx_ring[entry].bufptr))) { in sis900_start_xmit() 1785 sis_priv->rx_ring[entry].bufptr, in sis900_rx() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | arasan_nfc.c | 329 u32 *bufptr = (u32 *)buf; in arasan_nand_read_page() local 397 bufptr[i] = readl(&arasan_nand_base->buf_dataport); in arasan_nand_read_page() 400 bufptr += pktsize/4; in arasan_nand_read_page() 504 const u32 *bufptr = (const u32 *)buf; in arasan_nand_write_page_hwecc() local 567 writel(bufptr[i], &arasan_nand_base->buf_dataport); in arasan_nand_write_page_hwecc() 569 bufptr += pktsize/4; in arasan_nand_write_page_hwecc() 946 u32 *bufptr = (u32 *)buf; in arasan_nand_read_buf() local 978 bufptr[i] = readl(&arasan_nand_base->buf_dataport); in arasan_nand_read_buf() 981 bufptr[i] = readl(&arasan_nand_base->buf_dataport); in arasan_nand_read_buf()
|
| /OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ |
| H A D | pcl816.c | 227 unsigned int bufptr, unsigned int len) in transfer_from_dma_buf() argument 233 val = ptr[bufptr++]; in transfer_from_dma_buf() 249 unsigned int bufptr; in pcl816_interrupt() local 264 bufptr = devpriv->ai_poll_ptr; in pcl816_interrupt() 271 transfer_from_dma_buf(dev, s, desc->virt_addr, bufptr, nsamples); in pcl816_interrupt()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | udlfb.c | 1153 char *bufptr; in dlfb_ops_blank() local 1170 bufptr = (char *) urb->transfer_buffer; in dlfb_ops_blank() 1171 bufptr = dlfb_vidreg_lock(bufptr); in dlfb_ops_blank() 1172 bufptr = dlfb_blanking(bufptr, blank_mode); in dlfb_ops_blank() 1173 bufptr = dlfb_vidreg_unlock(bufptr); in dlfb_ops_blank() 1176 bufptr = dlfb_dummy_render(bufptr); in dlfb_ops_blank() 1178 dlfb_submit_urb(dlfb, urb, bufptr - in dlfb_ops_blank()
|
| /OK3568_Linux_fs/kernel/kernel/debug/ |
| H A D | gdbstub.c | 200 char *bufptr; in gdbstub_msg_write() local 212 bufptr = gdbmsgbuf + 1; in gdbstub_msg_write() 222 bufptr = hex_byte_pack(bufptr, s[i]); in gdbstub_msg_write() 223 *bufptr = '\0'; in gdbstub_msg_write()
|
| /OK3568_Linux_fs/kernel/sound/pci/nm256/ |
| H A D | nm256.c | 182 void __iomem *bufptr; /* mapped pointer */ member 691 memset_io(s->bufptr + pos, 0, count); in snd_nm256_playback_silence() 703 if (copy_from_user_toio(s->bufptr + pos, src, count)) in snd_nm256_playback_copy() 716 memcpy_toio(s->bufptr + pos, src, count); in snd_nm256_playback_copy_kernel() 731 if (copy_to_user_fromio(dst, s->bufptr + pos, count)) in snd_nm256_capture_copy() 744 memcpy_fromio(dst, s->bufptr + pos, count); in snd_nm256_capture_copy_kernel() 849 runtime->dma_area = (void __force *) s->bufptr; in snd_nm256_setup_stream() 945 s->bufptr = chip->buffer + (s->buf - chip->buffer_start); in snd_nm256_pcm()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/u-boot/fs/fat/ |
| H A D | fat_write.c | 111 __u8 *bufptr = mydata->fatbuf; in flush_dirty_fat_buffer() local 127 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer() 135 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer() 392 __u8 *bufptr = mydata->fatbuf; in set_fatent_value() local 405 if (disk_read(startblock, getsize, bufptr) < 0) { in set_fatent_value()
|