Home
last modified time | relevance | path

Searched refs:gsc_ctx (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/media/platform/exynos-gsc/
Dgsc-core.h92 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh)
102 container_of((__ctrl)->handler, struct gsc_ctx, ctrl_handler)
181 struct gsc_ctx;
215 struct gsc_ctx *ctx;
358 struct gsc_ctx { struct
381 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state); argument
387 int gsc_try_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f);
389 int gsc_g_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f);
391 int gsc_try_selection(struct gsc_ctx *ctx, struct v4l2_selection *s);
400 int gsc_set_scaler_info(struct gsc_ctx *ctx);
[all …]
Dgsc-m2m.c27 static int gsc_m2m_ctx_stop_req(struct gsc_ctx *ctx) in gsc_m2m_ctx_stop_req()
29 struct gsc_ctx *curr_ctx; in gsc_m2m_ctx_stop_req()
45 static void __gsc_m2m_job_abort(struct gsc_ctx *ctx) in __gsc_m2m_job_abort()
58 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_start_streaming()
65 static void __gsc_m2m_cleanup_queue(struct gsc_ctx *ctx) in __gsc_m2m_cleanup_queue()
82 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_stop_streaming()
91 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state) in gsc_m2m_job_finish()
119 __gsc_m2m_job_abort((struct gsc_ctx *)priv); in gsc_m2m_job_abort()
122 static int gsc_get_bufs(struct gsc_ctx *ctx) in gsc_get_bufs()
148 struct gsc_ctx *ctx = priv; in gsc_m2m_device_run()
[all …]
Dgsc-regs.c107 void gsc_hw_set_input_path(struct gsc_ctx *ctx) in gsc_hw_set_input_path()
120 void gsc_hw_set_in_size(struct gsc_ctx *ctx) in gsc_hw_set_in_size()
142 void gsc_hw_set_in_image_rgb(struct gsc_ctx *ctx) in gsc_hw_set_in_image_rgb()
162 void gsc_hw_set_in_image_format(struct gsc_ctx *ctx) in gsc_hw_set_in_image_format()
218 void gsc_hw_set_output_path(struct gsc_ctx *ctx) in gsc_hw_set_output_path()
233 void gsc_hw_set_out_size(struct gsc_ctx *ctx) in gsc_hw_set_out_size()
262 void gsc_hw_set_out_image_rgb(struct gsc_ctx *ctx) in gsc_hw_set_out_image_rgb()
282 void gsc_hw_set_out_image_format(struct gsc_ctx *ctx) in gsc_hw_set_out_image_format()
342 void gsc_hw_set_prescaler(struct gsc_ctx *ctx) in gsc_hw_set_prescaler()
354 void gsc_hw_set_mainscaler(struct gsc_ctx *ctx) in gsc_hw_set_mainscaler()
[all …]
Dgsc-core.c390 int gsc_try_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f) in gsc_try_fmt_mplane()
479 int gsc_g_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f) in gsc_g_fmt_mplane()
518 int gsc_try_selection(struct gsc_ctx *ctx, struct v4l2_selection *s) in gsc_try_selection()
634 int gsc_set_scaler_info(struct gsc_ctx *ctx) in gsc_set_scaler_info()
699 static int __gsc_s_ctrl(struct gsc_ctx *ctx, struct v4l2_ctrl *ctrl) in __gsc_s_ctrl()
746 struct gsc_ctx *ctx = ctrl_to_ctx(ctrl); in gsc_s_ctrl()
761 int gsc_ctrls_create(struct gsc_ctx *ctx) in gsc_ctrls_create()
791 void gsc_ctrls_delete(struct gsc_ctx *ctx) in gsc_ctrls_delete()
800 int gsc_prepare_addr(struct gsc_ctx *ctx, struct vb2_buffer *vb, in gsc_prepare_addr()
864 struct gsc_ctx *ctx; in gsc_irq_handler()
[all …]