Searched refs:reqbuf (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | mmap.rst | 60 struct v4l2_requestbuffers reqbuf; 67 memset(&reqbuf, 0, sizeof(reqbuf)); 68 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 69 reqbuf.memory = V4L2_MEMORY_MMAP; 70 reqbuf.count = 20; 72 if (-1 == ioctl (fd, VIDIOC_REQBUFS, &reqbuf)) { 83 if (reqbuf.count < 5) { 89 buffers = calloc(reqbuf.count, sizeof(*buffers)); 92 for (i = 0; i < reqbuf.count; i++) { 96 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 | 34 struct v4l2_requestbuffers reqbuf; 36 memset (&reqbuf, 0, sizeof (reqbuf)); 37 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 38 reqbuf.memory = V4L2_MEMORY_USERPTR; 40 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
|
/Linux-v4.19/drivers/net/wireless/zydas/ |
D | zd1201.c | 879 unsigned char reqbuf[ETH_ALEN*ZD1201_MAXMULTI]; in zd1201_set_multicast() local 887 memcpy(reqbuf + i++ * ETH_ALEN, ha->addr, ETH_ALEN); in zd1201_set_multicast() 888 zd1201_setconfig(zd, ZD1201_RID_CNFGROUPADDRESS, reqbuf, in zd1201_set_multicast()
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/agere/ |
D | et131x.c | 3662 static int et131x_ioctl(struct net_device *netdev, struct ifreq *reqbuf, in et131x_ioctl() argument 3668 return phy_mii_ioctl(netdev->phydev, reqbuf, cmd); in et131x_ioctl()
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_svc.c | 936 void *reqbuf; in bfa_fcxp_get_reqbuf() local 939 reqbuf = bfa_mem_get_dmabuf_kva(mod, fcxp->fcxp_tag, in bfa_fcxp_get_reqbuf() 941 return reqbuf; in bfa_fcxp_get_reqbuf()
|