Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dmmap.rst61 struct v4l2_requestbuffers reqbuf;
68 memset(&reqbuf, 0, sizeof(reqbuf));
70 reqbuf.memory = V4L2_MEMORY_MMAP;
71 reqbuf.count = 20;
84 if (reqbuf.count < 5) {
97 buffer.type = reqbuf.type;
141 memset(&reqbuf, 0, sizeof(reqbuf));
143 reqbuf.memory = V4L2_MEMORY_MMAP;
144 reqbuf.count = 20;
157 if (reqbuf.count < 5) {
[all …]
H A 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) {
H A 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) {
/openbmc/linux/drivers/net/wireless/zydas/
H A 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()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dgr_udc.c823 u8 *reqbuf = dev->ep0reqi->req.buf; in gr_ep0_respond() local
828 reqbuf[i] = buf[i]; in gr_ep0_respond()
/openbmc/linux/drivers/scsi/bfa/
H A 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()