| /linux-6.15/drivers/media/platform/samsung/exynos-gsc/ |
| H A D | gsc-m2m.c | 300 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_g_fmt_mplane() 308 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_try_fmt_mplane() 316 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_s_fmt_mplane() 362 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_reqbufs() 377 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_expbuf() 384 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querybuf() 391 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_qbuf() 398 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_dqbuf() 405 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamon() 421 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamoff() [all …]
|
| H A D | gsc-core.h | 88 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh) macro
|
| /linux-6.15/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc_dec.c | 348 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 445 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 601 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 622 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() 650 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() 669 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() 698 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf() 711 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon() 727 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff() 804 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection() [all …]
|
| H A D | s5p_mfc_enc.c | 1392 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 1476 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 1534 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 1604 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() 1639 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() 1663 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() 1688 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf() 1701 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon() 1714 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff() 2287 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_parm() [all …]
|
| H A D | s5p_mfc_common.h | 769 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) macro
|
| H A D | s5p_mfc.c | 959 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_release() 1016 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_poll() 1067 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_mmap()
|
| /linux-6.15/drivers/media/platform/verisilicon/ |
| H A D | hantro_v4l2.c | 187 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes() 219 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_fmt() 299 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane() 312 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane() 400 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_cap_mplane() 406 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_out_mplane() 650 return hantro_set_fmt_out(fh_to_ctx(priv), &f->fmt.pix_mp, HANTRO_AUTO_POSTPROC); in vidioc_s_fmt_out_mplane() 656 return hantro_set_fmt_cap(fh_to_ctx(priv), &f->fmt.pix_mp); in vidioc_s_fmt_cap_mplane() 662 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection() 693 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_s_selection() [all …]
|
| H A D | hantro.h | 383 static __always_inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
|
| /linux-6.15/drivers/media/platform/st/sti/hva/ |
| H A D | hva-v4l2.c | 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() 520 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_g_parm() [all …]
|
| H A D | hva.h | 16 #define fh_to_ctx(f) (container_of(f, struct hva_ctx, fh)) macro
|
| /linux-6.15/drivers/media/platform/mediatek/mdp3/ |
| H A D | mtk-mdp3-m2m.c | 13 static inline struct mdp_m2m_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function 288 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_enum_fmt_mplane() 296 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_g_fmt_mplane() 314 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_s_fmt_mplane() 357 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_try_fmt_mplane() 368 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_g_selection() 420 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); in mdp_m2m_s_selection() 646 struct mdp_m2m_ctx *ctx = fh_to_ctx(file->private_data); in mdp_m2m_release()
|
| /linux-6.15/drivers/media/platform/mediatek/mdp/ |
| H A D | mtk_mdp_m2m.c | 351 static inline struct mtk_mdp_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function 592 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_querycap() 630 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_fmt_mplane() 669 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_try_fmt_mplane() 679 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_fmt_mplane() 725 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_reqbufs() 733 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_streamon() 772 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_selection() 839 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_selection() 1140 struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data); in mtk_mdp_m2m_release()
|
| /linux-6.15/drivers/media/platform/st/sti/bdisp/ |
| H A D | bdisp-v4l2.c | 36 #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-6.15/drivers/staging/media/imx/ |
| H A D | imx-media-csc-scaler.c | 26 #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() 800 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(file->private_data); in ipu_csc_scaler_release()
|
| /linux-6.15/drivers/media/platform/samsung/exynos4-is/ |
| H A D | fimc-m2m.c | 252 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_fmt_mplane() 311 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_try_fmt_mplane() 340 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_fmt_mplane() 379 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_selection() 487 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_selection() 678 struct fimc_ctx *ctx = fh_to_ctx(file->private_data); in fimc_m2m_release()
|
| H A D | fimc-core.h | 499 #define fh_to_ctx(__fh) container_of(__fh, struct fimc_ctx, fh) macro
|
| /linux-6.15/drivers/media/platform/chips-media/coda/ |
| H A D | coda-common.c | 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() 1023 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_selection() 1069 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_selection() 1124 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_encoder_cmd() 1205 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_decoder_cmd() 1284 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_enum_framesizes() 1317 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_enum_frameintervals() 1356 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_parm() 1439 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_parm() [all …]
|
| /linux-6.15/drivers/media/platform/renesas/ |
| H A D | rcar_jpu.c | 483 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() 1284 struct jpu_ctx *ctx = fh_to_ctx(file->private_data); in jpu_release()
|
| H A D | rcar_fdp1.c | 633 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() 2161 struct fdp1_ctx *ctx = fh_to_ctx(file->private_data); in fdp1_release()
|
| /linux-6.15/drivers/media/platform/samsung/s5p-jpeg/ |
| H A D | jpeg-core.c | 1015 struct s5p_jpeg_ctx *ctx = fh_to_ctx(file->private_data); in s5p_jpeg_release() 1252 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_querycap() 1300 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_cap() 1313 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_enum_fmt_vid_out() 1339 struct s5p_jpeg_ctx *ct = fh_to_ctx(priv); in s5p_jpeg_g_fmt() 1479 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_try_fmt_vid_cap() 1538 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_try_fmt_vid_out() 1685 return s5p_jpeg_s_fmt(fh_to_ctx(priv), f); in s5p_jpeg_s_fmt_vid_cap() 1697 return s5p_jpeg_s_fmt(fh_to_ctx(priv), f); in s5p_jpeg_s_fmt_vid_out() 1794 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_g_selection() [all …]
|