Searched refs:file2ctx (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/drivers/media/platform/ |
| D | imx-pxp.c | 222 static inline struct pxp_ctx *file2ctx(struct file *file) in file2ctx() function 1106 return pxp_g_fmt(file2ctx(file), f); in pxp_g_fmt_vid_out() 1112 return pxp_g_fmt(file2ctx(file), f); in pxp_g_fmt_vid_cap() 1175 struct pxp_ctx *ctx = file2ctx(file); in pxp_try_fmt_vid_cap() 1203 struct pxp_ctx *ctx = file2ctx(file); in pxp_try_fmt_vid_out() 1257 struct pxp_ctx *ctx = file2ctx(file); in pxp_s_fmt_vid_cap() 1264 ret = pxp_s_fmt(file2ctx(file), f); in pxp_s_fmt_vid_cap() 1277 struct pxp_ctx *ctx = file2ctx(file); in pxp_s_fmt_vid_out() 1284 ret = pxp_s_fmt(file2ctx(file), f); in pxp_s_fmt_vid_out() 1573 struct pxp_ctx *ctx = file2ctx(file); in pxp_release()
|
| /Linux-v5.15/drivers/media/test-drivers/ |
| D | vim2m.c | 235 static inline struct vim2m_ctx *file2ctx(struct file *file) in file2ctx() function 754 return vidioc_g_fmt(file2ctx(file), f); in vidioc_g_fmt_vid_out() 760 return vidioc_g_fmt(file2ctx(file), f); in vidioc_g_fmt_vid_cap() 794 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_cap() 819 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_out() 883 return vidioc_s_fmt(file2ctx(file), f); in vidioc_s_fmt_vid_cap() 889 struct vim2m_ctx *ctx = file2ctx(file); in vidioc_s_fmt_vid_out() 896 ret = vidioc_s_fmt(file2ctx(file), f); in vidioc_s_fmt_vid_out() 1242 struct vim2m_ctx *ctx = file2ctx(file); in vim2m_release()
|
| /Linux-v5.15/drivers/media/test-drivers/vicodec/ |
| D | vicodec-core.c | 143 static inline struct vicodec_ctx *file2ctx(struct file *file) in file2ctx() function 750 struct vicodec_ctx *ctx = file2ctx(file); in vidioc_enum_fmt_vid_cap() 758 struct vicodec_ctx *ctx = file2ctx(file); in vidioc_enum_fmt_vid_out() 824 return vidioc_g_fmt(file2ctx(file), f); in vidioc_g_fmt_vid_out() 830 return vidioc_g_fmt(file2ctx(file), f); in vidioc_g_fmt_vid_cap() 897 struct vicodec_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_cap() 934 struct vicodec_ctx *ctx = file2ctx(file); in vidioc_try_fmt_vid_out() 1056 return vidioc_s_fmt(file2ctx(file), f); in vidioc_s_fmt_vid_cap() 1062 struct vicodec_ctx *ctx = file2ctx(file); in vidioc_s_fmt_vid_out() 1104 ret = vidioc_s_fmt(file2ctx(file), f); in vidioc_s_fmt_vid_out() [all …]
|