Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/platform/mediatek/jpeg/
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_fh_to_ctx(struct v4l2_fh *fh) in mtk_jpeg_fh_to_ctx()
124 return container_of(fh, struct mtk_jpeg_ctx, fh); in mtk_jpeg_fh_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_fh_to_ctx(priv); in mtk_jpeg_enum_fmt_vid_cap()
226 struct mtk_jpeg_ctx *ctx = mtk_jpeg_fh_to_ctx(priv); 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()
308 struct mtk_jpeg_ctx *ctx = mtk_jpeg_fh_to_ctx(priv); in mtk_jpeg_g_fmt_vid_mplane()
[all …]
Dmtk_jpeg_enc_hw.h85 void mtk_jpeg_set_enc_src(struct mtk_jpeg_ctx *ctx, void __iomem *base,
87 void mtk_jpeg_set_enc_dst(struct mtk_jpeg_ctx *ctx, void __iomem *base,
89 void mtk_jpeg_set_enc_params(struct mtk_jpeg_ctx *ctx, void __iomem *base);
Dmtk_jpeg_core.h90 struct mtk_jpeg_ctx *curr_ctx;
101 struct mtk_jpeg_ctx *curr_ctx;
287 struct mtk_jpeg_ctx { struct
Dmtk_jpeg_enc_hw.c82 void mtk_jpeg_set_enc_src(struct mtk_jpeg_ctx *ctx, void __iomem *base, in mtk_jpeg_set_enc_src()
99 void mtk_jpeg_set_enc_dst(struct mtk_jpeg_ctx *ctx, void __iomem *base, in mtk_jpeg_set_enc_dst()
119 void mtk_jpeg_set_enc_params(struct mtk_jpeg_ctx *ctx, void __iomem *base) in mtk_jpeg_set_enc_params()
188 struct mtk_jpeg_ctx *ctx; in mtk_jpegenc_put_buf()
259 struct mtk_jpeg_ctx *ctx; in mtk_jpegenc_hw_irq_handler()
Dmtk_jpeg_dec_hw.c450 struct mtk_jpeg_ctx *ctx; in mtk_jpegdec_put_buf()
515 struct mtk_jpeg_ctx *ctx; in mtk_jpegdec_hw_irq_handler()