Home
last modified time | relevance | path

Searched refs:mtk_mdp_ctx (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/media/platform/mtk-mdp/
Dmtk_mdp_regs.h11 void mtk_mdp_hw_set_input_addr(struct mtk_mdp_ctx *ctx,
13 void mtk_mdp_hw_set_output_addr(struct mtk_mdp_ctx *ctx,
15 void mtk_mdp_hw_set_in_size(struct mtk_mdp_ctx *ctx);
16 void mtk_mdp_hw_set_in_image_format(struct mtk_mdp_ctx *ctx);
17 void mtk_mdp_hw_set_out_size(struct mtk_mdp_ctx *ctx);
18 void mtk_mdp_hw_set_out_image_format(struct mtk_mdp_ctx *ctx);
19 void mtk_mdp_hw_set_rotation(struct mtk_mdp_ctx *ctx);
20 void mtk_mdp_hw_set_global_alpha(struct mtk_mdp_ctx *ctx);
Dmtk_mdp_regs.c48 void mtk_mdp_hw_set_input_addr(struct mtk_mdp_ctx *ctx, in mtk_mdp_hw_set_input_addr()
58 void mtk_mdp_hw_set_output_addr(struct mtk_mdp_ctx *ctx, in mtk_mdp_hw_set_output_addr()
68 void mtk_mdp_hw_set_in_size(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_in_size()
88 void mtk_mdp_hw_set_in_image_format(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_in_image_format()
104 void mtk_mdp_hw_set_out_size(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_out_size()
119 void mtk_mdp_hw_set_out_image_format(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_out_image_format()
134 void mtk_mdp_hw_set_rotation(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_rotation()
143 void mtk_mdp_hw_set_global_alpha(struct mtk_mdp_ctx *ctx) in mtk_mdp_hw_set_global_alpha()
Dmtk_mdp_m2m.c173 static const struct mtk_mdp_fmt *mtk_mdp_try_fmt_mplane(struct mtk_mdp_ctx *ctx, in mtk_mdp_try_fmt_mplane()
259 static struct mtk_mdp_frame *mtk_mdp_ctx_get_frame(struct mtk_mdp_ctx *ctx, in mtk_mdp_ctx_get_frame()
278 static int mtk_mdp_try_crop(struct mtk_mdp_ctx *ctx, u32 type, in mtk_mdp_try_crop()
355 static inline struct mtk_mdp_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
357 return container_of(fh, struct mtk_mdp_ctx, fh); in fh_to_ctx()
360 static inline struct mtk_mdp_ctx *ctrl_to_ctx(struct v4l2_ctrl *ctrl) in ctrl_to_ctx()
362 return container_of(ctrl->handler, struct mtk_mdp_ctx, ctrl_handler); in ctrl_to_ctx()
365 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state) in mtk_mdp_ctx_state_lock_set()
372 static void mtk_mdp_ctx_state_lock_clear(struct mtk_mdp_ctx *ctx, u32 state) in mtk_mdp_ctx_state_lock_clear()
379 static bool mtk_mdp_ctx_state_is_set(struct mtk_mdp_ctx *ctx, u32 mask) in mtk_mdp_ctx_state_is_set()
[all …]
Dmtk_mdp_vpu.c13 static inline struct mtk_mdp_ctx *vpu_to_ctx(struct mtk_mdp_vpu *vpu) in vpu_to_ctx()
15 return container_of(vpu, struct mtk_mdp_ctx, vpu); in vpu_to_ctx()
35 struct mtk_mdp_ctx *ctx; in mtk_mdp_vpu_ipi_handler()
77 struct mtk_mdp_ctx *ctx = vpu_to_ctx(vpu); in mtk_mdp_vpu_send_msg()
115 struct mtk_mdp_ctx *ctx = vpu_to_ctx(vpu); in mtk_mdp_vpu_init()
Dmtk_mdp_m2m.h10 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state);
Dmtk_mdp_core.h198 struct mtk_mdp_ctx { struct
Dmtk_mdp_core.c77 struct mtk_mdp_ctx *ctx; in mtk_mdp_wdt_worker()