Home
last modified time | relevance | path

Searched refs:fbuf (Results 1 - 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/platform/omap/
H A Domap_voutlib.c38 * size in pix and the video display size in fbuf. The default
44 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) in omap_vout_default_crop()
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 in omap_vout_try_window()
43 omap_vout_default_crop(struct v4l2_pix_format *pix, struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) omap_vout_default_crop() argument
115 omap_vout_new_window(struct v4l2_rect *crop, struct v4l2_window *win, struct v4l2_framebuffer *fbuf, struct v4l2_window *new_win) omap_vout_new_window() argument
169 omap_vout_new_crop(struct v4l2_pix_format *pix, struct v4l2_rect *crop, struct v4l2_window *win, struct v4l2_framebuffer *fbuf, const struct v4l2_rect *new_crop) omap_vout_new_crop() argument
285 omap_vout_new_format(struct v4l2_pix_format *pix, struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop, struct v4l2_window *win) omap_vout_new_format() argument
[all...]
H 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,
H A Domap_vout.c625 vout->fbuf.fmt.height = timing->y_res; in vidioc_try_fmt_vid_out()
626 vout->fbuf.fmt.width = timing->x_res; in vidioc_try_fmt_vid_out()
667 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_fmt_vid_out()
668 vout->fbuf.fmt.width = timing->y_res; in vidioc_s_fmt_vid_out()
670 vout->fbuf.fmt.height = timing->y_res; in vidioc_s_fmt_vid_out()
671 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out()
690 omap_vout_new_format(&vout->pix, &vout->fbuf, &vout->crop, &vout->win); in vidioc_s_fmt_vid_out()
710 ret = omap_vout_try_window(&vout->fbuf, win); in vidioc_try_fmt_vid_overlay()
730 ret = omap_vout_new_window(&vout->crop, &vout->win, &vout->fbuf, win); in vidioc_s_fmt_vid_overlay()
741 if (vout->fbuf in vidioc_s_fmt_vid_overlay()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap/
H A Domap_voutlib.c38 * size in pix and the video display size in fbuf. The default
44 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) in omap_vout_default_crop()
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 in omap_vout_try_window()
43 omap_vout_default_crop(struct v4l2_pix_format *pix, struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) omap_vout_default_crop() argument
115 omap_vout_new_window(struct v4l2_rect *crop, struct v4l2_window *win, struct v4l2_framebuffer *fbuf, struct v4l2_window *new_win) omap_vout_new_window() argument
169 omap_vout_new_crop(struct v4l2_pix_format *pix, struct v4l2_rect *crop, struct v4l2_window *win, struct v4l2_framebuffer *fbuf, const struct v4l2_rect *new_crop) omap_vout_new_crop() argument
285 omap_vout_new_format(struct v4l2_pix_format *pix, struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop, struct v4l2_window *win) omap_vout_new_format() argument
[all...]
H 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,
H 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()
668 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_fmt_vid_out()
669 vout->fbuf.fmt.width = timing->y_res; in vidioc_s_fmt_vid_out()
671 vout->fbuf.fmt.height = timing->y_res; in vidioc_s_fmt_vid_out()
672 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out()
691 omap_vout_new_format(&vout->pix, &vout->fbuf, &vout->crop, &vout->win); in vidioc_s_fmt_vid_out()
711 ret = omap_vout_try_window(&vout->fbuf, win); in vidioc_try_fmt_vid_overlay()
731 ret = omap_vout_new_window(&vout->crop, &vout->win, &vout->fbuf, win); in vidioc_s_fmt_vid_overlay()
742 if (vout->fbuf in vidioc_s_fmt_vid_overlay()
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dpwc.h16 __field(struct pwc_frame_buf*, fbuf)
24 __entry->fbuf = pdev->fill_buf;
31 TP_printk("dev=%s (fbuf=%p filled=%d) urb=%p (status=%d actual_length=%u)",
33 __entry->fbuf,
45 __field(struct pwc_frame_buf*, fbuf)
51 __entry->fbuf = pdev->fill_buf;
55 TP_printk(" dev=%s (fbuf=%p filled=%d) urb=%p",
57 __entry->fbuf,
/kernel/linux/linux-6.6/include/trace/events/
H A Dpwc.h16 __field(struct pwc_frame_buf*, fbuf)
24 __entry->fbuf = pdev->fill_buf;
31 TP_printk("dev=%s (fbuf=%p filled=%d) urb=%p (status=%d actual_length=%u)",
33 __entry->fbuf,
45 __field(struct pwc_frame_buf*, fbuf)
51 __entry->fbuf = pdev->fill_buf;
55 TP_printk(" dev=%s (fbuf=%p filled=%d) urb=%p",
57 __entry->fbuf,
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
H A Dpwc-uncompress.c24 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf) in pwc_decompress() argument
31 image = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in pwc_decompress()
33 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */ in pwc_decompress()
46 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress()
51 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, in pwc_decompress()
H A Dpwc-if.c221 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_frame_complete() local
228 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete()
253 if (fbuf->filled == 4) in pwc_frame_complete()
256 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete()
268 if (fbuf->filled < pdev->frame_total_size) { in pwc_frame_complete()
270 fbuf->filled); in pwc_frame_complete()
272 fbuf->vb.field = V4L2_FIELD_NONE; in pwc_frame_complete()
273 fbuf->vb.sequence = pdev->vframe_count; in pwc_frame_complete()
274 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in pwc_frame_complete()
354 struct pwc_frame_buf *fbuf in pwc_isoc_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/pwc/
H 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()
H A Dpwc-if.c221 struct pwc_frame_buf *fbuf = pdev->fill_buf; in pwc_frame_complete() local
228 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete()
253 if (fbuf->filled == 4) in pwc_frame_complete()
256 unsigned char *ptr = (unsigned char *)fbuf->data; in pwc_frame_complete()
268 if (fbuf->filled < pdev->frame_total_size) { in pwc_frame_complete()
270 fbuf->filled); in pwc_frame_complete()
272 fbuf->vb.field = V4L2_FIELD_NONE; in pwc_frame_complete()
273 fbuf->vb.sequence = pdev->vframe_count; in pwc_frame_complete()
274 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in pwc_frame_complete()
354 struct pwc_frame_buf *fbuf in pwc_isoc_handler() local
[all...]
/kernel/linux/linux-5.10/sound/usb/line6/
H A Dcapture.c84 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) in line6_capture_copy() argument
108 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy()
110 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy()
120 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
162 char *fbuf; in audio_in_callback() local
171 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback()
191 line6pcm->prev_fbuf = fbuf; in audio_in_callback()
199 line6_capture_copy(line6pcm, fbuf, fsize); in audio_in_callback()
H A Dcapture.h18 extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
/kernel/linux/linux-6.6/sound/usb/line6/
H A Dcapture.c84 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) in line6_capture_copy() argument
108 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy()
110 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy()
120 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
162 char *fbuf; in audio_in_callback() local
171 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback()
191 line6pcm->prev_fbuf = fbuf; in audio_in_callback()
199 line6_capture_copy(line6pcm, fbuf, fsize); in audio_in_callback()
H A Dcapture.h18 extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
/kernel/linux/linux-6.6/drivers/crypto/xilinx/
H A Dzynqmp-sha.c44 static char *ubuf, *fbuf; variable
156 memcpy(out, fbuf, SHA3_384_DIGEST_SIZE); in zynqmp_sha_digest()
157 memzero_explicit(fbuf, SHA3_384_DIGEST_SIZE); in zynqmp_sha_digest()
224 fbuf = dma_alloc_coherent(dev, SHA3_384_DIGEST_SIZE, &final_dma_addr, GFP_KERNEL); in zynqmp_sha_probe()
225 if (!fbuf) { in zynqmp_sha_probe()
246 dma_free_coherent(sha3_drv_ctx.dev, SHA3_384_DIGEST_SIZE, fbuf, final_dma_addr); in zynqmp_sha_remove()
/kernel/linux/linux-5.10/drivers/media/platform/
H A Drcar_fdp1.c720 struct fdp1_field_buffer *fbuf) in fdp1_field_complete()
723 if (!fbuf) in fdp1_field_complete()
726 if (fbuf->last_field) in fdp1_field_complete()
727 v4l2_m2m_buf_done(fbuf->vb, VB2_BUF_STATE_DONE); in fdp1_field_complete()
731 struct fdp1_field_buffer *fbuf) in fdp1_queue_field()
736 list_add_tail(&fbuf->list, &ctx->fields_queue); in fdp1_queue_field()
744 struct fdp1_field_buffer *fbuf; in fdp1_dequeue_field() local
750 fbuf = list_first_entry_or_null(&ctx->fields_queue, in fdp1_dequeue_field()
752 if (fbuf) in fdp1_dequeue_field()
753 list_del(&fbuf in fdp1_dequeue_field()
719 fdp1_field_complete(struct fdp1_ctx *ctx, struct fdp1_field_buffer *fbuf) fdp1_field_complete() argument
730 fdp1_queue_field(struct fdp1_ctx *ctx, struct fdp1_field_buffer *fbuf) fdp1_queue_field() argument
765 struct fdp1_field_buffer *fbuf; fdp1_peek_queued_field() local
1183 struct fdp1_buffer *fbuf; fdp1_prepare_job() local
1279 struct fdp1_field_buffer *fbuf = &buf->fields[i]; fdp1_m2m_device_run() local
1794 struct fdp1_field_buffer *fbuf = &buf->fields[field_num]; fdp1_buf_prepare_field() local
1986 struct fdp1_field_buffer *fbuf; fdp1_stop_streaming() local
[all...]
H A Drcar_drif.c309 struct rcar_drif_frame_buf *fbuf, *tmp; in rcar_drif_release_queued_bufs() local
313 list_for_each_entry_safe(fbuf, tmp, &sdr->queued_bufs, list) { in rcar_drif_release_queued_bufs()
314 list_del(&fbuf->list); in rcar_drif_release_queued_bufs()
315 vb2_buffer_done(&fbuf->vb.vb2_buf, state); in rcar_drif_release_queued_bufs()
448 struct rcar_drif_frame_buf *fbuf = in rcar_drif_buf_queue() local
454 list_add_tail(&fbuf->list, &sdr->queued_bufs); in rcar_drif_buf_queue()
462 struct rcar_drif_frame_buf *fbuf; in rcar_drif_get_fbuf() local
466 fbuf = list_first_entry_or_null(&sdr->queued_bufs, struct in rcar_drif_get_fbuf()
468 if (!fbuf) { in rcar_drif_get_fbuf()
477 list_del(&fbuf in rcar_drif_get_fbuf()
527 struct rcar_drif_frame_buf *fbuf; rcar_drif_dma_complete() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/
H A Drcar_fdp1.c720 struct fdp1_field_buffer *fbuf) in fdp1_field_complete()
723 if (!fbuf) in fdp1_field_complete()
726 if (fbuf->last_field) in fdp1_field_complete()
727 v4l2_m2m_buf_done(fbuf->vb, VB2_BUF_STATE_DONE); in fdp1_field_complete()
731 struct fdp1_field_buffer *fbuf) in fdp1_queue_field()
736 list_add_tail(&fbuf->list, &ctx->fields_queue); in fdp1_queue_field()
744 struct fdp1_field_buffer *fbuf; in fdp1_dequeue_field() local
750 fbuf = list_first_entry_or_null(&ctx->fields_queue, in fdp1_dequeue_field()
752 if (fbuf) in fdp1_dequeue_field()
753 list_del(&fbuf in fdp1_dequeue_field()
719 fdp1_field_complete(struct fdp1_ctx *ctx, struct fdp1_field_buffer *fbuf) fdp1_field_complete() argument
730 fdp1_queue_field(struct fdp1_ctx *ctx, struct fdp1_field_buffer *fbuf) fdp1_queue_field() argument
765 struct fdp1_field_buffer *fbuf; fdp1_peek_queued_field() local
1183 struct fdp1_buffer *fbuf; fdp1_prepare_job() local
1279 struct fdp1_field_buffer *fbuf = &buf->fields[i]; fdp1_m2m_device_run() local
1790 struct fdp1_field_buffer *fbuf = &buf->fields[field_num]; fdp1_buf_prepare_field() local
1982 struct fdp1_field_buffer *fbuf; fdp1_stop_streaming() local
[all...]
H A Drcar_drif.c305 struct rcar_drif_frame_buf *fbuf, *tmp; in rcar_drif_release_queued_bufs() local
309 list_for_each_entry_safe(fbuf, tmp, &sdr->queued_bufs, list) { in rcar_drif_release_queued_bufs()
310 list_del(&fbuf->list); in rcar_drif_release_queued_bufs()
311 vb2_buffer_done(&fbuf->vb.vb2_buf, state); in rcar_drif_release_queued_bufs()
444 struct rcar_drif_frame_buf *fbuf = in rcar_drif_buf_queue() local
450 list_add_tail(&fbuf->list, &sdr->queued_bufs); in rcar_drif_buf_queue()
458 struct rcar_drif_frame_buf *fbuf; in rcar_drif_get_fbuf() local
462 fbuf = list_first_entry_or_null(&sdr->queued_bufs, struct in rcar_drif_get_fbuf()
464 if (!fbuf) { in rcar_drif_get_fbuf()
473 list_del(&fbuf in rcar_drif_get_fbuf()
523 struct rcar_drif_frame_buf *fbuf; rcar_drif_dma_complete() local
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dvideobuf-core.h124 struct v4l2_framebuffer *fbuf);
177 struct v4l2_framebuffer *fbuf);
/kernel/linux/linux-6.6/include/media/
H A Dvideobuf-core.h124 struct v4l2_framebuffer *fbuf);
177 struct v4l2_framebuffer *fbuf);
/kernel/linux/linux-5.10/drivers/media/usb/airspy/
H 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()
/kernel/linux/linux-6.6/drivers/media/usb/airspy/
H 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()

Completed in 22 milliseconds

123