/linux-4.4.14/drivers/media/platform/omap/ |
D | omap_voutlib.c | 44 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) in omap_vout_default_crop() argument 46 crop->width = (pix->width < fbuf->fmt.width) ? in omap_vout_default_crop() 47 pix->width : fbuf->fmt.width; in omap_vout_default_crop() 48 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop() 49 pix->height : fbuf->fmt.height; in omap_vout_default_crop() 63 int omap_vout_try_window(struct v4l2_framebuffer *fbuf, in omap_vout_try_window() argument 82 try_win.width = (try_win.width < fbuf->fmt.width) ? in omap_vout_try_window() 83 try_win.width : fbuf->fmt.width; in omap_vout_try_window() 84 try_win.height = (try_win.height < fbuf->fmt.height) ? in omap_vout_try_window() 85 try_win.height : fbuf->fmt.height; in omap_vout_try_window() [all …]
|
D | omap_voutlib.h | 16 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop); 20 struct v4l2_framebuffer *fbuf, 23 int omap_vout_try_window(struct v4l2_framebuffer *fbuf, 27 struct v4l2_window *win, struct v4l2_framebuffer *fbuf, 31 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop,
|
D | omap_vout.c | 1098 vout->fbuf.fmt.height = timing->y_res; in vidioc_try_fmt_vid_out() 1099 vout->fbuf.fmt.width = timing->x_res; in vidioc_try_fmt_vid_out() 1142 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_fmt_vid_out() 1143 vout->fbuf.fmt.width = timing->y_res; in vidioc_s_fmt_vid_out() 1145 vout->fbuf.fmt.height = timing->y_res; in vidioc_s_fmt_vid_out() 1146 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out() 1165 omap_vout_new_format(&vout->pix, &vout->fbuf, &vout->crop, &vout->win); in vidioc_s_fmt_vid_out() 1186 ret = omap_vout_try_window(&vout->fbuf, win); in vidioc_try_fmt_vid_overlay() 1211 ret = omap_vout_new_window(&vout->crop, &vout->win, &vout->fbuf, win); in vidioc_s_fmt_vid_overlay() 1263 omap_vout_default_crop(&vout->pix, &vout->fbuf, &cropcap->defrect); in vidioc_cropcap() [all …]
|
D | omap_voutdef.h | 147 struct v4l2_framebuffer fbuf; member
|
/linux-4.4.14/drivers/media/usb/pwc/ |
D | pwc-uncompress.c | 36 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf) in pwc_decompress() argument 43 image = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in pwc_decompress() 45 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */ in pwc_decompress() 58 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress() 63 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress()
|
D | pwc-if.c | 193 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_frame_complete() local 200 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete() 225 if (fbuf->filled == 4) in pwc_frame_complete() 228 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete() 240 if (fbuf->filled < pdev->frame_total_size) { in pwc_frame_complete() 242 " discarded.\n", fbuf->filled); in pwc_frame_complete() 244 fbuf->vb.field = V4L2_FIELD_NONE; in pwc_frame_complete() 245 fbuf->vb.sequence = pdev->vframe_count; in pwc_frame_complete() 246 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in pwc_frame_complete() 317 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_isoc_handler() local [all …]
|
D | pwc.h | 393 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf);
|
/linux-4.4.14/sound/usb/line6/ |
D | capture.c | 88 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) in line6_capture_copy() argument 110 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy() 112 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 122 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy() 164 char *fbuf; in audio_in_callback() local 173 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback() 185 line6pcm->prev_fbuf = fbuf; in audio_in_callback() 191 line6_capture_copy(line6pcm, fbuf, fsize); in audio_in_callback()
|
D | capture.h | 22 extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
|
/linux-4.4.14/include/media/ |
D | videobuf-core.h | 127 struct v4l2_framebuffer *fbuf); 180 struct v4l2_framebuffer *fbuf);
|
/linux-4.4.14/drivers/media/usb/airspy/ |
D | airspy.c | 282 struct airspy_frame_buf *fbuf; in airspy_urb_complete() local 305 fbuf = airspy_get_next_fill_buf(s); in airspy_urb_complete() 306 if (unlikely(fbuf == NULL)) { in airspy_urb_complete() 315 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in airspy_urb_complete() 318 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, len); in airspy_urb_complete() 319 v4l2_get_timestamp(&fbuf->vb.timestamp); in airspy_urb_complete() 320 fbuf->vb.sequence = s->sequence++; in airspy_urb_complete() 321 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in airspy_urb_complete()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_ialloc.c | 260 struct xfs_buf *fbuf; in xfs_ialloc_inode_init() local 320 fbuf = xfs_trans_get_buf(tp, mp->m_ddev_targp, d, in xfs_ialloc_inode_init() 323 if (!fbuf) in xfs_ialloc_inode_init() 327 fbuf->b_ops = &xfs_inode_buf_ops; in xfs_ialloc_inode_init() 328 xfs_buf_zero(fbuf, 0, BBTOB(fbuf->b_length)); in xfs_ialloc_inode_init() 333 free = xfs_make_iptr(mp, fbuf, i); in xfs_ialloc_inode_init() 347 xfs_trans_log_buf(tp, fbuf, ioffset, in xfs_ialloc_inode_init() 361 xfs_trans_inode_alloc_buf(tp, fbuf); in xfs_ialloc_inode_init() 369 xfs_trans_ordered_buf(tp, fbuf); in xfs_ialloc_inode_init() 370 xfs_trans_log_buf(tp, fbuf, 0, in xfs_ialloc_inode_init() [all …]
|
/linux-4.4.14/drivers/media/usb/msi2500/ |
D | msi2500.c | 384 struct msi2500_frame_buf *fbuf; in msi2500_isoc_handler() local 426 fbuf = msi2500_get_next_fill_buf(dev); in msi2500_isoc_handler() 427 if (unlikely(fbuf == NULL)) { in msi2500_isoc_handler() 436 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in msi2500_isoc_handler() 438 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, flen); in msi2500_isoc_handler() 439 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in msi2500_isoc_handler()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 276 struct rtl2832_sdr_frame_buf *fbuf; in rtl2832_sdr_urb_complete() local 299 fbuf = rtl2832_sdr_get_next_fill_buf(dev); in rtl2832_sdr_urb_complete() 300 if (unlikely(fbuf == NULL)) { in rtl2832_sdr_urb_complete() 309 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in rtl2832_sdr_urb_complete() 312 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, len); in rtl2832_sdr_urb_complete() 313 v4l2_get_timestamp(&fbuf->vb.timestamp); in rtl2832_sdr_urb_complete() 314 fbuf->vb.sequence = dev->sequence++; in rtl2832_sdr_urb_complete() 315 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in rtl2832_sdr_urb_complete()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf-dma-sg.c | 501 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument 547 if (NULL == fbuf) in __videobuf_iolock() 555 bus = (dma_addr_t)(unsigned long)fbuf->base + vb->boff; in __videobuf_iolock()
|
D | videobuf-vmalloc.c | 159 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument
|
D | videobuf-dma-contig.c | 238 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument
|
D | videobuf-core.c | 122 struct v4l2_framebuffer *fbuf) in videobuf_iolock() argument 127 return CALL(q, iolock, q, vb, fbuf); in videobuf_iolock()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_wr.c | 1046 struct csio_dma_buf *buf, *fbuf; in csio_wr_process_fl() local 1068 for (n = 0, fbuf = flb.flbufs; ; n++, fbuf++) { in csio_wr_process_fl() 1072 fbuf->paddr = buf->paddr; in csio_wr_process_fl() 1073 fbuf->vaddr = buf->vaddr; in csio_wr_process_fl() 1077 fbuf->len = lastlen; in csio_wr_process_fl()
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 1643 if (0 != (rc = videobuf_iolock(q,&buf->vb,&btv->fbuf))) in bttv_prepare_buffer() 2199 if (NULL != btv->fbuf.base) in setup_window_lock() 2200 n = btcx_screen_clips(btv->fbuf.fmt.width, btv->fbuf.fmt.height, in setup_window_lock() 2595 *fb = btv->fbuf; in bttv_g_fbuf() 2612 if (unlikely(!btv->fbuf.base)) { in bttv_overlay() 2675 btv->fbuf.base = fb->base; in bttv_s_fbuf() 2676 btv->fbuf.fmt.width = fb->fmt.width; in bttv_s_fbuf() 2677 btv->fbuf.fmt.height = fb->fmt.height; in bttv_s_fbuf() 2679 btv->fbuf.fmt.bytesperline = fb->fmt.bytesperline; in bttv_s_fbuf() 2681 btv->fbuf.fmt.bytesperline = btv->fbuf.fmt.width*fmt->depth/8; in bttv_s_fbuf()
|
D | bttv-risc.c | 276 addr = (unsigned long)btv->fbuf.base; in bttv_risc_overlay() 277 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay() 282 line++, addr += btv->fbuf.fmt.bytesperline) { in bttv_risc_overlay()
|
D | bttvp.h | 435 struct v4l2_framebuffer fbuf; member
|
/linux-4.4.14/drivers/media/usb/usbvision/ |
D | usbvision-core.c | 1788 usbvision->fbuf = usbvision_rvmalloc(usbvision->fbuf_size); in usbvision_frames_alloc() 1789 if (usbvision->fbuf) in usbvision_frames_alloc() 1798 usbvision->frame[i].data = usbvision->fbuf + in usbvision_frames_alloc() 1823 if (usbvision->fbuf != NULL) { in usbvision_frames_free() 1824 usbvision_rvfree(usbvision->fbuf, usbvision->fbuf_size); in usbvision_frames_free() 1825 usbvision->fbuf = NULL; in usbvision_frames_free()
|
D | usbvision.h | 407 char *fbuf; /* Videodev buffer area for mmap*/ member
|
/linux-4.4.14/drivers/media/pci/ngene/ |
D | ngene.h | 713 struct v4l2_framebuffer fbuf; member
|
/linux-4.4.14/Documentation/video4linux/ |
D | videobuf | 95 struct v4l2_framebuffer *fbuf);
|
D | vivid.txt | 1053 $ sudo v4l2-ctl -d2 --set-fbuf fb=1 1054 $ v4l2-ctl -d1 --set-fbuf fb=1
|
/linux-4.4.14/drivers/staging/dgap/ |
D | dgap.c | 1392 unsigned char *fbuf, int *len) in dgap_parity_scan() argument 1401 fout = fbuf; in dgap_parity_scan()
|