Home
last modified time | relevance | path

Searched refs:cedrus_ctx (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.h115 struct cedrus_ctx { struct
159 void (*irq_clear)(struct cedrus_ctx *ctx); argument
160 void (*irq_disable)(struct cedrus_ctx *ctx);
161 enum cedrus_irq_status (*irq_status)(struct cedrus_ctx *ctx);
162 int (*setup)(struct cedrus_ctx *ctx, struct cedrus_run *run);
163 int (*start)(struct cedrus_ctx *ctx);
164 void (*stop)(struct cedrus_ctx *ctx);
165 void (*trigger)(struct cedrus_ctx *ctx);
166 unsigned int (*extra_cap_size)(struct cedrus_ctx *ctx,
271 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id);
[all …]
H A Dcedrus_video.c179 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_enum_fmt()
223 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_cap()
232 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_out()
291 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_cap()
374 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_out()
435 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); in cedrus_queue_setup()
456 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); in cedrus_queue_cleanup()
485 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); in cedrus_buf_prepare()
509 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); in cedrus_start_streaming()
537 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); in cedrus_stop_streaming()
[all …]
H A Dcedrus_h264.c68 static void cedrus_fill_ref_pic(struct cedrus_ctx *ctx, in cedrus_fill_ref_pic()
86 static int cedrus_write_frame_list(struct cedrus_ctx *ctx, in cedrus_write_frame_list()
189 static void _cedrus_write_ref_list(struct cedrus_ctx *ctx, in _cedrus_write_ref_list()
234 static void cedrus_write_ref_list0(struct cedrus_ctx *ctx, in cedrus_write_ref_list0()
245 static void cedrus_write_ref_list1(struct cedrus_ctx *ctx, in cedrus_write_ref_list1()
341 static void cedrus_set_params(struct cedrus_ctx *ctx, in cedrus_set_params()
484 cedrus_h264_irq_status(struct cedrus_ctx *ctx) in cedrus_h264_irq_status()
499 static void cedrus_h264_irq_clear(struct cedrus_ctx *ctx) in cedrus_h264_irq_clear()
539 static int cedrus_h264_start(struct cedrus_ctx *ctx) in cedrus_h264_start()
647 static void cedrus_h264_stop(struct cedrus_ctx *ctx) in cedrus_h264_stop()
[all …]
H A Dcedrus_mpeg2.c16 static enum cedrus_irq_status cedrus_mpeg2_irq_status(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_status()
34 static void cedrus_mpeg2_irq_clear(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_clear()
41 static void cedrus_mpeg2_irq_disable(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_disable()
51 static int cedrus_mpeg2_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_mpeg2_setup()
180 static void cedrus_mpeg2_trigger(struct cedrus_ctx *ctx) in cedrus_mpeg2_trigger()
H A Dcedrus_video.h30 void cedrus_reset_cap_format(struct cedrus_ctx *ctx);
31 void cedrus_reset_out_format(struct cedrus_ctx *ctx);
H A Dcedrus.c47 struct cedrus_ctx *ctx = container_of(ctrl->handler, struct cedrus_ctx, hdl); in cedrus_try_ctrl()
248 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id) in cedrus_find_control_data()
259 u32 cedrus_get_num_of_controls(struct cedrus_ctx *ctx, u32 id) in cedrus_get_num_of_controls()
270 static int cedrus_init_ctrls(struct cedrus_dev *dev, struct cedrus_ctx *ctx) in cedrus_init_ctrls()
322 struct cedrus_ctx *ctx = NULL; in cedrus_request_validate()
356 struct cedrus_ctx *ctx = NULL; in cedrus_open()
404 struct cedrus_ctx *ctx = container_of(file->private_data, in cedrus_release()
405 struct cedrus_ctx, fh); in cedrus_release()
H A Dcedrus_h265.c57 static enum cedrus_irq_status cedrus_h265_irq_status(struct cedrus_ctx *ctx) in cedrus_h265_irq_status()
72 static void cedrus_h265_irq_clear(struct cedrus_ctx *ctx) in cedrus_h265_irq_clear()
79 static void cedrus_h265_irq_disable(struct cedrus_ctx *ctx) in cedrus_h265_irq_disable()
115 static void cedrus_h265_frame_info_write_single(struct cedrus_ctx *ctx, in cedrus_h265_frame_info_write_single()
148 static void cedrus_h265_frame_info_write_dpb(struct cedrus_ctx *ctx, in cedrus_h265_frame_info_write_dpb()
270 static void cedrus_h265_write_scaling_list(struct cedrus_ctx *ctx, in cedrus_h265_write_scaling_list()
358 static void cedrus_h265_write_tiles(struct cedrus_ctx *ctx, in cedrus_h265_write_tiles()
834 static int cedrus_h265_start(struct cedrus_ctx *ctx) in cedrus_h265_start()
861 static void cedrus_h265_stop(struct cedrus_ctx *ctx) in cedrus_h265_stop()
893 static void cedrus_h265_trigger(struct cedrus_ctx *ctx) in cedrus_h265_trigger()
[all …]
H A Dcedrus_vp8.c625 cedrus_vp8_irq_status(struct cedrus_ctx *ctx) in cedrus_vp8_irq_status()
640 static void cedrus_vp8_irq_clear(struct cedrus_ctx *ctx) in cedrus_vp8_irq_clear()
645 static void cedrus_vp8_irq_disable(struct cedrus_ctx *ctx) in cedrus_vp8_irq_disable()
654 static int cedrus_vp8_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_vp8_setup()
834 static int cedrus_vp8_start(struct cedrus_ctx *ctx) in cedrus_vp8_start()
855 static void cedrus_vp8_stop(struct cedrus_ctx *ctx) in cedrus_vp8_stop()
866 static void cedrus_vp8_trigger(struct cedrus_ctx *ctx) in cedrus_vp8_trigger()
H A Dcedrus_hw.c34 int cedrus_engine_enable(struct cedrus_ctx *ctx) in cedrus_engine_enable()
117 struct cedrus_ctx *ctx; in cedrus_irq()
156 struct cedrus_ctx *ctx; in cedrus_watchdog()
H A Dcedrus_hw.h19 int cedrus_engine_enable(struct cedrus_ctx *ctx);
H A Dcedrus_dec.c27 struct cedrus_ctx *ctx = priv; in cedrus_device_run()