| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_common.h | 216 struct mpp_dev *mpp; 316 struct mpp_dev { struct 380 struct mpp_dev *mpp; argument 498 struct mpp_dev *mpp; 542 struct mpp_dev *cores[MPP_MAX_CORE_NUM]; 574 struct mpp_dev *sub_devices[MPP_DEVICE_BUTT]; 601 int (*init)(struct mpp_dev *mpp); 602 int (*exit)(struct mpp_dev *mpp); 603 int (*clk_on)(struct mpp_dev *mpp); 604 int (*clk_off)(struct mpp_dev *mpp); [all …]
|
| H A D | mpp_jpgdec.c | 93 struct mpp_dev mpp; 203 struct mpp_dev *mpp = session->mpp; in jpgdec_alloc_task() 240 static int jpgdec_soft_reset(struct mpp_dev *mpp) in jpgdec_soft_reset() 248 static int jpgdec_run(struct mpp_dev *mpp, in jpgdec_run() 287 static int jpgdec_finish(struct mpp_dev *mpp, in jpgdec_finish() 329 static int jpgdec_result(struct mpp_dev *mpp, in jpgdec_result() 364 static int jpgdec_procfs_remove(struct mpp_dev *mpp) in jpgdec_procfs_remove() 376 static int jpgdec_procfs_init(struct mpp_dev *mpp) in jpgdec_procfs_init() 398 static inline int jpgdec_procfs_remove(struct mpp_dev *mpp) in jpgdec_procfs_remove() 403 static inline int jpgdec_procfs_init(struct mpp_dev *mpp) in jpgdec_procfs_init() [all …]
|
| H A D | mpp_vdpu2.c | 105 struct mpp_dev mpp; 306 struct mpp_dev *mpp = session->mpp; in vdpu_alloc_task() 343 static int vdpu_run(struct mpp_dev *mpp, in vdpu_run() 385 static int vdpu_px30_run(struct mpp_dev *mpp, in vdpu_px30_run() 392 static int vdpu_finish(struct mpp_dev *mpp, in vdpu_finish() 425 static int vdpu_result(struct mpp_dev *mpp, in vdpu_result() 460 static int vdpu_procfs_remove(struct mpp_dev *mpp) in vdpu_procfs_remove() 472 static int vdpu_procfs_init(struct mpp_dev *mpp) in vdpu_procfs_init() 494 static inline int vdpu_procfs_remove(struct mpp_dev *mpp) in vdpu_procfs_remove() 499 static inline int vdpu_procfs_init(struct mpp_dev *mpp) in vdpu_procfs_init() [all …]
|
| H A D | mpp_vdpu1.c | 121 struct mpp_dev mpp; 349 struct mpp_dev *mpp = session->mpp; in vdpu_alloc_task() 391 static int vdpu_run(struct mpp_dev *mpp, in vdpu_run() 433 static int vdpu_finish(struct mpp_dev *mpp, in vdpu_finish() 466 static int vdpu_result(struct mpp_dev *mpp, in vdpu_result() 501 static int vdpu_procfs_remove(struct mpp_dev *mpp) in vdpu_procfs_remove() 513 static int vdpu_procfs_init(struct mpp_dev *mpp) in vdpu_procfs_init() 535 static inline int vdpu_procfs_remove(struct mpp_dev *mpp) in vdpu_procfs_remove() 540 static inline int vdpu_procfs_init(struct mpp_dev *mpp) in vdpu_procfs_init() 546 static int vdpu_init(struct mpp_dev *mpp) in vdpu_init() [all …]
|
| H A D | mpp_vepu2.c | 118 struct mpp_dev mpp; 137 struct mpp_dev *main_core; 138 struct mpp_dev *cores[MPP_MAX_CORE_NUM]; 274 struct mpp_dev *mpp = session->mpp; in vepu_alloc_task() 315 static void *vepu_prepare(struct mpp_dev *mpp, struct mpp_task *mpp_task) in vepu_prepare() 329 struct mpp_dev *mpp = ccu->cores[i]; in vepu_prepare() 356 static int vepu_run(struct mpp_dev *mpp, in vepu_run() 402 static int vepu_px30_run(struct mpp_dev *mpp, in vepu_px30_run() 409 static int vepu_irq(struct mpp_dev *mpp) in vepu_irq() 420 static int vepu_isr(struct mpp_dev *mpp) in vepu_isr() [all …]
|
| H A D | mpp_vepu1.c | 98 struct mpp_dev mpp; 225 struct mpp_dev *mpp = session->mpp; in vepu_alloc_task() 261 static int vepu_run(struct mpp_dev *mpp, in vepu_run() 307 static int vepu_irq(struct mpp_dev *mpp) in vepu_irq() 318 static int vepu_isr(struct mpp_dev *mpp) in vepu_isr() 349 static int vepu_finish(struct mpp_dev *mpp, in vepu_finish() 374 static int vepu_result(struct mpp_dev *mpp, in vepu_result() 481 static int vepu_procfs_remove(struct mpp_dev *mpp) in vepu_procfs_remove() 540 struct mpp_dev *mpp = seq->private; in vepu_show_session_info() 558 static int vepu_procfs_init(struct mpp_dev *mpp) in vepu_procfs_init() [all …]
|
| H A D | mpp_rkvdec.c | 157 struct mpp_dev mpp; 467 static int power_model_simple_init(struct mpp_dev *mpp) in power_model_simple_init() 812 struct mpp_dev *mpp = session->mpp; in rkvdec_alloc_task() 860 static void *rkvdec_prepare_with_reset(struct mpp_dev *mpp, in rkvdec_prepare_with_reset() 889 static int rkvdec_run(struct mpp_dev *mpp, in rkvdec_run() 944 static int rkvdec_3328_run(struct mpp_dev *mpp, in rkvdec_3328_run() 974 static int rkvdec_1126_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvdec_1126_run() 984 static int rkvdec_px30_run(struct mpp_dev *mpp, in rkvdec_px30_run() 991 static int rkvdec_irq(struct mpp_dev *mpp) in rkvdec_irq() 1002 static int rkvdec_isr(struct mpp_dev *mpp) in rkvdec_isr() [all …]
|
| H A D | mpp_vdpp.c | 78 struct mpp_dev mpp; 227 struct mpp_dev *mpp = session->mpp; in vdpp_alloc_task() 304 static int vdpp_run(struct mpp_dev *mpp, in vdpp_run() 356 static int vdpp_finish(struct mpp_dev *mpp, in vdpp_finish() 391 static int vdpp_result(struct mpp_dev *mpp, in vdpp_result() 442 static int vdpp_procfs_remove(struct mpp_dev *mpp) in vdpp_procfs_remove() 454 static int vdpp_procfs_init(struct mpp_dev *mpp) in vdpp_procfs_init() 471 static inline int vdpp_procfs_remove(struct mpp_dev *mpp) in vdpp_procfs_remove() 476 static inline int vdpp_procfs_init(struct mpp_dev *mpp) in vdpp_procfs_init() 482 static int vdpp_init(struct mpp_dev *mpp) in vdpp_init() [all …]
|
| H A D | mpp_rkvdec2_link.c | 274 struct mpp_dev *mpp = dev->mpp; in rkvdec_core_reg_dump() 310 int rkvdec_link_dump(struct mpp_dev *mpp) in rkvdec_link_dump() 324 static void rkvdec2_clear_cache(struct mpp_dev *mpp) in rkvdec2_clear_cache() 394 static int rkvdec2_link_finish(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvdec2_link_finish() 422 static void *rkvdec2_link_prepare(struct mpp_dev *mpp, in rkvdec2_link_prepare() 480 static int rkvdec2_link_reset(struct mpp_dev *mpp) in rkvdec2_link_reset() 516 static int rkvdec2_link_irq(struct mpp_dev *mpp) in rkvdec2_link_irq() 552 int rkvdec2_link_remove(struct mpp_dev *mpp, struct rkvdec_link_dev *link_dec) in rkvdec2_link_remove() 566 static int rkvdec2_link_alloc_table(struct mpp_dev *mpp, in rkvdec2_link_alloc_table() 610 int rkvdec2_link_procfs_init(struct mpp_dev *mpp) in rkvdec2_link_procfs_init() [all …]
|
| H A D | mpp_rkvenc.c | 182 struct mpp_dev mpp; 334 struct mpp_dev *mpp = session->mpp; in rkvenc_alloc_task() 381 static int rkvenc_write_req_l2(struct mpp_dev *mpp, in rkvenc_write_req_l2() 398 static int rkvenc_read_req_l2(struct mpp_dev *mpp, in rkvenc_read_req_l2() 415 static int rkvenc_write_req_backward(struct mpp_dev *mpp, u32 *regs, in rkvenc_write_req_backward() 429 static int rkvenc_run(struct mpp_dev *mpp, in rkvenc_run() 498 static int rkvenc_irq(struct mpp_dev *mpp) in rkvenc_irq() 515 static int rkvenc_isr(struct mpp_dev *mpp) in rkvenc_isr() 557 static int rkvenc_finish(struct mpp_dev *mpp, in rkvenc_finish() 599 static int rkvenc_result(struct mpp_dev *mpp, in rkvenc_result() [all …]
|
| H A D | mpp_iep2.c | 214 struct mpp_dev mpp; 354 static void iep2_config(struct mpp_dev *mpp, struct iep_task *task) in iep2_config() 502 static void iep2_osd_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_osd_cfg() 520 static void iep2_mtn_tab_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_mtn_tab_cfg() 537 static void iep2_tru_list_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_tru_list_cfg() 566 static void iep2_comb_cfg(struct mpp_dev *mpp, struct iep_task *task) in iep2_comb_cfg() 583 static int iep2_run(struct mpp_dev *mpp, in iep2_run() 626 static int iep2_irq(struct mpp_dev *mpp) in iep2_irq() 641 static int iep2_isr(struct mpp_dev *mpp) in iep2_isr() 671 static void iep2_osd_done(struct mpp_dev *mpp, struct iep_task *task) in iep2_osd_done() [all …]
|
| H A D | mpp_rkvdec2.h | 170 struct mpp_dev mpp; 231 int mpp_set_rcbbuf(struct mpp_dev *mpp, struct mpp_session *session, 233 int rkvdec2_task_init(struct mpp_dev *mpp, struct mpp_session *session, 241 int rkvdec2_result(struct mpp_dev *mpp, struct mpp_task *mpp_task, 243 int rkvdec2_reset(struct mpp_dev *mpp); 245 void mpp_devfreq_set_core_rate(struct mpp_dev *mpp, enum MPP_CLOCK_MODE mode);
|
| H A D | mpp_rkvdec2.c | 196 int mpp_set_rcbbuf(struct mpp_dev *mpp, struct mpp_session *session, in mpp_set_rcbbuf() 234 int rkvdec2_task_init(struct mpp_dev *mpp, struct mpp_session *session, in rkvdec2_task_init() 329 static int rkvdec2_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvdec2_run() 381 static int rkvdec2_rk3568_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvdec2_rk3568_run() 402 static int rkvdec2_irq(struct mpp_dev *mpp) in rkvdec2_irq() 413 static int rkvdec2_isr(struct mpp_dev *mpp) in rkvdec2_isr() 448 static int rkvdec2_read_perf_sel(struct mpp_dev *mpp, u32 *regs, u32 s, u32 e) in rkvdec2_read_perf_sel() 476 static int rkvdec2_finish(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvdec2_finish() 528 int rkvdec2_result(struct mpp_dev *mpp, struct mpp_task *mpp_task, in rkvdec2_result() 640 static int rkvdec2_procfs_remove(struct mpp_dev *mpp) in rkvdec2_procfs_remove() [all …]
|
| H A D | mpp_common.c | 100 static void mpp_attach_workqueue(struct mpp_dev *mpp, 192 mpp_taskqueue_trigger_work(struct mpp_dev *mpp) in mpp_taskqueue_trigger_work() 197 int mpp_power_on(struct mpp_dev *mpp) in mpp_power_on() 208 int mpp_power_off(struct mpp_dev *mpp) in mpp_power_off() 410 struct mpp_dev *mpp = session->mpp; in mpp_session_deinit_default() 463 struct mpp_dev *mpp; in mpp_session_detach_workqueue() 525 struct mpp_dev *mpp; in mpp_free_task() 550 struct mpp_dev *mpp; in mpp_task_timeout_work() 612 struct mpp_dev *mpp = session->mpp; in mpp_process_task_default() 680 mpp_reset_control_get(struct mpp_dev *mpp, enum MPP_RESET_TYPE type, const char *name) in mpp_reset_control_get() [all …]
|
| H A D | mpp_rkvenc2.c | 268 struct mpp_dev mpp; 305 struct mpp_dev *main_core; 780 static int rkvenc_task_get_format(struct mpp_dev *mpp, in rkvenc_task_get_format() 803 static int rkvenc2_set_rcbbuf(struct mpp_dev *mpp, struct mpp_session *session, in rkvenc2_set_rcbbuf() 904 struct mpp_dev *mpp = session->mpp; in rkvenc_alloc_task() 994 static void *rkvenc2_prepare(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvenc2_prepare() 1009 struct mpp_dev *mpp = queue->cores[i]; in rkvenc2_prepare() 1189 static int rkvenc_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvenc_run() 1259 static void rkvenc2_read_slice_len(struct mpp_dev *mpp, struct rkvenc_task *task) in rkvenc2_read_slice_len() 1295 static int rkvenc_irq(struct mpp_dev *mpp) in rkvenc_irq() [all …]
|
| H A D | mpp_iommu.h | 68 struct mpp_dev; 81 struct mpp_dev *dev_active; 123 int mpp_iommu_dev_activate(struct mpp_iommu_info *info, struct mpp_dev *dev); 124 int mpp_iommu_dev_deactivate(struct mpp_iommu_info *info, struct mpp_dev *dev);
|
| H A D | mpp_av1dec.c | 140 struct mpp_dev mpp; 387 struct mpp_dev *mpp = session->mpp; in av1dec_alloc_task() 648 static int av1dec_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in av1dec_run() 705 static int av1dec_vcd_irq(struct mpp_dev *mpp) in av1dec_vcd_irq() 723 static int av1dec_isr(struct mpp_dev *mpp) in av1dec_isr() 775 static int av1dec_finish(struct mpp_dev *mpp, in av1dec_finish() 818 static int av1dec_result(struct mpp_dev *mpp, in av1dec_result() 866 static int av1dec_procfs_remove(struct mpp_dev *mpp) in av1dec_procfs_remove() 878 static int av1dec_procfs_init(struct mpp_dev *mpp) in av1dec_procfs_init() 901 static inline int av1dec_procfs_remove(struct mpp_dev *mpp) in av1dec_procfs_remove() [all …]
|
| H A D | mpp_rkvdec2_link.h | 132 struct mpp_dev *mpp; 206 int rkvdec_link_dump(struct mpp_dev *mpp); 209 int rkvdec2_link_procfs_init(struct mpp_dev *mpp); 210 int rkvdec2_link_remove(struct mpp_dev *mpp, struct rkvdec_link_dev *link_dec);
|
| H A D | mpp_iommu.c | 448 struct mpp_dev *mpp = (struct mpp_dev *)arg; in mpp_iommu_handle() 588 int mpp_iommu_dev_activate(struct mpp_iommu_info *info, struct mpp_dev *dev) in mpp_iommu_dev_activate() 617 int mpp_iommu_dev_deactivate(struct mpp_iommu_info *info, struct mpp_dev *dev) in mpp_iommu_dev_deactivate()
|
| H A D | mpp_service.c | 244 struct mpp_dev *mpp; in mpp_show_session_summary() 299 struct mpp_dev *mpp; in mpp_show_support_device()
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/hack/ |
| H A D | mpp_hack_px30.h | 13 int px30_workaround_combo_init(struct mpp_dev *mpp); 14 int px30_workaround_combo_switch_grf(struct mpp_dev *mpp); 16 static inline int px30_workaround_combo_init(struct mpp_dev *mpp) in px30_workaround_combo_init() 21 static inline int px30_workaround_combo_switch_grf(struct mpp_dev *mpp) in px30_workaround_combo_switch_grf()
|
| H A D | mpp_hack_px30.c | 147 int px30_workaround_combo_init(struct mpp_dev *mpp) in px30_workaround_combo_init() 204 int px30_workaround_combo_switch_grf(struct mpp_dev *mpp) in px30_workaround_combo_switch_grf()
|
| H A D | mpp_rkvdec2_hack_rk3568.c | 703 void rkvdec2_3568_hack_fix(struct mpp_dev *mpp) in rkvdec2_3568_hack_fix()
|