Home
last modified time | relevance | path

Searched refs:fbuf (Results 1 – 15 of 15) sorted by relevance

/drivers/media/platform/ti/omap/
A Domap_voutlib.c46 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()
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()
85 try_win.height : fbuf->fmt.height; in omap_vout_try_window()
87 try_win.width = fbuf->fmt.width - try_win.left; in omap_vout_try_window()
89 try_win.height = fbuf->fmt.height - try_win.top; in omap_vout_try_window()
121 err = omap_vout_try_window(fbuf, new_win); in omap_vout_new_window()
[all …]
A Domap_voutlib.h16 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,
A Domap_vout.c626 vout->fbuf.fmt.height = timing->y_res; in vidioc_try_fmt_vid_out()
627 vout->fbuf.fmt.width = timing->x_res; in vidioc_try_fmt_vid_out()
669 vout->fbuf.fmt.width = timing->y_res; in vidioc_s_fmt_vid_out()
672 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out()
848 vout->fbuf.fmt.width = timing->y_res; in vidioc_s_selection()
851 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_selection()
855 &vout->fbuf, &sel->r); in vidioc_s_selection()
1211 vout->fbuf.fmt.width = timing->x_res; in vidioc_g_fbuf()
1216 a->fmt.width = vout->fbuf.fmt.width; in vidioc_g_fbuf()
1219 a->base = vout->fbuf.base; in vidioc_g_fbuf()
[all …]
A Domap_voutdef.h149 struct v4l2_framebuffer fbuf; member
/drivers/media/usb/pwc/
A Dpwc-uncompress.c21 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf) in pwc_decompress() argument
28 image = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in pwc_decompress()
30 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */ in pwc_decompress()
43 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress()
48 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress()
A Dpwc-if.c220 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_frame_complete() local
252 if (fbuf->filled == 4) in pwc_frame_complete()
267 if (fbuf->filled < pdev->frame_total_size) { in pwc_frame_complete()
269 fbuf->filled); in pwc_frame_complete()
271 fbuf->vb.field = V4L2_FIELD_NONE; in pwc_frame_complete()
272 fbuf->vb.sequence = pdev->vframe_count; in pwc_frame_complete()
353 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_isoc_handler() local
356 fbuf->vb.vb2_buf.timestamp = ktime_get_ns(); in pwc_isoc_handler()
362 flen + fbuf->filled, in pwc_isoc_handler()
366 memcpy(fbuf->data + fbuf->filled, iso_buf, in pwc_isoc_handler()
[all …]
A Dpwc.h381 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf);
/drivers/media/platform/renesas/
A Drcar_fdp1.c723 if (!fbuf) in fdp1_field_complete()
726 if (fbuf->last_field) in fdp1_field_complete()
752 if (fbuf) in fdp1_dequeue_field()
753 list_del(&fbuf->list); in fdp1_dequeue_field()
756 return fbuf; in fdp1_dequeue_field()
773 return fbuf; in fdp1_peek_queued_field()
1183 struct fdp1_buffer *fbuf; in fdp1_prepare_job() local
1283 i, fbuf->last_field); in fdp1_m2m_device_run()
1796 fbuf->vb = vbuf; in fdp1_buf_prepare_field()
1835 fbuf->addrs[i] += in fdp1_buf_prepare_field()
[all …]
A Drcar_drif.c310 list_del(&fbuf->list); in rcar_drif_release_queued_bufs()
445 struct rcar_drif_frame_buf *fbuf = in rcar_drif_buf_queue() local
459 struct rcar_drif_frame_buf *fbuf; in rcar_drif_get_fbuf() local
465 if (!fbuf) { in rcar_drif_get_fbuf()
474 list_del(&fbuf->list); in rcar_drif_get_fbuf()
477 return fbuf; in rcar_drif_get_fbuf()
524 struct rcar_drif_frame_buf *fbuf; in rcar_drif_dma_complete() local
576 fbuf = rcar_drif_get_fbuf(sdr); in rcar_drif_dma_complete()
577 if (!fbuf) in rcar_drif_dma_complete()
584 fbuf->vb.field = V4L2_FIELD_NONE; in rcar_drif_dma_complete()
[all …]
/drivers/crypto/xilinx/
A Dzynqmp-sha.c40 static char *ubuf, *fbuf; variable
153 memcpy(out, fbuf, SHA3_384_DIGEST_SIZE); in __zynqmp_sha_digest()
154 memzero_explicit(fbuf, SHA3_384_DIGEST_SIZE); in __zynqmp_sha_digest()
221 fbuf = dma_alloc_coherent(dev, SHA3_384_DIGEST_SIZE, &final_dma_addr, GFP_KERNEL); in zynqmp_sha_probe()
222 if (!fbuf) { in zynqmp_sha_probe()
243 dma_free_coherent(sha3_drv_ctx.dev, SHA3_384_DIGEST_SIZE, fbuf, final_dma_addr); in zynqmp_sha_remove()
/drivers/media/usb/airspy/
A Dairspy.c270 struct airspy_frame_buf *fbuf; in airspy_urb_complete() local
293 fbuf = airspy_get_next_fill_buf(s); in airspy_urb_complete()
294 if (unlikely(fbuf == NULL)) { in airspy_urb_complete()
303 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in airspy_urb_complete()
306 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, len); in airspy_urb_complete()
307 fbuf->vb.vb2_buf.timestamp = ktime_get_ns(); in airspy_urb_complete()
308 fbuf->vb.sequence = s->sequence++; in airspy_urb_complete()
309 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in airspy_urb_complete()
/drivers/media/usb/msi2500/
A Dmsi2500.c368 struct msi2500_frame_buf *fbuf; in msi2500_isoc_handler() local
410 fbuf = msi2500_get_next_fill_buf(dev); in msi2500_isoc_handler()
411 if (unlikely(fbuf == NULL)) { in msi2500_isoc_handler()
420 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in msi2500_isoc_handler()
422 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, flen); in msi2500_isoc_handler()
423 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in msi2500_isoc_handler()
/drivers/media/dvb-frontends/
A Drtl2832_sdr.c221 struct rtl2832_sdr_frame_buf *fbuf; in rtl2832_sdr_urb_complete() local
244 fbuf = rtl2832_sdr_get_next_fill_buf(dev); in rtl2832_sdr_urb_complete()
245 if (unlikely(fbuf == NULL)) { in rtl2832_sdr_urb_complete()
254 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in rtl2832_sdr_urb_complete()
257 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, len); in rtl2832_sdr_urb_complete()
258 fbuf->vb.vb2_buf.timestamp = ktime_get_ns(); in rtl2832_sdr_urb_complete()
259 fbuf->vb.sequence = dev->sequence++; in rtl2832_sdr_urb_complete()
260 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in rtl2832_sdr_urb_complete()
/drivers/scsi/csiostor/
A Dcsio_wr.c1052 struct csio_dma_buf *buf, *fbuf; in csio_wr_process_fl() local
1073 for (fbuf = flb.flbufs; ; fbuf++) { in csio_wr_process_fl()
1077 fbuf->paddr = buf->paddr; in csio_wr_process_fl()
1078 fbuf->vaddr = buf->vaddr; in csio_wr_process_fl()
1082 fbuf->len = lastlen; in csio_wr_process_fl()
/drivers/media/pci/bt8xx/
A Dbttvp.h380 struct v4l2_framebuffer fbuf; member

Completed in 51 milliseconds