Searched refs:reqbuf (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | mmap.rst | 67 struct v4l2_requestbuffers reqbuf; 74 memset(&reqbuf, 0, sizeof(reqbuf)); 75 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 76 reqbuf.memory = V4L2_MEMORY_MMAP; 77 reqbuf.count = 20; 79 if (-1 == ioctl (fd, VIDIOC_REQBUFS, &reqbuf)) { 90 if (reqbuf.count < 5) { 96 buffers = calloc(reqbuf.count, sizeof(*buffers)); 99 for (i = 0; i < reqbuf.count; i++) { 103 buffer.type = reqbuf.type; [all …]
|
| D | dmabuf.rst | 52 struct v4l2_requestbuffers reqbuf; 54 memset(&reqbuf, 0, sizeof (reqbuf)); 55 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 56 reqbuf.memory = V4L2_MEMORY_DMABUF; 57 reqbuf.count = 1; 59 if (ioctl(fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
|
| D | userp.rst | 41 struct v4l2_requestbuffers reqbuf; 43 memset (&reqbuf, 0, sizeof (reqbuf)); 44 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 45 reqbuf.memory = V4L2_MEMORY_USERPTR; 47 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
|
| /Linux-v5.4/drivers/net/wireless/zydas/ |
| D | zd1201.c | 876 unsigned char reqbuf[ETH_ALEN*ZD1201_MAXMULTI]; in zd1201_set_multicast() local 884 memcpy(reqbuf + i++ * ETH_ALEN, ha->addr, ETH_ALEN); in zd1201_set_multicast() 885 zd1201_setconfig(zd, ZD1201_RID_CNFGROUPADDRESS, reqbuf, in zd1201_set_multicast()
|
| /Linux-v5.4/drivers/usb/gadget/udc/ |
| D | gr_udc.c | 823 u8 *reqbuf = dev->ep0reqi->req.buf; in gr_ep0_respond() local 828 reqbuf[i] = buf[i]; in gr_ep0_respond()
|
| /Linux-v5.4/drivers/net/ethernet/agere/ |
| D | et131x.c | 3654 static int et131x_ioctl(struct net_device *netdev, struct ifreq *reqbuf, in et131x_ioctl() argument 3660 return phy_mii_ioctl(netdev->phydev, reqbuf, cmd); in et131x_ioctl()
|
| /Linux-v5.4/drivers/scsi/bfa/ |
| D | bfa_svc.c | 928 void *reqbuf; in bfa_fcxp_get_reqbuf() local 931 reqbuf = bfa_mem_get_dmabuf_kva(mod, fcxp->fcxp_tag, in bfa_fcxp_get_reqbuf() 933 return reqbuf; in bfa_fcxp_get_reqbuf()
|