| /src/sys/external/bsd/drm2/dist/drm/virtio/ |
| H A D | virtgpu_vq.c | 97 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_get_vbuf 99 vbuf = kmem_cache_zalloc(vgdev->vbufs, GFP_KERNEL); 100 if (!vbuf) 104 vbuf->buf = (void *)vbuf + sizeof(*vbuf); 105 vbuf->size = size; 107 vbuf->resp_cb = resp_cb; 108 vbuf->resp_size = resp_size; 110 vbuf 121 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_alloc_cmd 138 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_alloc_cursor 157 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_alloc_cmd_resp 169 free_vbuf(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf) argument 180 struct virtio_gpu_vbuffer *vbuf; local in function:reclaim_vbufs 315 virtio_gpu_queue_ctrl_buffer_locked(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf,struct scatterlist * vout) argument 361 virtio_gpu_queue_fenced_ctrl_buffer(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf,struct virtio_gpu_ctrl_hdr * hdr,struct virtio_gpu_fence * fence) argument 440 virtio_gpu_queue_ctrl_buffer(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf) argument 446 virtio_gpu_queue_cursor(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf) argument 495 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_create_resource 515 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_unref_resource 531 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_resource_inval_backing 548 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_set_scanout 570 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_resource_flush 594 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_transfer_to_host_2d 625 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_resource_attach_backing 640 virtio_gpu_cmd_get_display_info_cb(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf) argument 669 virtio_gpu_cmd_get_capset_info_cb(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf) argument 686 virtio_gpu_cmd_capset_cb(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf) argument 723 virtio_gpu_cmd_get_edid_cb(struct virtio_gpu_device * vgdev,struct virtio_gpu_vbuffer * vbuf) argument 753 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_get_display_info 776 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_get_capset_info 801 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_get_capset 875 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_get_edids 904 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_context_create 921 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_context_destroy 937 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_context_attach_resource 956 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_context_detach_resource 976 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_resource_create_3d 1009 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_transfer_to_host_3d 1041 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_transfer_from_host_3d 1065 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cmd_submit 1169 struct virtio_gpu_vbuffer *vbuf; local in function:virtio_gpu_cursor_ping [all...] |
| H A D | virtgpu_drv.h | 93 struct virtio_gpu_vbuffer *vbuf);
|
| /src/sys/arch/evbppc/nintendo/dev/ |
| H A D | avenc.c | 82 uint8_t vbuf[2]; local in function:avenc_read_2 85 vbuf, sizeof(vbuf), 0) != 0) { 88 return ((uint16_t)vbuf[0] << 8) | vbuf[1]; 101 uint8_t vbuf[2]; local in function:avenc_write_2 103 vbuf[0] = (val >> 8) & 0xff; 104 vbuf[1] = val & 0xff; 107 vbuf, sizeof(vbuf), 113 uint8_t vbuf[4]; local in function:avenc_write_4 [all...] |
| /src/sys/arch/evbarm/gumstix/ |
| H A D | gxiic.c | 129 size_t cmdlen, void *vbuf, size_t buflen, int flags) 135 rv = pxa2x0_i2c_read(&sc->sc_pxa_i2c, addr, (u_char *)vbuf); 138 rv = pxa2x0_i2c_write(&sc->sc_pxa_i2c, addr, *(u_char *)vbuf); 141 addr, (u_char *)vbuf); 145 rv = pxa2x0_i2c_write(&sc->sc_pxa_i2c, addr, *(u_char *)vbuf); 148 addr, (u_char *)vbuf); 151 addr, (u_char *)(vbuf) + 1); 155 rv = pxa2x0_i2c_write(&sc->sc_pxa_i2c, addr, *(u_char *)vbuf); 162 addr, *(u_char *)vbuf); 170 addr, *(u_short *)vbuf); 128 gxiic_exec(void * cookie,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument [all...] |
| /src/sys/arch/zaurus/stand/zboot/ |
| H A D | pathfs.c | 45 pathfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid) argument 47 char *buf = vbuf; 65 pathfs_write(struct open_file *fd, void *vbuf, size_t size, size_t *resid) argument
|
| /src/sys/arch/hpcarm/dev/ |
| H A D | nbpiic.c | 182 size_t cmdlen, void *vbuf, size_t buflen, int flags) 191 rv = pxa2x0_i2c_read(&sc->sc_pxa_i2c, addr, (u_char *)vbuf); 197 addr, (u_char *)vbuf); 205 addr, &((u_char *)vbuf)[0]); 208 addr, &((u_char *)vbuf)[1]); 212 rv = pxa2x0_i2c_write(&sc->sc_pxa_i2c, addr, *(u_char *)vbuf); 215 u_short v = (cmd << 8) | ((u_char *)vbuf)[0]; 225 (((u_char *)vbuf)[0] << 8) | ((u_char *)vbuf)[1]; 181 nbpiic_exec(void * cookie,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
|
| /src/sys/dev/i2c/ |
| H A D | i2c_exec.c | 210 size_t cmdlen, void *vbuf, size_t buflen, int flags) 213 uint8_t *buf = vbuf; 245 memcpy(data, vbuf, buflen); 339 uint8_t vbuf[2]; local in function:iic_smbus_write_word 341 vbuf[0] = val & 0xff; 342 vbuf[1] = (val >> 8) & 0xff; 345 vbuf, 2, flags)); 436 uint8_t *vbuf, size_t buflen, int flags) 440 vbuf, buflen, flags)); 450 uint8_t *vbuf, size_ 209 iic_exec(i2c_tag_t tag,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument 435 iic_smbus_block_read(i2c_tag_t tag,i2c_addr_t addr,uint8_t cmd,uint8_t * vbuf,size_t buflen,int flags) argument 449 iic_smbus_block_write(i2c_tag_t tag,i2c_addr_t addr,uint8_t cmd,uint8_t * vbuf,size_t buflen,int flags) argument [all...] |
| /src/usr.bin/mklocale/ |
| H A D | lex.l | 133 VARIABLE[\t ] { static char vbuf[1024]; 134 char *v = vbuf; 141 yylval.str = vbuf;
|
| /src/sys/arch/mips/ingenic/ |
| H A D | jziic.c | 261 size_t cmdlen, void *vbuf, size_t buflen, int flags) 266 return jziic_i2c_exec_poll(sc, op, addr, vcmd, cmdlen, vbuf, 270 uint8_t *b = vbuf; 273 memset(vbuf, 0, buflen); 274 jziic_i2c_exec_intr(sc, op, addr, vcmd, cmdlen, vbuf, 280 ret = jziic_i2c_exec_poll(sc, op, addr, vcmd, cmdlen, vbuf, 288 return jziic_i2c_exec_intr(sc, op, addr, vcmd, cmdlen, vbuf, 296 const void *vcmd, size_t cmdlen, void *vbuf, size_t buflen, int flags) 304 rx = vbuf; 388 tx = vbuf; 260 jziic_i2c_exec(void * cookie,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument 295 jziic_i2c_exec_poll(struct jziic_softc * sc,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument 418 jziic_i2c_exec_intr(struct jziic_softc * sc,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument [all...] |
| /src/sys/dev/usb/ |
| H A D | emdtv_i2c.c | 76 const void *cmd, size_t cmdlen, void *vbuf, size_t buflen, int flags) 85 error = emdtv_i2c_recv(sc, addr, vbuf, buflen); 75 emdtv_i2c_exec(void * opaque,i2c_op_t op,i2c_addr_t addr,const void * cmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
|
| H A D | auvitek_i2c.c | 118 const void *cmd, size_t cmdlen, void *vbuf, size_t buflen, int flags) 123 return auvitek_i2c_read(sc, addr, vbuf, buflen); 117 auvitek_i2c_exec(void * opaque,i2c_op_t op,i2c_addr_t addr,const void * cmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
|
| /src/sys/arch/mips/alchemy/dev/ |
| H A D | ausmbus_psc.c | 84 const void *cmd, size_t cmdlen, void *vbuf, 212 size_t cmdlen, void *vbuf, size_t buflen, int flags) 221 return ausmbus_receive_1(sc, (uint8_t *)vbuf); 226 return ausmbus_read_1(sc, *cmd, (uint8_t *)vbuf); 231 return ausmbus_read_2(sc, *cmd, (uint16_t *)vbuf); 241 return ausmbus_send_1(sc, *((uint8_t *)vbuf)); 246 return ausmbus_write_1(sc, *cmd, *((uint8_t *)vbuf)); 251 return ausmbus_write_2(sc, *cmd, *((uint16_t *)vbuf)); 211 ausmbus_exec(void * cookie,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
|
| /src/sys/dev/pci/ |
| H A D | amdpm_smbus.c | 80 size_t cmdlen, void *vbuf, size_t buflen, int flags) 84 uint8_t *p = vbuf; 107 return amdpm_smbus_send_1(sc, *(uint8_t*)vbuf, op); 112 *(uint8_t*)vbuf, 79 amdpm_smbus_exec(void * cookie,i2c_op_t op,i2c_addr_t addr,const void * cmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
|
| H A D | nfsmb.c | 249 size_t cmdlen, void *vbuf, size_t buflen, int flags) 252 uint8_t *p = vbuf; 284 return nfsmb_send_1(sc, *(uint8_t*)vbuf, addr, op, flags); 287 return nfsmb_write_1(sc, *(const uint8_t*)cmd, *(uint8_t*)vbuf, 292 *(const uint8_t*)cmd, *((uint16_t *)vbuf), addr, op, flags); 248 nfsmb_exec(void * cookie,i2c_op_t op,i2c_addr_t addr,const void * cmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
|
| /src/sys/arch/i386/pci/ |
| H A D | viapcib.c | 269 size_t cmdlen, void *vbuf, size_t buflen, int flags) 276 opaque, op, addr, vcmd, cmdlen, vbuf, buflen, flags)); 302 *(uint8_t *)vbuf); 305 (uint8_t *)vbuf); 318 cmd, (uint8_t *)vbuf); 321 cmd, *(uint8_t *)vbuf); 327 cmd, (uint16_t *)vbuf); 330 cmd, *(uint16_t *)vbuf); 336 cmd, buflen, vbuf); 339 cmd, buflen, vbuf); 268 viapcib_exec(void * opaque,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument [all...] |
| /src/sys/arch/macppc/dev/ |
| H A D | ki2c.c | 488 size_t cmdlen, void *vbuf, size_t buflen, int flags) 521 * Concatenate vcmd and vbuf for write operations 529 wp = (uint8_t *)vbuf; 537 wp = (uint8_t *)vbuf; 549 if (ki2c_read(sc, addr << 1, 0, vbuf, buflen) !=0 ) 487 ki2c_i2c_exec(void * cookie,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
|
| /src/sys/arch/arm/at91/ |
| H A D | at91twi.c | 287 size_t cmdlen, void *vbuf, size_t buflen, int flags) 318 if (at91twi_read(sc, addr, vbuf, buflen, flags) != 0) 286 at91twi_i2c_exec(void * cookie,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
|
| /src/usr.sbin/installboot/arch/ |
| H A D | next68k.c | 65 nextstep_checksum(const void *vbuf, const void *vlimit) argument 67 const uint16_t *buf = vbuf;
|
| /src/sys/arch/hp300/dev/ |
| H A D | hpib.c | 377 hpibgo(int unit, int slave, int sec, void *vbuf, int count, int rw, int timo) argument 381 (*sc->sc_ops->hpib_go)(sc, slave, sec, vbuf, count, rw, timo);
|
| /src/games/tetris/ |
| H A D | scores.c | 575 dowrite(int sd, const void *vbuf, size_t len) argument 577 const char *buf = vbuf;
|
| /src/sys/fs/ntfs/ |
| H A D | ntfs_subr.c | 1448 char vbuf[] = ""; local in function:ntfs_readntvattr_plain 1451 uiomove(vbuf, 1, uio); 1585 char vbuf[] = ""; local in function:ntfs_readattr 1588 uiomove(vbuf, 1, uio);
|
| /src/sys/ufs/ext2fs/ |
| H A D | ext2fs_alloc.c | 781 ext2fs_crc32c(uint32_t last, const void *vbuf, size_t len) argument 784 const uint8_t *buf = vbuf;
|
| /src/sys/lib/libsa/ |
| H A D | dosfs.c | 280 dosfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid) argument 283 u_int8_t *buf = vbuf;
|
| /src/sys/kern/ |
| H A D | vfs_subr.c | 1065 vnode_t *vp, vbuf; local in function:sysctl_kern_vnode 1098 memcpy(&vbuf, vp, VNODESZ); 1100 (error = copyout(&vbuf, bp + VPTRSZ, VNODESZ))) {
|
| /src/sbin/atactl/ |
| H A D | atactl.c | 863 print_smart_status(void *vbuf, void *tbuf, const char *vendor) argument 865 const struct ata_smart_attributes *value_buf = vbuf;
|