Home
last modified time | relevance | path

Searched refs:mtk_jpeg_ctx (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_core.c117 static inline struct mtk_jpeg_ctx *ctrl_to_ctx(struct v4l2_ctrl *ctrl) in ctrl_to_ctx()
119 return container_of(ctrl->handler, struct mtk_jpeg_ctx, ctrl_hdl); in ctrl_to_ctx()
122 static inline struct mtk_jpeg_ctx *mtk_jpeg_file_to_ctx(struct file *filp) in mtk_jpeg_file_to_ctx()
124 return container_of(file_to_v4l2_fh(filp), struct mtk_jpeg_ctx, fh); in mtk_jpeg_file_to_ctx()
146 struct mtk_jpeg_ctx *ctx = ctrl_to_ctx(ctrl); in vidioc_jpeg_enc_s_ctrl()
167 static int mtk_jpeg_enc_ctrls_setup(struct mtk_jpeg_ctx *ctx) in mtk_jpeg_enc_ctrls_setup()
215 struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file); in mtk_jpeg_enum_fmt_vid_cap()
226 struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file); in mtk_jpeg_enum_fmt_vid_out()
234 static struct mtk_jpeg_q_data *mtk_jpeg_get_q_data(struct mtk_jpeg_ctx *ctx, in mtk_jpeg_get_q_data()
307 struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file); in mtk_jpeg_g_fmt_vid_mplane()
[all …]
H A Dmtk_jpeg_enc_hw.h90 void mtk_jpeg_set_enc_src(struct mtk_jpeg_ctx *ctx, void __iomem *base,
92 void mtk_jpeg_set_enc_dst(struct mtk_jpeg_ctx *ctx, void __iomem *base,
94 void mtk_jpeg_set_enc_params(struct mtk_jpeg_ctx *ctx, void __iomem *base);
H A Dmtk_jpeg_core.h94 struct mtk_jpeg_ctx *curr_ctx;
105 struct mtk_jpeg_ctx *curr_ctx;
290 struct mtk_jpeg_ctx { struct
H A Dmtk_jpeg_enc_hw.c84 void mtk_jpeg_set_enc_src(struct mtk_jpeg_ctx *ctx, void __iomem *base, in mtk_jpeg_set_enc_src()
111 void mtk_jpeg_set_enc_dst(struct mtk_jpeg_ctx *ctx, void __iomem *base, in mtk_jpeg_set_enc_dst()
139 void mtk_jpeg_set_enc_params(struct mtk_jpeg_ctx *ctx, void __iomem *base) in mtk_jpeg_set_enc_params()
209 struct mtk_jpeg_ctx *ctx; in mtk_jpegenc_put_buf()
280 struct mtk_jpeg_ctx *ctx; in mtk_jpegenc_hw_irq_handler()
H A Dmtk_jpeg_dec_hw.c485 struct mtk_jpeg_ctx *ctx; in mtk_jpegdec_put_buf()
550 struct mtk_jpeg_ctx *ctx; in mtk_jpegdec_hw_irq_handler()