Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c294 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querycap()
315 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_g_fmt_mplane()
323 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_try_fmt_mplane()
331 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_s_fmt_mplane()
377 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_reqbufs()
392 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_expbuf()
399 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querybuf()
406 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_qbuf()
413 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_dqbuf()
420 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamon()
[all …]
Dgsc-core.h94 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh) macro
/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c331 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
423 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
579 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
600 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
628 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
647 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
676 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
689 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
705 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
780 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_crop()
[all …]
Ds5p_mfc_enc.c1371 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
1447 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
1500 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
1579 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
1613 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
1637 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
1662 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
1675 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
1688 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
2260 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_parm()
[all …]
Ds5p_mfc_common.h755 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) macro
Ds5p_mfc.c940 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_release()
997 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_poll()
1048 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_mmap()
/Linux-v4.19/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
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dfimc-m2m.c263 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_fmt_mplane()
322 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_try_fmt_mplane()
350 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_fmt_mplane()
389 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_cropcap()
407 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_crop()
476 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_crop()
669 struct fimc_ctx *ctx = fh_to_ctx(file->private_data); in fimc_m2m_release()
Dfimc-core.h505 #define fh_to_ctx(__fh) container_of(__fh, struct fimc_ctx, fh) macro
/Linux-v4.19/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c363 static inline struct mtk_mdp_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
619 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_querycap()
657 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_fmt_mplane()
696 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_try_fmt_mplane()
706 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_fmt_mplane()
757 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_reqbufs()
772 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_streamon()
819 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_selection()
886 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_selection()
1182 struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data); in mtk_mdp_m2m_release()
/Linux-v4.19/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c235 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_parm()
254 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_parm()
426 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_fmt_cap()
488 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_fmt_out()
556 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_fmt()
592 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt_vid_cap_mplane()
630 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_selection()
664 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_selection()
693 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_qbuf()
707 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_dqbuf()
Dmtk_vcodec_dec.c486 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_decoder_cmd()
588 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_qbuf()
602 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_dqbuf()
743 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_selection()
792 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_selection()
814 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_fmt()
882 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes()
956 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_fmt()
Dmtk_vcodec_drv.h378 static inline struct mtk_vcodec_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
Dmtk_vcodec_dec_drv.c198 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release()
Dmtk_vcodec_enc_drv.c215 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release()
/Linux-v4.19/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()
688 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_querycap()
705 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_enum_fmt()
725 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_fmt()
749 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_try_fmt()
799 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_fmt()
853 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_selection()
931 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_selection()
1008 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_streamon()
/Linux-v4.19/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()
726 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_cap()
735 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_out()
840 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_try_fmt()
851 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_s_fmt()
881 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_g_fmt()
914 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_streamon()
1300 struct jpu_ctx *ctx = fh_to_ctx(file->private_data); in jpu_release()
Drcar_fdp1.c631 static inline struct fdp1_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
1408 struct fdp1_ctx *ctx = fh_to_ctx(priv); in fdp1_g_fmt()
1589 struct fdp1_ctx *ctx = fh_to_ctx(priv); in fdp1_try_fmt()
1660 struct fdp1_ctx *ctx = fh_to_ctx(priv); in fdp1_s_fmt()
2159 struct fdp1_ctx *ctx = fh_to_ctx(file->private_data); in fdp1_release()
/Linux-v4.19/drivers/media/platform/coda/
Dcoda-common.c60 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) macro
391 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap()
408 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt()
435 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt()
591 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap()
673 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out()
765 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap()
798 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out()
844 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs()
864 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf()
[all …]
/Linux-v4.19/drivers/media/platform/s5p-jpeg/
Djpeg-core.c611 static inline struct s5p_jpeg_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
1040 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); in s5p_jpeg_release()
1276 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_querycap()
1326 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_cap()
1339 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_out()
1365 struct s5p_jpeg_ctx *ct = fh_to_ctx(priv); in s5p_jpeg_g_fmt()
1505 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_try_fmt_vid_cap()
1564 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_try_fmt_vid_out()
1711 return s5p_jpeg_s_fmt(fh_to_ctx(priv), f); in s5p_jpeg_s_fmt_vid_cap()
1723 return s5p_jpeg_s_fmt(fh_to_ctx(priv), f); in s5p_jpeg_s_fmt_vid_out()
[all …]