| /Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/ | 
| D | mtk_vcodec_dec_drv.h | 98 	void (*init_vdec_params)(struct mtk_vcodec_dec_ctx *ctx); 99 	int (*ctrls_setup)(struct mtk_vcodec_dec_ctx *ctx); 101 	int (*flush_decoder)(struct mtk_vcodec_dec_ctx *ctx); 102 	struct vdec_fb *(*get_cap_buffer)(struct mtk_vcodec_dec_ctx *ctx); 103 	void (*cap_to_disp)(struct mtk_vcodec_dec_ctx *ctx, int error, 168 struct mtk_vcodec_dec_ctx {  struct 261 	struct mtk_vcodec_dec_ctx *curr_ctx; 294 static inline struct mtk_vcodec_dec_ctx *fh_to_dec_ctx(struct v4l2_fh *fh)  in fh_to_dec_ctx() 296 	return container_of(fh, struct mtk_vcodec_dec_ctx, fh);  in fh_to_dec_ctx() 299 static inline struct mtk_vcodec_dec_ctx *ctrl_to_dec_ctx(struct v4l2_ctrl *ctrl)  in ctrl_to_dec_ctx() [all …] 
 | 
| D | vdec_msg_queue.h | 18 struct mtk_vcodec_dec_ctx; 77 	struct mtk_vcodec_dec_ctx *ctx; 120 	struct mtk_vcodec_dec_ctx *ctx; 133 			struct mtk_vcodec_dec_ctx *ctx, core_decode_cb_t core_decode, 189 			   struct mtk_vcodec_dec_ctx *ctx);
  | 
| D | vdec_drv_if.h | 70 int vdec_if_init(struct mtk_vcodec_dec_ctx *ctx, unsigned int fourcc); 77 void vdec_if_deinit(struct mtk_vcodec_dec_ctx *ctx); 91 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs, 100 int vdec_if_get_param(struct mtk_vcodec_dec_ctx *ctx, enum vdec_get_param_type type,
  | 
| D | mtk_vcodec_dec.c | 36 static bool mtk_vdec_get_cap_fmt(struct mtk_vcodec_dec_ctx *ctx, int format_index)  in mtk_vdec_get_cap_fmt() 74 static struct mtk_q_data *mtk_vdec_get_q_data(struct mtk_vcodec_dec_ctx *ctx,  in mtk_vdec_get_q_data() 93 	struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv);  in vidioc_decoder_cmd() 131 void mtk_vdec_unlock(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vdec_unlock() 136 void mtk_vdec_lock(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vdec_lock() 141 void mtk_vcodec_dec_release(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vcodec_dec_release() 147 void mtk_vcodec_dec_set_default_params(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vcodec_dec_set_default_params() 188 	struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv);  in vidioc_vdec_qbuf() 201 	struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv);  in vidioc_vdec_dqbuf() 213 	struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(priv);  in mtk_vcodec_dec_get_chip_name() [all …] 
 | 
| D | mtk_vcodec_dec.h | 83 void mtk_vdec_unlock(struct mtk_vcodec_dec_ctx *ctx); 84 void mtk_vdec_lock(struct mtk_vcodec_dec_ctx *ctx); 87 void mtk_vcodec_dec_set_default_params(struct mtk_vcodec_dec_ctx *ctx); 88 void mtk_vcodec_dec_release(struct mtk_vcodec_dec_ctx *ctx);
  | 
| D | mtk_vcodec_dec_stateful.c | 55 static struct vb2_buffer *get_display_buffer(struct mtk_vcodec_dec_ctx *ctx)  in get_display_buffer() 98 static struct vb2_buffer *get_free_buffer(struct mtk_vcodec_dec_ctx *ctx)  in get_free_buffer() 173 static void clean_display_buffer(struct mtk_vcodec_dec_ctx *ctx)  in clean_display_buffer() 179 static void clean_free_buffer(struct mtk_vcodec_dec_ctx *ctx)  in clean_free_buffer() 185 static void mtk_vdec_queue_res_chg_event(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vdec_queue_res_chg_event() 196 static int mtk_vdec_flush_decoder(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vdec_flush_decoder() 211 static void mtk_vdec_update_fmt(struct mtk_vcodec_dec_ctx *ctx,  in mtk_vdec_update_fmt() 232 static int mtk_vdec_pic_info_update(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vdec_pic_info_update() 277 	struct mtk_vcodec_dec_ctx *ctx =  in mtk_vdec_worker() 278 		container_of(work, struct mtk_vcodec_dec_ctx, decode_work);  in mtk_vdec_worker() [all …] 
 | 
| D | vdec_drv_if.c | 17 int vdec_if_init(struct mtk_vcodec_dec_ctx *ctx, unsigned int fourcc)  in vdec_if_init() 71 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs,  in vdec_if_decode() 103 int vdec_if_get_param(struct mtk_vcodec_dec_ctx *ctx, enum vdec_get_param_type type,  in vdec_if_get_param() 118 void vdec_if_deinit(struct mtk_vcodec_dec_ctx *ctx)  in vdec_if_deinit()
  | 
| D | mtk_vcodec_dec_stateless.c | 218 static void mtk_vdec_stateless_cap_to_disp(struct mtk_vcodec_dec_ctx *ctx, int error,  in mtk_vdec_stateless_cap_to_disp() 242 static struct vdec_fb *vdec_get_cap_buffer(struct mtk_vcodec_dec_ctx *ctx)  in vdec_get_cap_buffer() 279 	struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);  in vb2ops_vdec_buf_request_complete() 286 	struct mtk_vcodec_dec_ctx *ctx =  in mtk_vdec_worker() 287 		container_of(work, struct mtk_vcodec_dec_ctx, decode_work);  in mtk_vdec_worker() 362 	struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);  in vb2ops_vdec_stateless_buf_queue() 383 static int mtk_vdec_flush_decoder(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vdec_flush_decoder() 390 static int mtk_vcodec_get_pic_info(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vcodec_get_pic_info() 428 	struct mtk_vcodec_dec_ctx *ctx = ctrl_to_dec_ctx(ctrl);  in mtk_vdec_s_ctrl() 522 static int mtk_vcodec_dec_ctrls_setup(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vcodec_dec_ctrls_setup() [all …] 
 | 
| D | mtk_vcodec_dec_pm.h | 14 void mtk_vcodec_dec_enable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx); 15 void mtk_vcodec_dec_disable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx);
  | 
| D | vdec_vpu_if.h | 10 struct mtk_vcodec_dec_ctx; 41 	struct mtk_vcodec_dec_ctx *ctx;
  | 
| D | mtk_vcodec_dec_pm.c | 144 static void mtk_vcodec_load_racing_info(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vcodec_load_racing_info() 158 static void mtk_vcodec_record_racing_info(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vcodec_record_racing_info() 232 void mtk_vcodec_dec_enable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx)  in mtk_vcodec_dec_enable_hardware() 248 void mtk_vcodec_dec_disable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx)  in mtk_vcodec_dec_disable_hardware()
  | 
| D | vdec_msg_queue.c | 202 			   struct mtk_vcodec_dec_ctx *ctx)  in vdec_msg_queue_deinit() 242 	struct mtk_vcodec_dec_ctx *ctx =  in vdec_msg_queue_core_work() 243 		container_of(msg_queue, struct mtk_vcodec_dec_ctx, msg_queue);  in vdec_msg_queue_core_work() 283 			struct mtk_vcodec_dec_ctx *ctx, core_decode_cb_t core_decode,  in vdec_msg_queue_init()
  | 
| D | vdec_drv_base.h | 18 	int (*init)(struct mtk_vcodec_dec_ctx *ctx);
  | 
| D | mtk_vcodec_dec_hw.h | 52 	struct mtk_vcodec_dec_ctx *curr_ctx;
  | 
| D | mtk_vcodec_dec_drv.c | 29 static int mtk_vcodec_get_hw_count(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_dec_dev *dev)  in mtk_vcodec_get_hw_count() 57 	struct mtk_vcodec_dec_ctx *ctx;  in mtk_vcodec_dec_irq_handler() 198 	struct mtk_vcodec_dec_ctx *ctx = NULL;  in fops_vcodec_open() 295 	struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(file->private_data);  in fops_vcodec_release()
  | 
| /Linux-v6.6/drivers/media/platform/mediatek/vcodec/common/ | 
| D | mtk_vcodec_dbgfs.h | 11 struct mtk_vcodec_dec_ctx; 30 	struct mtk_vcodec_dec_ctx *vcodec_ctx; 53 void mtk_vcodec_dbgfs_create(struct mtk_vcodec_dec_ctx *ctx); 58 static inline void mtk_vcodec_dbgfs_create(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vcodec_dbgfs_create()
  | 
| D | mtk_vcodec_util.c | 34 int mtk_vcodec_write_vdecsys(struct mtk_vcodec_dec_ctx *ctx, unsigned int reg,  in mtk_vcodec_write_vdecsys() 51 	struct mtk_vcodec_dec_ctx *ctx = priv;  in mtk_vcodec_mem_alloc() 72 	struct mtk_vcodec_dec_ctx *ctx = priv;  in mtk_vcodec_mem_free() 104 			     struct mtk_vcodec_dec_ctx *ctx, int hw_idx)  in mtk_vcodec_set_curr_ctx() 125 struct mtk_vcodec_dec_ctx *mtk_vcodec_get_curr_ctx(struct mtk_vcodec_dec_dev *vdec_dev,  in mtk_vcodec_get_curr_ctx() 129 	struct mtk_vcodec_dec_ctx *ctx;  in mtk_vcodec_get_curr_ctx()
  | 
| D | mtk_vcodec_util.h | 28 struct mtk_vcodec_dec_ctx; 66 int mtk_vcodec_write_vdecsys(struct mtk_vcodec_dec_ctx *ctx, unsigned int reg, unsigned int val); 70 			     struct mtk_vcodec_dec_ctx *ctx, int hw_idx); 71 struct mtk_vcodec_dec_ctx *mtk_vcodec_get_curr_ctx(struct mtk_vcodec_dec_dev *vdec_dev,
  | 
| D | mtk_vcodec_dbgfs.c | 14 static void mtk_vdec_dbgfs_get_format_type(struct mtk_vcodec_dec_ctx *ctx, char *buf,  in mtk_vdec_dbgfs_get_format_type() 95 	struct mtk_vcodec_dec_ctx *ctx;  in mtk_vdec_dbgfs_read() 147 void mtk_vcodec_dbgfs_create(struct mtk_vcodec_dec_ctx *ctx)  in mtk_vcodec_dbgfs_create()
  | 
| D | mtk_vcodec_intr.h | 12 struct mtk_vcodec_dec_ctx;
  | 
| D | mtk_vcodec_intr.c | 25 		struct mtk_vcodec_dec_ctx *ctx;  in mtk_vcodec_wait_for_done_ctx()
  | 
| /Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ | 
| D | vdec_h264_req_common.h | 185 void *mtk_vdec_h264_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id); 194 void mtk_vdec_h264_fill_dpb_info(struct mtk_vcodec_dec_ctx *ctx,
  | 
| D | vdec_vp8_req_if.c | 103 	struct mtk_vcodec_dec_ctx *ctx; 108 static void *vdec_vp8_slice_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id)  in vdec_vp8_slice_get_ctrl_ptr() 120 	struct mtk_vcodec_dec_ctx *ctx = inst->ctx;  in vdec_vp8_slice_get_pic_info() 235 	struct mtk_vcodec_dec_ctx *ctx = inst->ctx;  in vdec_vp8_slice_get_decode_parameters() 274 static int vdec_vp8_slice_init(struct mtk_vcodec_dec_ctx *ctx)  in vdec_vp8_slice_init()
  | 
| D | vdec_hevc_req_multi_if.c | 361 	struct mtk_vcodec_dec_ctx *ctx; 382 static void *vdec_hevc_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id)  in vdec_hevc_get_ctrl_ptr() 392 static void vdec_hevc_fill_dpb_info(struct mtk_vcodec_dec_ctx *ctx,  in vdec_hevc_fill_dpb_info() 681 	struct mtk_vcodec_dec_ctx *ctx = inst->ctx;  in vdec_hevc_slice_get_pic_info() 800 	struct mtk_vcodec_dec_ctx *ctx = inst->ctx;  in vdec_hevc_slice_setup_core_buffer() 855 static int vdec_hevc_slice_init(struct mtk_vcodec_dec_ctx *ctx)  in vdec_hevc_slice_init() 926 	struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx;  in vdec_hevc_slice_core_decode()
  | 
| D | vdec_h264_req_if.c | 86 	struct mtk_vcodec_dec_ctx *ctx; 222 	struct mtk_vcodec_dec_ctx *ctx = inst->ctx;  in get_pic_info() 271 static int vdec_h264_slice_init(struct mtk_vcodec_dec_ctx *ctx)  in vdec_h264_slice_init()
  |