Home
last modified time | relevance | path

Searched refs:reqbuf (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dmmap.rst61 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 …]
Ddmabuf.rst45 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) {
Duserp.rst35 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/
Dzd1201.c875 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/
Dgr_udc.c824 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/
Dbfa_svc.c922 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()