Searched refs:cedrus_ctx (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/drivers/staging/media/sunxi/cedrus/ |
D | cedrus.h | 115 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, 233 static inline dma_addr_t cedrus_dst_buf_addr(struct cedrus_ctx *ctx, in cedrus_dst_buf_addr() [all …]
|
D | cedrus_video.c | 71 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() 76 static struct cedrus_format *cedrus_find_format(struct cedrus_ctx *ctx, in cedrus_find_format() 179 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() 238 static int cedrus_try_fmt_vid_cap_p(struct cedrus_ctx *ctx, in cedrus_try_fmt_vid_cap_p() 266 static int cedrus_try_fmt_vid_out_p(struct cedrus_ctx *ctx, in cedrus_try_fmt_vid_out_p() 291 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_cap() 308 void cedrus_reset_cap_format(struct cedrus_ctx *ctx) in cedrus_reset_cap_format() [all …]
|
D | cedrus_h264.c | 68 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() 256 static void cedrus_write_scaling_lists(struct cedrus_ctx *ctx, in cedrus_write_scaling_lists() 280 static void cedrus_write_pred_weight_table(struct cedrus_ctx *ctx, in cedrus_write_pred_weight_table() 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() [all …]
|
D | cedrus_mpeg2.c | 16 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()
|
D | cedrus.c | 47 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()
|
D | cedrus_video.h | 30 void cedrus_reset_cap_format(struct cedrus_ctx *ctx); 31 void cedrus_reset_out_format(struct cedrus_ctx *ctx);
|
D | cedrus_h265.c | 57 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() 417 static int cedrus_h265_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_h265_setup() 836 static int cedrus_h265_start(struct cedrus_ctx *ctx) in cedrus_h265_start() 863 static void cedrus_h265_stop(struct cedrus_ctx *ctx) in cedrus_h265_stop() [all …]
|
D | cedrus_vp8.c | 625 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()
|
D | cedrus_hw.c | 34 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()
|
D | cedrus_hw.h | 19 int cedrus_engine_enable(struct cedrus_ctx *ctx);
|
D | cedrus_dec.c | 27 struct cedrus_ctx *ctx = priv; in cedrus_device_run()
|