Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/exynos-gsc/
Dgsc-core.h94 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh)
104 container_of((__ctrl)->handler, struct gsc_ctx, ctrl_handler)
185 struct gsc_ctx;
219 struct gsc_ctx *ctx;
362 struct gsc_ctx { struct
385 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state); argument
391 int gsc_try_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f);
393 int gsc_g_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f);
395 int gsc_g_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr);
396 int gsc_try_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr);
[all …]
Dgsc-m2m.c31 static int gsc_m2m_ctx_stop_req(struct gsc_ctx *ctx) in gsc_m2m_ctx_stop_req()
33 struct gsc_ctx *curr_ctx; in gsc_m2m_ctx_stop_req()
49 static void __gsc_m2m_job_abort(struct gsc_ctx *ctx) in __gsc_m2m_job_abort()
62 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_start_streaming()
69 static void __gsc_m2m_cleanup_queue(struct gsc_ctx *ctx) in __gsc_m2m_cleanup_queue()
86 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_stop_streaming()
95 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state) in gsc_m2m_job_finish()
123 __gsc_m2m_job_abort((struct gsc_ctx *)priv); in gsc_m2m_job_abort()
126 static int gsc_get_bufs(struct gsc_ctx *ctx) in gsc_get_bufs()
152 struct gsc_ctx *ctx = priv; in gsc_m2m_device_run()
[all …]
Dgsc-regs.c111 void gsc_hw_set_input_path(struct gsc_ctx *ctx) in gsc_hw_set_input_path()
124 void gsc_hw_set_in_size(struct gsc_ctx *ctx) in gsc_hw_set_in_size()
146 void gsc_hw_set_in_image_rgb(struct gsc_ctx *ctx) in gsc_hw_set_in_image_rgb()
166 void gsc_hw_set_in_image_format(struct gsc_ctx *ctx) in gsc_hw_set_in_image_format()
222 void gsc_hw_set_output_path(struct gsc_ctx *ctx) in gsc_hw_set_output_path()
237 void gsc_hw_set_out_size(struct gsc_ctx *ctx) in gsc_hw_set_out_size()
266 void gsc_hw_set_out_image_rgb(struct gsc_ctx *ctx) in gsc_hw_set_out_image_rgb()
286 void gsc_hw_set_out_image_format(struct gsc_ctx *ctx) in gsc_hw_set_out_image_format()
346 void gsc_hw_set_prescaler(struct gsc_ctx *ctx) in gsc_hw_set_prescaler()
358 void gsc_hw_set_mainscaler(struct gsc_ctx *ctx) in gsc_hw_set_mainscaler()
[all …]
Dgsc-core.c416 int gsc_try_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f) in gsc_try_fmt_mplane()
505 int gsc_g_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f) in gsc_g_fmt_mplane()
544 int gsc_g_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) in gsc_g_crop()
557 int gsc_try_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) in gsc_try_crop()
673 int gsc_set_scaler_info(struct gsc_ctx *ctx) in gsc_set_scaler_info()
738 static int __gsc_s_ctrl(struct gsc_ctx *ctx, struct v4l2_ctrl *ctrl) in __gsc_s_ctrl()
785 struct gsc_ctx *ctx = ctrl_to_ctx(ctrl); in gsc_s_ctrl()
800 int gsc_ctrls_create(struct gsc_ctx *ctx) in gsc_ctrls_create()
830 void gsc_ctrls_delete(struct gsc_ctx *ctx) in gsc_ctrls_delete()
839 int gsc_prepare_addr(struct gsc_ctx *ctx, struct vb2_buffer *vb, in gsc_prepare_addr()
[all …]