Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-core.h96 #define fh_to_ctx(__fh) container_of(__fh, struct gsc_ctx, fh)
106 container_of((__ctrl)->handler, struct gsc_ctx, ctrl_handler)
187 struct gsc_ctx;
221 struct gsc_ctx *ctx;
366 struct gsc_ctx { struct
388 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state); argument
394 int gsc_try_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f);
396 int gsc_g_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f);
398 int gsc_g_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr);
399 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()
71 struct gsc_ctx *ctx = q->drv_priv; in gsc_m2m_stop_streaming()
78 void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state) in gsc_m2m_job_finish()
106 __gsc_m2m_job_abort((struct gsc_ctx *)priv); in gsc_m2m_job_abort()
109 static int gsc_get_bufs(struct gsc_ctx *ctx) in gsc_get_bufs()
135 struct gsc_ctx *ctx = priv; in gsc_m2m_device_run()
219 struct gsc_ctx *ctx = vb2_get_drv_priv(vq); in gsc_m2m_queue_setup()
[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.c390 int gsc_try_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f) in gsc_try_fmt_mplane()
467 int gsc_g_fmt_mplane(struct gsc_ctx *ctx, struct v4l2_format *f) in gsc_g_fmt_mplane()
506 int gsc_g_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) in gsc_g_crop()
519 int gsc_try_crop(struct gsc_ctx *ctx, struct v4l2_crop *cr) in gsc_try_crop()
635 int gsc_set_scaler_info(struct gsc_ctx *ctx) in gsc_set_scaler_info()
700 static int __gsc_s_ctrl(struct gsc_ctx *ctx, struct v4l2_ctrl *ctrl) in __gsc_s_ctrl()
747 struct gsc_ctx *ctx = ctrl_to_ctx(ctrl); in gsc_s_ctrl()
762 int gsc_ctrls_create(struct gsc_ctx *ctx) in gsc_ctrls_create()
792 void gsc_ctrls_delete(struct gsc_ctx *ctx) in gsc_ctrls_delete()
801 int gsc_prepare_addr(struct gsc_ctx *ctx, struct vb2_buffer *vb, in gsc_prepare_addr()
[all …]