/Linux-v4.19/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 | 1099 vout->fbuf.fmt.height = timing->y_res; in vidioc_try_fmt_vid_out() 1100 vout->fbuf.fmt.width = timing->x_res; in vidioc_try_fmt_vid_out() 1143 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_fmt_vid_out() 1144 vout->fbuf.fmt.width = timing->y_res; in vidioc_s_fmt_vid_out() 1146 vout->fbuf.fmt.height = timing->y_res; in vidioc_s_fmt_vid_out() 1147 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out() 1166 omap_vout_new_format(&vout->pix, &vout->fbuf, &vout->crop, &vout->win); in vidioc_s_fmt_vid_out() 1187 ret = omap_vout_try_window(&vout->fbuf, win); in vidioc_try_fmt_vid_overlay() 1212 ret = omap_vout_new_window(&vout->crop, &vout->win, &vout->fbuf, win); in vidioc_s_fmt_vid_overlay() 1264 omap_vout_default_crop(&vout->pix, &vout->fbuf, &sel->r); in vidioc_g_selection() [all …]
|
D | omap_voutdef.h | 151 struct v4l2_framebuffer fbuf; member
|
/Linux-v4.19/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 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() 318 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-v4.19/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 112 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy() 114 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 124 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy() 166 char *fbuf; in audio_in_callback() local 175 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback() 195 line6pcm->prev_fbuf = fbuf; in audio_in_callback() 203 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-v4.19/drivers/media/platform/ |
D | rcar_fdp1.c | 718 struct fdp1_field_buffer *fbuf) in fdp1_field_complete() argument 721 if (!fbuf) in fdp1_field_complete() 724 if (fbuf->last_field) in fdp1_field_complete() 725 v4l2_m2m_buf_done(fbuf->vb, VB2_BUF_STATE_DONE); in fdp1_field_complete() 729 struct fdp1_field_buffer *fbuf) in fdp1_queue_field() argument 734 list_add_tail(&fbuf->list, &ctx->fields_queue); in fdp1_queue_field() 742 struct fdp1_field_buffer *fbuf; in fdp1_dequeue_field() local 748 fbuf = list_first_entry_or_null(&ctx->fields_queue, in fdp1_dequeue_field() 750 if (fbuf) in fdp1_dequeue_field() 751 list_del(&fbuf->list); in fdp1_dequeue_field() [all …]
|
D | rcar_drif.c | 306 struct rcar_drif_frame_buf *fbuf, *tmp; in rcar_drif_release_queued_bufs() local 310 list_for_each_entry_safe(fbuf, tmp, &sdr->queued_bufs, list) { in rcar_drif_release_queued_bufs() 311 list_del(&fbuf->list); in rcar_drif_release_queued_bufs() 312 vb2_buffer_done(&fbuf->vb.vb2_buf, state); in rcar_drif_release_queued_bufs() 445 struct rcar_drif_frame_buf *fbuf = in rcar_drif_buf_queue() local 451 list_add_tail(&fbuf->list, &sdr->queued_bufs); in rcar_drif_buf_queue() 459 struct rcar_drif_frame_buf *fbuf; in rcar_drif_get_fbuf() local 463 fbuf = list_first_entry_or_null(&sdr->queued_bufs, struct in rcar_drif_get_fbuf() 465 if (!fbuf) { in rcar_drif_get_fbuf() 474 list_del(&fbuf->list); in rcar_drif_get_fbuf() [all …]
|
/Linux-v4.19/include/media/ |
D | videobuf-core.h | 127 struct v4l2_framebuffer *fbuf); 180 struct v4l2_framebuffer *fbuf);
|
/Linux-v4.19/drivers/media/usb/airspy/ |
D | airspy.c | 281 struct airspy_frame_buf *fbuf; in airspy_urb_complete() local 304 fbuf = airspy_get_next_fill_buf(s); in airspy_urb_complete() 305 if (unlikely(fbuf == NULL)) { in airspy_urb_complete() 314 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in airspy_urb_complete() 317 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, len); in airspy_urb_complete() 318 fbuf->vb.vb2_buf.timestamp = ktime_get_ns(); in airspy_urb_complete() 319 fbuf->vb.sequence = s->sequence++; in airspy_urb_complete() 320 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in airspy_urb_complete()
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | dev-osd.rst | 63 struct v4l2_framebuffer fbuf; 67 if (-1 == ioctl(fd, VIDIOC_G_FBUF, &fbuf)) { 92 if (si.smem_start == (unsigned long)fbuf.base)
|
D | user-func.rst | 42 vidioc-g-fbuf
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_ialloc.c | 289 struct xfs_buf *fbuf; in xfs_ialloc_inode_init() local 349 fbuf = xfs_trans_get_buf(tp, mp->m_ddev_targp, d, in xfs_ialloc_inode_init() 352 if (!fbuf) in xfs_ialloc_inode_init() 356 fbuf->b_ops = &xfs_inode_buf_ops; in xfs_ialloc_inode_init() 357 xfs_buf_zero(fbuf, 0, BBTOB(fbuf->b_length)); in xfs_ialloc_inode_init() 362 free = xfs_make_iptr(mp, fbuf, i); in xfs_ialloc_inode_init() 376 xfs_trans_log_buf(tp, fbuf, ioffset, in xfs_ialloc_inode_init() 390 xfs_trans_inode_alloc_buf(tp, fbuf); in xfs_ialloc_inode_init() 398 xfs_trans_ordered_buf(tp, fbuf); in xfs_ialloc_inode_init() 401 fbuf->b_flags |= XBF_DONE; in xfs_ialloc_inode_init() [all …]
|
/Linux-v4.19/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-v4.19/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 237 struct rtl2832_sdr_frame_buf *fbuf; in rtl2832_sdr_urb_complete() local 260 fbuf = rtl2832_sdr_get_next_fill_buf(dev); in rtl2832_sdr_urb_complete() 261 if (unlikely(fbuf == NULL)) { in rtl2832_sdr_urb_complete() 270 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in rtl2832_sdr_urb_complete() 273 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, len); in rtl2832_sdr_urb_complete() 274 fbuf->vb.vb2_buf.timestamp = ktime_get_ns(); in rtl2832_sdr_urb_complete() 275 fbuf->vb.sequence = dev->sequence++; in rtl2832_sdr_urb_complete() 276 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in rtl2832_sdr_urb_complete()
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | videobuf-dma-sg.c | 504 struct v4l2_framebuffer *fbuf) in __videobuf_iolock() argument 550 if (NULL == fbuf) in __videobuf_iolock() 558 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
|
/Linux-v4.19/drivers/scsi/csiostor/ |
D | csio_wr.c | 1049 struct csio_dma_buf *buf, *fbuf; in csio_wr_process_fl() local 1071 for (n = 0, fbuf = flb.flbufs; ; n++, fbuf++) { in csio_wr_process_fl() 1075 fbuf->paddr = buf->paddr; in csio_wr_process_fl() 1076 fbuf->vaddr = buf->vaddr; in csio_wr_process_fl() 1080 fbuf->len = lastlen; in csio_wr_process_fl()
|
/Linux-v4.19/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 1642 if (0 != (rc = videobuf_iolock(q,&buf->vb,&btv->fbuf))) in bttv_prepare_buffer() 2185 if (NULL != btv->fbuf.base) in setup_window_lock() 2186 n = btcx_screen_clips(btv->fbuf.fmt.width, btv->fbuf.fmt.height, in setup_window_lock() 2581 *fb = btv->fbuf; in bttv_g_fbuf() 2598 if (unlikely(!btv->fbuf.base)) { in bttv_overlay() 2661 btv->fbuf.base = fb->base; in bttv_s_fbuf() 2662 btv->fbuf.fmt.width = fb->fmt.width; in bttv_s_fbuf() 2663 btv->fbuf.fmt.height = fb->fmt.height; in bttv_s_fbuf() 2665 btv->fbuf.fmt.bytesperline = fb->fmt.bytesperline; in bttv_s_fbuf() 2667 btv->fbuf.fmt.bytesperline = btv->fbuf.fmt.width*fmt->depth/8; in bttv_s_fbuf()
|
D | bttv-risc.c | 278 addr = (unsigned long)btv->fbuf.base; in bttv_risc_overlay() 279 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay() 284 line++, addr += btv->fbuf.fmt.bytesperline) { in bttv_risc_overlay()
|
/Linux-v4.19/drivers/media/usb/usbvision/ |
D | usbvision-core.c | 1777 usbvision->fbuf = usbvision_rvmalloc(usbvision->fbuf_size); in usbvision_frames_alloc() 1778 if (usbvision->fbuf) in usbvision_frames_alloc() 1787 usbvision->frame[i].data = usbvision->fbuf + in usbvision_frames_alloc() 1812 if (usbvision->fbuf != NULL) { in usbvision_frames_free() 1813 usbvision_rvfree(usbvision->fbuf, usbvision->fbuf_size); in usbvision_frames_free() 1814 usbvision->fbuf = NULL; in usbvision_frames_free()
|
D | usbvision.h | 402 char *fbuf; /* Videodev buffer area for mmap*/ member
|