Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/media/sunxi/cedrus/
Dcedrus.h91 struct cedrus_ctx { struct
117 void (*irq_clear)(struct cedrus_ctx *ctx); argument
118 void (*irq_disable)(struct cedrus_ctx *ctx);
119 enum cedrus_irq_status (*irq_status)(struct cedrus_ctx *ctx);
120 void (*setup)(struct cedrus_ctx *ctx, struct cedrus_run *run);
121 int (*start)(struct cedrus_ctx *ctx);
122 void (*stop)(struct cedrus_ctx *ctx);
123 void (*trigger)(struct cedrus_ctx *ctx);
179 static inline dma_addr_t cedrus_dst_buf_addr(struct cedrus_ctx *ctx, in cedrus_dst_buf_addr()
203 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id);
Dcedrus_video.c57 static inline struct cedrus_ctx *cedrus_file2ctx(struct file *file) in cedrus_file2ctx()
59 return container_of(file->private_data, struct cedrus_ctx, fh); in cedrus_file2ctx()
165 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_enum_fmt()
215 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_cap()
233 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_out()
252 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()
288 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_cap()
311 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_out()
366 struct cedrus_ctx *ctx = vb2_get_drv_priv(vq); in cedrus_queue_setup()
[all …]
Dcedrus_h264.c56 static dma_addr_t cedrus_h264_mv_col_buf_addr(struct cedrus_ctx *ctx, in cedrus_h264_mv_col_buf_addr()
71 static void cedrus_fill_ref_pic(struct cedrus_ctx *ctx, in cedrus_fill_ref_pic()
92 static void cedrus_write_frame_list(struct cedrus_ctx *ctx, in cedrus_write_frame_list()
164 static void _cedrus_write_ref_list(struct cedrus_ctx *ctx, in _cedrus_write_ref_list()
209 static void cedrus_write_ref_list0(struct cedrus_ctx *ctx, in cedrus_write_ref_list0()
220 static void cedrus_write_ref_list1(struct cedrus_ctx *ctx, in cedrus_write_ref_list1()
231 static void cedrus_write_scaling_lists(struct cedrus_ctx *ctx, in cedrus_write_scaling_lists()
251 static void cedrus_write_pred_weight_table(struct cedrus_ctx *ctx, in cedrus_write_pred_weight_table()
292 static void cedrus_set_params(struct cedrus_ctx *ctx, in cedrus_set_params()
413 cedrus_h264_irq_status(struct cedrus_ctx *ctx) in cedrus_h264_irq_status()
[all …]
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()
Dcedrus.c102 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id) in cedrus_find_control_data()
113 static int cedrus_init_ctrls(struct cedrus_dev *dev, struct cedrus_ctx *ctx) in cedrus_init_ctrls()
158 struct cedrus_ctx *ctx = NULL; in cedrus_request_validate()
218 struct cedrus_ctx *ctx = NULL; in cedrus_open()
263 struct cedrus_ctx *ctx = container_of(file->private_data, in cedrus_release()
264 struct cedrus_ctx, fh); in cedrus_release()
Dcedrus_dec.c27 struct cedrus_ctx *ctx = priv; in cedrus_device_run()
Dcedrus_hw.c105 struct cedrus_ctx *ctx; in cedrus_irq()