Home
last modified time | relevance | path

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

/drivers/media/platform/samsung/exynos-gsc/
Dgsc-m2m.c302 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_g_fmt_mplane()
310 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_try_fmt_mplane()
318 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_s_fmt_mplane()
364 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_reqbufs()
379 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_expbuf()
386 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querybuf()
393 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_qbuf()
400 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_dqbuf()
407 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamon()
423 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamoff()
[all …]
Dgsc-core.h89 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh) macro
/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c334 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
426 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
582 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
603 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
631 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
650 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
679 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
692 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
708 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
785 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection()
[all …]
Ds5p_mfc_enc.c1360 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
1436 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
1489 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
1568 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
1602 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
1626 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
1651 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
1664 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
1677 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
2250 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_parm()
[all …]
Ds5p_mfc.c952 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_release()
1009 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_poll()
1060 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_mmap()
Ds5p_mfc_common.h760 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) macro
/drivers/media/platform/verisilicon/
Dhantro_v4l2.c169 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes()
201 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_fmt()
273 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane()
286 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane()
378 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_cap_mplane()
384 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_out_mplane()
643 return hantro_set_fmt_out(fh_to_ctx(priv), &f->fmt.pix_mp, HANTRO_AUTO_POSTPROC); in vidioc_s_fmt_out_mplane()
649 return hantro_set_fmt_cap(fh_to_ctx(priv), &f->fmt.pix_mp); in vidioc_s_fmt_cap_mplane()
655 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection()
686 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_s_selection()
[all …]
Dhantro.h373 static __always_inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
/drivers/media/platform/st/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
/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-m2m.c13 static inline struct mdp_m2m_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
275 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_enum_fmt_mplane()
283 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_g_fmt_mplane()
301 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_s_fmt_mplane()
344 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_try_fmt_mplane()
355 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_g_selection()
407 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_s_selection()
633 struct mdp_m2m_ctx *ctx = fh_to_ctx(file->private_data); in mdp_m2m_release()
/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_m2m.c351 static inline struct mtk_mdp_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
594 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_querycap()
632 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_fmt_mplane()
671 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_try_fmt_mplane()
681 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_fmt_mplane()
727 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_reqbufs()
735 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_streamon()
774 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_selection()
841 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_selection()
1142 struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data); in mtk_mdp_m2m_release()
/drivers/media/platform/st/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()
/drivers/media/platform/chips-media/
Dcoda-common.c57 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) macro
425 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap()
445 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt()
495 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt()
656 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap()
762 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out()
856 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap()
908 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out()
964 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs()
984 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf()
[all …]
/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()
/drivers/media/platform/samsung/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.h499 #define fh_to_ctx(__fh) container_of(__fh, struct fimc_ctx, fh) macro
/drivers/media/platform/renesas/
Drcar_jpu.c483 static struct jpu_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
659 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_querycap()
717 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_cap()
726 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_out()
826 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_try_fmt()
837 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_s_fmt()
867 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_g_fmt()
900 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_streamon()
1286 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()
1587 struct fdp1_ctx *ctx = fh_to_ctx(priv); in fdp1_try_fmt()
1658 struct fdp1_ctx *ctx = fh_to_ctx(priv); in fdp1_s_fmt()
2163 struct fdp1_ctx *ctx = fh_to_ctx(file->private_data); in fdp1_release()
/drivers/media/platform/samsung/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()
1295 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_cap()
1308 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_out()
1334 struct s5p_jpeg_ctx *ct = fh_to_ctx(priv); in s5p_jpeg_g_fmt()
1474 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_try_fmt_vid_cap()
1533 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_try_fmt_vid_out()
1680 return s5p_jpeg_s_fmt(fh_to_ctx(priv), f); in s5p_jpeg_s_fmt_vid_cap()
1692 return s5p_jpeg_s_fmt(fh_to_ctx(priv), f); in s5p_jpeg_s_fmt_vid_out()
[all …]