Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/mediatek/mdp/
H A 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);
H A 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()
H A 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()
256 static struct mtk_mdp_frame *mtk_mdp_ctx_get_frame(struct mtk_mdp_ctx *ctx, in mtk_mdp_ctx_get_frame()
275 static int mtk_mdp_try_crop(struct mtk_mdp_ctx *ctx, u32 type, in mtk_mdp_try_crop()
351 static inline struct mtk_mdp_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
353 return container_of(fh, struct mtk_mdp_ctx, fh); in fh_to_ctx()
356 static inline struct mtk_mdp_ctx *ctrl_to_ctx(struct v4l2_ctrl *ctrl) in ctrl_to_ctx()
358 return container_of(ctrl->handler, struct mtk_mdp_ctx, ctrl_handler); in ctrl_to_ctx()
361 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state) in mtk_mdp_ctx_state_lock_set()
368 static bool mtk_mdp_ctx_state_is_set(struct mtk_mdp_ctx *ctx, u32 mask) in mtk_mdp_ctx_state_is_set()
391 struct mtk_mdp_ctx *ctx = q->drv_priv; in mtk_mdp_m2m_start_streaming()
[all …]
H A 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()
36 struct mtk_mdp_ctx *ctx; in mtk_mdp_vpu_ipi_handler()
78 struct mtk_mdp_ctx *ctx = vpu_to_ctx(vpu); in mtk_mdp_vpu_send_msg()
116 struct mtk_mdp_ctx *ctx = vpu_to_ctx(vpu); in mtk_mdp_vpu_init()
H A Dmtk_mdp_m2m.h10 void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state);
H A Dmtk_mdp_core.h196 struct mtk_mdp_ctx { struct
H A Dmtk_mdp_core.c76 struct mtk_mdp_ctx *ctx; in mtk_mdp_wdt_worker()