Home
last modified time | relevance | path

Searched refs:fh_to_ctx (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c288 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querycap()
307 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_g_fmt_mplane()
315 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_try_fmt_mplane()
323 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_s_fmt_mplane()
369 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_reqbufs()
384 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_expbuf()
391 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querybuf()
398 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_qbuf()
405 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_dqbuf()
412 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamon()
[all …]
Dgsc-core.h92 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh) macro
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c303 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
395 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
551 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
572 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
600 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
619 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
648 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
661 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
677 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
752 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection()
[all …]
Ds5p_mfc_enc.c1354 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
1430 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
1483 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
1562 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
1596 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
1620 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
1645 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
1658 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
1671 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
2244 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_parm()
[all …]
Ds5p_mfc_common.h750 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) macro
Ds5p_mfc.c937 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_release()
994 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_poll()
1045 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_mmap()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_v4l2.c116 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes()
146 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_fmt()
213 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane()
226 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane()
302 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_cap_mplane()
308 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_out_mplane()
536 return hantro_set_fmt_out(fh_to_ctx(priv), &f->fmt.pix_mp); in vidioc_s_fmt_out_mplane()
542 return hantro_set_fmt_cap(fh_to_ctx(priv), &f->fmt.pix_mp); in vidioc_s_fmt_cap_mplane()
Dhantro.h323 static inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c159 fh_to_ctx(fh)->dev->venc_pdata); in vidioc_enum_framesizes()
173 fh_to_ctx(priv)->dev->venc_pdata; in vidioc_enum_fmt_vid_cap()
183 fh_to_ctx(priv)->dev->venc_pdata; in vidioc_enum_fmt_vid_out()
202 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_parm()
225 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_parm()
384 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_fmt_cap()
447 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_fmt_out()
516 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_fmt()
552 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt_vid_cap_mplane()
572 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt_vid_out_mplane()
[all …]
Dmtk_vcodec_dec.c505 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_decoder_cmd()
608 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_qbuf()
622 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_dqbuf()
764 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_selection()
813 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_selection()
835 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_fmt()
913 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes()
988 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_fmt()
Dmtk_vcodec_drv.h410 static inline struct mtk_vcodec_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
Dmtk_vcodec_dec_drv.c175 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release()
Dmtk_vcodec_enc_drv.c235 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release()
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
Dhva-v4l2.c39 #define fh_to_ctx(f) (container_of(f, struct hva_ctx, fh)) macro
257 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_querycap()
271 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_enum_fmt_stream()
285 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_enum_fmt_frame()
298 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_g_fmt_stream()
317 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_g_fmt_frame()
338 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_try_fmt_stream()
402 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_try_fmt_frame()
452 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_s_fmt_stream()
482 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_s_fmt_frame()
[all …]
Dhva.h16 #define fh_to_ctx(f) (container_of(f, struct hva_ctx, fh)) macro
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/
Dbdisp-v4l2.c36 #define fh_to_ctx(__fh) container_of(__fh, struct bdisp_ctx, fh) macro
649 struct bdisp_ctx *ctx = fh_to_ctx(file->private_data); in bdisp_release()
687 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_querycap()
699 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_enum_fmt()
719 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_fmt()
743 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_try_fmt()
793 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_fmt()
847 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_selection()
925 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_selection()
1002 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_streamon()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c354 static inline struct mtk_mdp_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
597 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_querycap()
635 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_fmt_mplane()
674 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_try_fmt_mplane()
684 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_fmt_mplane()
730 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_reqbufs()
738 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_streamon()
777 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_selection()
844 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_selection()
1145 struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data); in mtk_mdp_m2m_release()
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-common.c57 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) macro
423 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap()
443 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt()
493 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt()
649 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap()
748 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out()
842 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap()
885 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out()
941 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs()
961 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx-media-csc-scaler.c26 #define fh_to_ctx(__fh) container_of(__fh, struct ipu_csc_scaler_ctx, fh) macro
182 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_g_fmt()
195 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_try_fmt()
244 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_s_fmt()
299 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_g_selection()
337 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_s_selection()
802 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(file->private_data); in ipu_csc_scaler_release()
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-m2m.c254 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_fmt_mplane()
313 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_try_fmt_mplane()
341 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_fmt_mplane()
380 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_selection()
488 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_selection()
679 struct fimc_ctx *ctx = fh_to_ctx(file->private_data); in fimc_m2m_release()
Dfimc-core.h497 #define fh_to_ctx(__fh) container_of(__fh, struct fimc_ctx, fh) macro
/kernel/linux/linux-5.10/drivers/media/platform/
Drcar_jpu.c490 static struct jpu_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
664 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_querycap()
724 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_cap()
733 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_out()
838 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_try_fmt()
849 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_s_fmt()
879 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_g_fmt()
912 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_streamon()
1298 struct jpu_ctx *ctx = fh_to_ctx(file->private_data); in jpu_release()
Drcar_fdp1.c633 static inline struct fdp1_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
1410 struct fdp1_ctx *ctx = fh_to_ctx(priv); in fdp1_g_fmt()
1591 struct fdp1_ctx *ctx = fh_to_ctx(priv); in fdp1_try_fmt()
1662 struct fdp1_ctx *ctx = fh_to_ctx(priv); in fdp1_s_fmt()
2162 struct fdp1_ctx *ctx = fh_to_ctx(file->private_data); in fdp1_release()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-jpeg/
Djpeg-core.c583 static inline struct s5p_jpeg_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
1012 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); in s5p_jpeg_release()
1247 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_querycap()
1297 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_cap()
1310 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_out()
1336 struct s5p_jpeg_ctx *ct = fh_to_ctx(priv); in s5p_jpeg_g_fmt()
1476 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_try_fmt_vid_cap()
1535 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_try_fmt_vid_out()
1682 return s5p_jpeg_s_fmt(fh_to_ctx(priv), f); in s5p_jpeg_s_fmt_vid_cap()
1694 return s5p_jpeg_s_fmt(fh_to_ctx(priv), f); in s5p_jpeg_s_fmt_vid_out()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch173630 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(filp->private_data);
173658 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(file->private_data);
173672 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(file->private_data);
173695 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(filp->private_data);
173718 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(filp->private_data);
173801 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(filp->private_data);
173887 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(priv);
173970 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(file->private_data);
174044 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(file->private_data);
174066 + struct vsi_v4l2_ctx *ctx = fh_to_ctx(file->private_data);
[all …]