Home
last modified time | relevance | path

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

/linux/drivers/media/platform/exynos-gsc/
A Dgsc-m2m.c288 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querycap()
307 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_g_fmt_mplane()
315 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_try_fmt_mplane()
323 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_s_fmt_mplane()
369 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_reqbufs()
384 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_expbuf()
391 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_querybuf()
398 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_qbuf()
405 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_dqbuf()
412 struct gsc_ctx *ctx = fh_to_ctx(fh); in gsc_m2m_streamon()
[all …]
A Dgsc-core.h89 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh) macro
/linux/drivers/media/platform/s5p-mfc/
A Ds5p_mfc_dec.c318 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
410 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
566 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
587 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
615 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
634 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
663 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
676 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
692 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
769 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection()
[all …]
A Ds5p_mfc_enc.c1354 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
1430 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
1483 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
1562 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
1596 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
1620 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
1645 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
1658 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
1671 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
2244 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_parm()
[all …]
A Ds5p_mfc.c937 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()
A Ds5p_mfc_common.h759 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) macro
/linux/drivers/media/platform/mtk-vcodec/
A Dmtk_vcodec_dec.c50 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_decoder_cmd()
64 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_decoder_cmd()
172 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_qbuf()
186 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_dqbuf()
287 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt_vid_cap_mplane()
305 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt_vid_out_mplane()
326 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_selection()
375 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_selection()
397 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_fmt()
520 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes()
[all …]
A Dmtk_vcodec_enc.c161 struct mtk_vcodec_ctx *ctx = fh_to_ctx(fh); in vidioc_enum_framesizes()
185 fh_to_ctx(priv)->dev->venc_pdata; in vidioc_enum_fmt_vid_cap()
195 fh_to_ctx(priv)->dev->venc_pdata; in vidioc_enum_fmt_vid_out()
214 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_parm()
237 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_parm()
398 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_fmt_cap()
461 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_s_fmt_out()
522 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_venc_g_fmt()
556 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt_vid_cap_mplane()
576 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt_vid_out_mplane()
[all …]
A Dmtk_vcodec_drv.h466 static inline struct mtk_vcodec_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
A Dmtk_vcodec_dec_drv.c167 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release()
A Dmtk_vcodec_enc_drv.c212 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release()
/linux/drivers/staging/media/hantro/
A Dhantro_v4l2.c118 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes()
148 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_fmt()
215 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane()
228 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane()
304 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_cap_mplane()
310 return hantro_try_fmt(fh_to_ctx(priv), &f->fmt.pix_mp, f->type); in vidioc_try_fmt_out_mplane()
539 return hantro_set_fmt_out(fh_to_ctx(priv), &f->fmt.pix_mp); in vidioc_s_fmt_out_mplane()
545 return hantro_set_fmt_cap(fh_to_ctx(priv), &f->fmt.pix_mp); in vidioc_s_fmt_cap_mplane()
A Dhantro.h329 static inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
/linux/drivers/media/platform/sti/hva/
A Dhva-v4l2.c257 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 …]
A Dhva.h16 #define fh_to_ctx(f) (container_of(f, struct hva_ctx, fh)) macro
/linux/drivers/media/platform/coda/
A Dcoda-common.c1000 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_selection()
1046 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_selection()
1090 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_try_encoder_cmd()
1112 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_encoder_cmd()
1148 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_try_decoder_cmd()
1204 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_decoder_cmd()
1283 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_enum_framesizes()
1319 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_enum_frameintervals()
1350 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_g_parm()
1433 struct coda_ctx *ctx = fh_to_ctx(fh); in coda_s_parm()
[all …]
/linux/drivers/media/platform/mtk-mdp/
A 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()
/linux/drivers/media/platform/sti/bdisp/
A 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()
/linux/drivers/staging/media/imx/
A 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()
/linux/drivers/media/platform/exynos4-is/
A 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()
A Dfimc-core.h499 #define fh_to_ctx(__fh) container_of(__fh, struct fimc_ctx, fh) macro
/linux/drivers/media/platform/
A Drcar_jpu.c490 static struct jpu_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() function
665 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_querycap()
725 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_cap()
734 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_enum_fmt_out()
834 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_try_fmt()
845 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_s_fmt()
875 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_g_fmt()
908 struct jpu_ctx *ctx = fh_to_ctx(priv); in jpu_streamon()
1294 struct jpu_ctx *ctx = fh_to_ctx(file->private_data); in jpu_release()
A 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()
/linux/drivers/media/platform/s5p-jpeg/
A Djpeg-core.c1012 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()
1791 struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv); in s5p_jpeg_g_selection()
[all …]

Completed in 110 milliseconds