Home
last modified time | relevance | path

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

/linux/drivers/media/platform/verisilicon/
H A 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()
281 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane()
294 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane()
382 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_cap_mplane()
388 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_out_mplane()
629 return hantro_set_fmt_out(fh_to_ctx(priv), &f->fmt.pix_mp, HANTRO_AUTO_POSTPROC); in vidioc_s_fmt_out_mplane()
635 return hantro_set_fmt_cap(fh_to_ctx(priv), &f->fmt.pix_mp); in vidioc_s_fmt_cap_mplane()
641 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection()
672 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_s_selection()
[all …]
H A Dhantro.h374 static __always_inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-v4l2.c36 #define fh_to_ctx(__fh) container_of(__fh, struct bdisp_ctx, fh) macro
647 struct bdisp_ctx *ctx = fh_to_ctx(file->private_data); in bdisp_release()
685 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_querycap()
697 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_enum_fmt()
717 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_fmt()
741 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_try_fmt()
791 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_fmt()
845 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_selection()
923 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_selection()
1000 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_streamon()
/linux/drivers/media/platform/st/sti/hva/
H A Dhva.h16 #define fh_to_ctx(f) (container_of(f, struct hva_ctx, fh)) macro
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.h88 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh) macro
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-core.h499 #define fh_to_ctx(__fh) container_of(__fh, struct fimc_ctx, fh) macro
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_common.h769 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) macro