Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/staging/media/sunxi/cedrus/
Dcedrus.h115 struct cedrus_ctx { struct
166 void (*irq_clear)(struct cedrus_ctx *ctx); argument
167 void (*irq_disable)(struct cedrus_ctx *ctx);
168 enum cedrus_irq_status (*irq_status)(struct cedrus_ctx *ctx);
169 int (*setup)(struct cedrus_ctx *ctx, struct cedrus_run *run);
170 int (*start)(struct cedrus_ctx *ctx);
171 void (*stop)(struct cedrus_ctx *ctx);
172 void (*trigger)(struct cedrus_ctx *ctx);
239 static inline dma_addr_t cedrus_dst_buf_addr(struct cedrus_ctx *ctx, in cedrus_dst_buf_addr()
246 static inline void cedrus_write_ref_buf_addr(struct cedrus_ctx *ctx, in cedrus_write_ref_buf_addr()
[all …]
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 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()
Dcedrus.c47 struct cedrus_ctx *ctx = container_of(ctrl->handler, struct cedrus_ctx, hdl); in cedrus_try_ctrl()
234 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id) in cedrus_find_control_data()
245 u32 cedrus_get_num_of_controls(struct cedrus_ctx *ctx, u32 id) in cedrus_get_num_of_controls()
256 static int cedrus_init_ctrls(struct cedrus_dev *dev, struct cedrus_ctx *ctx) in cedrus_init_ctrls()
304 struct cedrus_ctx *ctx = NULL; in cedrus_request_validate()
338 struct cedrus_ctx *ctx = NULL; in cedrus_open()
393 struct cedrus_ctx *ctx = container_of(file->private_data, in cedrus_release()
394 struct cedrus_ctx, fh); in cedrus_release()
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()
245 static void cedrus_h265_write_scaling_list(struct cedrus_ctx *ctx, in cedrus_h265_write_scaling_list()
333 static void cedrus_h265_write_tiles(struct cedrus_ctx *ctx, in cedrus_h265_write_tiles()
392 static int cedrus_h265_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_h265_setup()
802 static int cedrus_h265_start(struct cedrus_ctx *ctx) in cedrus_h265_start()
[all …]
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()
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()
156 struct cedrus_ctx *ctx; in cedrus_watchdog()
Dcedrus_hw.h19 int cedrus_engine_enable(struct cedrus_ctx *ctx, enum cedrus_codec codec);
Dcedrus_dec.c27 struct cedrus_ctx *ctx = priv; in cedrus_device_run()