Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/media/sunxi/cedrus/
Dcedrus.h110 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 void (*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);
230 static inline dma_addr_t cedrus_dst_buf_addr(struct cedrus_ctx *ctx, in cedrus_dst_buf_addr()
258 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id);
Dcedrus_video.c71 static inline struct cedrus_ctx *cedrus_file2ctx(struct file *file) in cedrus_file2ctx()
73 return container_of(file->private_data, struct cedrus_ctx, fh); in cedrus_file2ctx()
179 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_enum_fmt()
229 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_cap()
238 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_out()
247 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_try_fmt_vid_cap()
268 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_try_fmt_vid_out()
287 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_cap()
307 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_out()
400 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); in cedrus_queue_setup()
[all …]
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 …]
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 void cedrus_mpeg2_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_mpeg2_setup()
190 static void cedrus_mpeg2_trigger(struct cedrus_ctx *ctx) in cedrus_mpeg2_trigger()
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()
241 static void cedrus_h265_setup(struct cedrus_ctx *ctx, in cedrus_h265_setup()
595 static int cedrus_h265_start(struct cedrus_ctx *ctx) in cedrus_h265_start()
612 static void cedrus_h265_stop(struct cedrus_ctx *ctx) in cedrus_h265_stop()
629 static void cedrus_h265_trigger(struct cedrus_ctx *ctx) in cedrus_h265_trigger()
Dcedrus.c170 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id) in cedrus_find_control_data()
181 static int cedrus_init_ctrls(struct cedrus_dev *dev, struct cedrus_ctx *ctx) in cedrus_init_ctrls()
225 struct cedrus_ctx *ctx = NULL; in cedrus_request_validate()
259 struct cedrus_ctx *ctx = NULL; in cedrus_open()
314 struct cedrus_ctx *ctx = container_of(file->private_data, in cedrus_release()
315 struct cedrus_ctx, fh); in cedrus_release()
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 void cedrus_vp8_setup(struct cedrus_ctx *ctx, in cedrus_vp8_setup()
860 static int cedrus_vp8_start(struct cedrus_ctx *ctx) in cedrus_vp8_start()
881 static void cedrus_vp8_stop(struct cedrus_ctx *ctx) in cedrus_vp8_stop()
892 static void cedrus_vp8_trigger(struct cedrus_ctx *ctx) in cedrus_vp8_trigger()
Dcedrus_hw.h19 int cedrus_engine_enable(struct cedrus_ctx *ctx, enum cedrus_codec codec);
Dcedrus_hw.c34 int cedrus_engine_enable(struct cedrus_ctx *ctx, enum cedrus_codec codec) in cedrus_engine_enable()
117 struct cedrus_ctx *ctx; in cedrus_irq()
Dcedrus_dec.c27 struct cedrus_ctx *ctx = priv; in cedrus_device_run()