Searched refs:reqbuf (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
D | mmap.rst | 61 struct v4l2_requestbuffers reqbuf; 68 memset(&reqbuf, 0, sizeof(reqbuf)); 69 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 70 reqbuf.memory = V4L2_MEMORY_MMAP; 71 reqbuf.count = 20; 73 if (-1 == ioctl (fd, VIDIOC_REQBUFS, &reqbuf)) { 84 if (reqbuf.count < 5) { 90 buffers = calloc(reqbuf.count, sizeof(*buffers)); 93 for (i = 0; i < reqbuf.count; i++) { 97 buffer.type = reqbuf.type; [all …]
|
D | dmabuf.rst | 45 struct v4l2_requestbuffers reqbuf; 47 memset(&reqbuf, 0, sizeof (reqbuf)); 48 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 49 reqbuf.memory = V4L2_MEMORY_DMABUF; 50 reqbuf.count = 1; 52 if (ioctl(fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
|
D | userp.rst | 35 struct v4l2_requestbuffers reqbuf; 37 memset (&reqbuf, 0, sizeof (reqbuf)); 38 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 39 reqbuf.memory = V4L2_MEMORY_USERPTR; 41 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
|
/linux-6.1.9/drivers/net/wireless/zydas/ |
D | zd1201.c | 875 unsigned char reqbuf[ETH_ALEN*ZD1201_MAXMULTI]; in zd1201_set_multicast() local 883 memcpy(reqbuf + i++ * ETH_ALEN, ha->addr, ETH_ALEN); in zd1201_set_multicast() 884 zd1201_setconfig(zd, ZD1201_RID_CNFGROUPADDRESS, reqbuf, in zd1201_set_multicast()
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | gr_udc.c | 824 u8 *reqbuf = dev->ep0reqi->req.buf; in gr_ep0_respond() local 829 reqbuf[i] = buf[i]; in gr_ep0_respond()
|
/linux-6.1.9/drivers/scsi/bfa/ |
D | bfa_svc.c | 922 void *reqbuf; in bfa_fcxp_get_reqbuf() local 925 reqbuf = bfa_mem_get_dmabuf_kva(mod, fcxp->fcxp_tag, in bfa_fcxp_get_reqbuf() 927 return reqbuf; in bfa_fcxp_get_reqbuf()
|