Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.h101 struct cedrus_ctx { struct
142 void (*irq_clear)(struct cedrus_ctx *ctx); argument
143 void (*irq_disable)(struct cedrus_ctx *ctx);
144 enum cedrus_irq_status (*irq_status)(struct cedrus_ctx *ctx);
145 void (*setup)(struct cedrus_ctx *ctx, struct cedrus_run *run);
146 int (*start)(struct cedrus_ctx *ctx);
147 void (*stop)(struct cedrus_ctx *ctx);
148 void (*trigger)(struct cedrus_ctx *ctx);
205 static inline dma_addr_t cedrus_dst_buf_addr(struct cedrus_ctx *ctx, in cedrus_dst_buf_addr()
233 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id);
H A Dcedrus_video.c64 static inline struct cedrus_ctx *cedrus_file2ctx(struct file *file) in cedrus_file2ctx()
66 return container_of(file->private_data, struct cedrus_ctx, fh); in cedrus_file2ctx()
171 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_enum_fmt()
221 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_cap()
230 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_out()
239 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_try_fmt_vid_cap()
260 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_try_fmt_vid_out()
279 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_cap()
299 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_out()
391 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); in cedrus_queue_setup()
[all …]
H A Dcedrus_h264.c57 static dma_addr_t cedrus_h264_mv_col_buf_addr(struct cedrus_ctx *ctx, in cedrus_h264_mv_col_buf_addr()
72 static void cedrus_fill_ref_pic(struct cedrus_ctx *ctx, in cedrus_fill_ref_pic()
93 static void cedrus_write_frame_list(struct cedrus_ctx *ctx, in cedrus_write_frame_list()
169 static void _cedrus_write_ref_list(struct cedrus_ctx *ctx, in _cedrus_write_ref_list()
214 static void cedrus_write_ref_list0(struct cedrus_ctx *ctx, in cedrus_write_ref_list0()
225 static void cedrus_write_ref_list1(struct cedrus_ctx *ctx, in cedrus_write_ref_list1()
236 static void cedrus_write_scaling_lists(struct cedrus_ctx *ctx, in cedrus_write_scaling_lists()
260 static void cedrus_write_pred_weight_table(struct cedrus_ctx *ctx, in cedrus_write_pred_weight_table()
321 static void cedrus_set_params(struct cedrus_ctx *ctx, in cedrus_set_params()
464 cedrus_h264_irq_status(struct cedrus_ctx *ctx) in cedrus_h264_irq_status()
[all …]
H A Dcedrus_h265.c44 static enum cedrus_irq_status cedrus_h265_irq_status(struct cedrus_ctx *ctx) in cedrus_h265_irq_status()
59 static void cedrus_h265_irq_clear(struct cedrus_ctx *ctx) in cedrus_h265_irq_clear()
66 static void cedrus_h265_irq_disable(struct cedrus_ctx *ctx) in cedrus_h265_irq_disable()
93 cedrus_h265_frame_info_mv_col_buf_addr(struct cedrus_ctx *ctx, in cedrus_h265_frame_info_mv_col_buf_addr()
101 static void cedrus_h265_frame_info_write_single(struct cedrus_ctx *ctx, in cedrus_h265_frame_info_write_single()
135 static void cedrus_h265_frame_info_write_dpb(struct cedrus_ctx *ctx, in cedrus_h265_frame_info_write_dpb()
244 static void cedrus_h265_setup(struct cedrus_ctx *ctx, in cedrus_h265_setup()
590 static int cedrus_h265_start(struct cedrus_ctx *ctx) in cedrus_h265_start()
607 static void cedrus_h265_stop(struct cedrus_ctx *ctx) in cedrus_h265_stop()
624 static void cedrus_h265_trigger(struct cedrus_ctx *ctx) in cedrus_h265_trigger()
H A Dcedrus_mpeg2.c40 static enum cedrus_irq_status cedrus_mpeg2_irq_status(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_status()
58 static void cedrus_mpeg2_irq_clear(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_clear()
65 static void cedrus_mpeg2_irq_disable(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_disable()
75 static void cedrus_mpeg2_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_mpeg2_setup()
227 static void cedrus_mpeg2_trigger(struct cedrus_ctx *ctx) in cedrus_mpeg2_trigger()
H A Dcedrus.c168 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id) in cedrus_find_control_data()
179 static int cedrus_init_ctrls(struct cedrus_dev *dev, struct cedrus_ctx *ctx) in cedrus_init_ctrls()
224 struct cedrus_ctx *ctx = NULL; in cedrus_request_validate()
289 struct cedrus_ctx *ctx = NULL; in cedrus_open()
344 struct cedrus_ctx *ctx = container_of(file->private_data, in cedrus_release()
345 struct cedrus_ctx, fh); in cedrus_release()
H A Dcedrus_hw.h19 int cedrus_engine_enable(struct cedrus_ctx *ctx, enum cedrus_codec codec);
H A Dcedrus_hw.c34 int cedrus_engine_enable(struct cedrus_ctx *ctx, enum cedrus_codec codec) in cedrus_engine_enable()
115 struct cedrus_ctx *ctx; in cedrus_irq()
H A Dcedrus_dec.c27 struct cedrus_ctx *ctx = priv; in cedrus_device_run()