| /Linux-v5.4/drivers/media/platform/exynos-gsc/ |
| D | gsc-m2m.c | 290 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querycap() 309 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_g_fmt_mplane() 317 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_try_fmt_mplane() 325 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_s_fmt_mplane() 371 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_reqbufs() 386 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_expbuf() 393 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querybuf() 400 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_qbuf() 407 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_dqbuf() 414 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamon() [all …]
|
| D | gsc-core.h | 92 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh) macro
|
| /Linux-v5.4/drivers/media/platform/s5p-mfc/ |
| D | s5p_mfc_dec.c | 303 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 …]
|
| D | s5p_mfc_enc.c | 1348 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 1424 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 1477 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 1556 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() 1590 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() 1614 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() 1639 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf() 1652 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon() 1665 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff() 2237 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_parm() [all …]
|
| D | s5p_mfc_common.h | 750 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) macro
|
| D | s5p_mfc.c | 937 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()
|
| /Linux-v5.4/drivers/staging/media/hantro/ |
| D | hantro_v4l2.c | 91 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes() 123 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_fmt() 172 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane() 185 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane() 197 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt() 369 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt_out_mplane() 433 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt_cap_mplane()
|
| D | hantro.h | 319 static inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
|
| /Linux-v5.4/drivers/media/platform/sti/hva/ |
| D | hva-v4l2.c | 39 #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 …]
|
| D | hva.h | 16 #define fh_to_ctx(f) (container_of(f, struct hva_ctx, fh)) macro
|
| /Linux-v5.4/drivers/media/platform/sti/bdisp/ |
| D | bdisp-v4l2.c | 36 #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() 700 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_enum_fmt() 720 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_fmt() 744 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_try_fmt() 794 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_fmt() 848 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_selection() 926 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_selection() 1003 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_streamon()
|
| /Linux-v5.4/drivers/media/platform/mtk-vcodec/ |
| D | mtk_vcodec_enc.c | 227 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_parm() 246 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_parm() 419 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_fmt_cap() 481 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_fmt_out() 549 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_fmt() 585 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt_vid_cap_mplane() 623 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_selection() 657 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_selection() 686 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_qbuf() 700 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_dqbuf()
|
| D | mtk_vcodec_dec.c | 502 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_decoder_cmd() 604 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_qbuf() 618 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_dqbuf() 760 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_selection() 809 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_selection() 831 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_fmt() 899 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes() 974 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_fmt()
|
| D | mtk_vcodec_drv.h | 374 static inline struct mtk_vcodec_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
|
| D | mtk_vcodec_dec_drv.c | 190 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release()
|
| D | mtk_vcodec_enc_drv.c | 207 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release()
|
| /Linux-v5.4/drivers/media/platform/mtk-mdp/ |
| D | mtk_mdp_m2m.c | 355 static inline struct mtk_mdp_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function 605 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_querycap() 643 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_fmt_mplane() 682 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_try_fmt_mplane() 692 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_fmt_mplane() 743 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_reqbufs() 758 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_streamon() 805 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_g_selection() 872 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); in mtk_mdp_m2m_s_selection() 1168 struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data); in mtk_mdp_m2m_release()
|
| /Linux-v5.4/drivers/media/platform/coda/ |
| D | coda-common.c | 57 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) macro 387 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() 401 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt() 428 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() 584 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() 666 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out() 758 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_cap() 801 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_s_fmt_vid_out() 857 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_reqbufs() 877 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_qbuf() [all …]
|
| /Linux-v5.4/drivers/staging/media/imx/ |
| D | imx-media-csc-scaler.c | 26 #define fh_to_ctx(__fh) container_of(__fh, struct ipu_csc_scaler_ctx, fh) macro 179 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_g_fmt() 192 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_try_fmt() 241 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_s_fmt() 296 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_g_selection() 334 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); in ipu_csc_scaler_s_selection() 799 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(file->private_data); in ipu_csc_scaler_release()
|
| /Linux-v5.4/drivers/media/platform/exynos4-is/ |
| D | fimc-m2m.c | 257 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_fmt_mplane() 316 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_try_fmt_mplane() 344 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_fmt_mplane() 383 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_g_selection() 491 struct fimc_ctx *ctx = fh_to_ctx(fh); in fimc_m2m_s_selection() 682 struct fimc_ctx *ctx = fh_to_ctx(file->private_data); in fimc_m2m_release()
|
| D | fimc-core.h | 502 #define fh_to_ctx(__fh) container_of(__fh, struct fimc_ctx, fh) macro
|
| /Linux-v5.4/drivers/media/platform/ |
| D | rcar_jpu.c | 490 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()
|
| 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() 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()
|
| /Linux-v5.4/drivers/media/platform/s5p-jpeg/ |
| D | jpeg-core.c | 582 static inline struct s5p_jpeg_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function 1011 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 …]
|