/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
D | mpp_common.c | 89 static void mpp_attach_workqueue(struct mpp_dev *mpp, 97 if (!task->session || !task->session->mpp) in mpp_taskqueue_push_pending() 112 if (!task->session || !task->session->mpp) in mpp_taskqueue_pop_pending() 187 if (!task->session || !task->session->mpp) in mpp_taskqueue_pop_running() 199 mpp_taskqueue_trigger_work(struct mpp_dev *mpp) in mpp_taskqueue_trigger_work() argument 201 kthread_queue_work(&mpp->queue->worker, &mpp->work); in mpp_taskqueue_trigger_work() 204 int mpp_power_on(struct mpp_dev *mpp) in mpp_power_on() argument 206 pm_runtime_get_sync(mpp->dev); in mpp_power_on() 207 pm_stay_awake(mpp->dev); in mpp_power_on() 209 if (mpp->hw_ops->clk_on) in mpp_power_on() [all …]
|
D | mpp_iep2.c | 87 container_of(dev, struct iep2_dev, mpp) 214 struct mpp_dev mpp; member 354 static void iep2_config(struct mpp_dev *mpp, struct iep_task *task) in iep2_config() argument 356 struct iep2_dev *iep = to_iep2_dev(mpp); in iep2_config() 369 mpp_write_relaxed(mpp, IEP2_REG_IEP_CONFIG0, reg); in iep2_config() 373 mpp_write_relaxed(mpp, IEP2_REG_SRC_IMG_SIZE, reg); in iep2_config() 377 mpp_write_relaxed(mpp, IEP2_REG_VIR_SRC_IMG_WIDTH, reg); in iep2_config() 380 mpp_write_relaxed(mpp, IEP2_REG_VIR_DST_IMG_WIDTH, reg); in iep2_config() 396 mpp_write_relaxed(mpp, IEP2_REG_DIL_CONFIG0, reg); in iep2_config() 399 mpp_write_relaxed(mpp, IEP2_REG_SRC_ADDR_CURY, in iep2_config() [all …]
|
D | mpp_rkvdec2_link.c | 169 struct mpp_dev *mpp = dev->mpp; in rkvdec_core_reg_dump() local 170 u32 s = mpp->var->hw_info->reg_start; in rkvdec_core_reg_dump() 171 u32 e = mpp->var->hw_info->reg_end; in rkvdec_core_reg_dump() 180 i, reg, readl_relaxed(mpp->reg_base + reg)); in rkvdec_core_reg_dump() 206 int rkvdec_link_dump(struct mpp_dev *mpp) in rkvdec_link_dump() argument 208 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec_link_dump() 374 static void rkvdec2_clear_cache(struct mpp_dev *mpp) in rkvdec2_clear_cache() argument 383 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE0_SIZE_BASE, reg); in rkvdec2_clear_cache() 384 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE1_SIZE_BASE, reg); in rkvdec2_clear_cache() 385 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE2_SIZE_BASE, reg); in rkvdec2_clear_cache() [all …]
|
D | mpp_vdpu2.c | 83 container_of(dev, struct vdpu_dev, mpp) 102 struct mpp_dev mpp; member 300 struct mpp_dev *mpp = session->mpp; in vdpu_alloc_task() local 310 mpp_task->hw_info = mpp->var->hw_info; in vdpu_alloc_task() 330 mpp_task_dump_mem_region(mpp, mpp_task); in vdpu_alloc_task() 331 mpp_task_dump_reg(mpp, mpp_task); in vdpu_alloc_task() 337 static int vdpu_run(struct mpp_dev *mpp, in vdpu_run() argument 347 mpp_write_relaxed(mpp, VDPU2_REG_CLR_CACHE_BASE, 1); in vdpu_run() 355 mpp_write_req(mpp, task->reg, s, e, reg_en); in vdpu_run() 358 mpp->cur_task = mpp_task; in vdpu_run() [all …]
|
D | mpp_jpgdec.c | 75 container_of(dev, struct jpgdec_dev, mpp) 93 struct mpp_dev mpp; member 203 struct mpp_dev *mpp = session->mpp; in jpgdec_alloc_task() local 213 mpp_task->hw_info = mpp->var->hw_info; in jpgdec_alloc_task() 233 mpp_task_dump_mem_region(mpp, mpp_task); in jpgdec_alloc_task() 234 mpp_task_dump_reg(mpp, mpp_task); in jpgdec_alloc_task() 240 static int jpgdec_soft_reset(struct mpp_dev *mpp) in jpgdec_soft_reset() argument 242 mpp_write(mpp, JPGDEC_REG_SYS_BASE, JPGDEC_FORCE_SOFTRESET_VALID); in jpgdec_soft_reset() 243 mpp_write(mpp, JPGDEC_REG_INT_EN_BASE, JPGDEC_SOFT_REST_EN); in jpgdec_soft_reset() 248 static int jpgdec_run(struct mpp_dev *mpp, in jpgdec_run() argument [all …]
|
D | mpp_vepu2.c | 81 container_of(dev, struct vepu_dev, mpp) 114 struct mpp_dev mpp; member 255 struct mpp_dev *mpp = session->mpp; in vepu_alloc_task() local 265 mpp_task->hw_info = mpp->var->hw_info; in vepu_alloc_task() 289 mpp_task_dump_mem_region(mpp, mpp_task); in vepu_alloc_task() 290 mpp_task_dump_reg(mpp, mpp_task); in vepu_alloc_task() 307 dev_name(core->mpp.dev), core->disable_work, in vepu_core_balance() 308 atomic_read(&core->mpp.task_count), atomic_read(&core->mpp.task_index)); in vepu_core_balance() 313 if (atomic_read(&core->mpp.task_count) < atomic_read(&enc->mpp.task_count)) { in vepu_core_balance() 318 if (atomic_read(&core->mpp.task_index) < atomic_read(&enc->mpp.task_index)) in vepu_core_balance() [all …]
|
D | mpp_rkvdec2.c | 155 int mpp_set_rcbbuf(struct mpp_dev *mpp, struct mpp_session *session, in mpp_set_rcbbuf() argument 158 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in mpp_set_rcbbuf() 193 int rkvdec2_task_init(struct mpp_dev *mpp, struct mpp_session *session, in rkvdec2_task_init() argument 202 mpp_task->hw_info = mpp->var->hw_info; in rkvdec2_task_init() 243 mpp_task_dump_mem_region(mpp, mpp_task); in rkvdec2_task_init() 244 mpp_task_dump_reg(mpp, mpp_task); in rkvdec2_task_init() 259 ret = rkvdec2_task_init(session->mpp, session, task, msgs); in rkvdec2_alloc_task() 264 mpp_set_rcbbuf(session->mpp, session, &task->mpp_task); in rkvdec2_alloc_task() 288 static int rkvdec2_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvdec2_run() argument 302 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE0_SIZE_BASE, reg); in rkvdec2_run() [all …]
|
D | mpp_rkvdec.c | 120 container_of(dev, struct rkvdec_dev, mpp) 156 struct mpp_dev mpp; member 466 static int power_model_simple_init(struct mpp_dev *mpp) in power_model_simple_init() argument 468 struct rkvdec_dev *dec = to_rkvdec_dev(mpp); in power_model_simple_init() 469 struct device_node *np = mpp->dev->of_node; in power_model_simple_init() 477 dev_err(mpp->dev, "could not find power_model node\n"); in power_model_simple_init() 484 dev_err(mpp->dev, "ts in power_model not available\n"); in power_model_simple_init() 498 dev_err(mpp->dev, "static-power-coefficient not available\n"); in power_model_simple_init() 504 dev_err(mpp->dev, "dynamic-power-coefficient not available\n"); in power_model_simple_init() 513 dev_err(mpp->dev, "ts in power_model not available\n"); in power_model_simple_init() [all …]
|
D | mpp_vdpu1.c | 91 container_of(dev, struct vdpu_dev, mpp) 117 struct mpp_dev mpp; member 342 struct mpp_dev *mpp = session->mpp; in vdpu_alloc_task() local 356 mpp_task->hw_info = mpp->var->hw_info; in vdpu_alloc_task() 377 mpp_task_dump_mem_region(mpp, mpp_task); in vdpu_alloc_task() 378 mpp_task_dump_reg(mpp, mpp_task); in vdpu_alloc_task() 384 static int vdpu_run(struct mpp_dev *mpp, in vdpu_run() argument 394 mpp_write_relaxed(mpp, VDPU1_REG_CLR_CACHE_BASE, 1); in vdpu_run() 402 mpp_write_req(mpp, task->reg, s, e, reg_en); in vdpu_run() 405 mpp->cur_task = mpp_task; in vdpu_run() [all …]
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
D | mpp_common.c | 82 static void mpp_attach_workqueue(struct mpp_dev *mpp, struct mpp_taskqueue *queue); 87 if (!task->session || !task->session->mpp) { in mpp_taskqueue_push_pending() 101 if (!task->session || !task->session->mpp) { in mpp_taskqueue_pop_pending() 166 if (!task->session || !task->session->mpp) { in mpp_taskqueue_pop_running() 178 static void mpp_taskqueue_trigger_work(struct mpp_dev *mpp) in mpp_taskqueue_trigger_work() argument 180 kthread_queue_work(&mpp->queue->worker, &mpp->work); in mpp_taskqueue_trigger_work() 183 int mpp_power_on(struct mpp_dev *mpp) in mpp_power_on() argument 185 pm_runtime_get_sync(mpp->dev); in mpp_power_on() 186 pm_stay_awake(mpp->dev); in mpp_power_on() 188 if (mpp->hw_ops->clk_on) { in mpp_power_on() [all …]
|
D | mpp_iep2.c | 77 #define to_iep2_dev(dev) container_of(dev, struct iep2_dev, mpp) 204 struct mpp_dev mpp; member 342 static void iep2_config(struct mpp_dev *mpp, struct iep_task *task) in iep2_config() argument 344 struct iep2_dev *iep = to_iep2_dev(mpp); in iep2_config() 354 mpp_write_relaxed(mpp, IEP2_REG_IEP_CONFIG0, reg); in iep2_config() 357 mpp_write_relaxed(mpp, IEP2_REG_SRC_IMG_SIZE, reg); in iep2_config() 360 mpp_write_relaxed(mpp, IEP2_REG_VIR_SRC_IMG_WIDTH, reg); in iep2_config() 363 mpp_write_relaxed(mpp, IEP2_REG_VIR_DST_IMG_WIDTH, reg); in iep2_config() 372 mpp_write_relaxed(mpp, IEP2_REG_DIL_CONFIG0, reg); in iep2_config() 375 mpp_write_relaxed(mpp, IEP2_REG_SRC_ADDR_CURY, cfg->src[0].y); in iep2_config() [all …]
|
D | mpp_rkvdec2_link.c | 171 struct mpp_dev *mpp = dev->mpp; in rkvdec_core_reg_dump() local 172 u32 s = mpp->var->hw_info->reg_start; in rkvdec_core_reg_dump() 173 u32 e = mpp->var->hw_info->reg_end; in rkvdec_core_reg_dump() 181 mpp_err("reg[%03d]: %04x: 0x%08x\n", i, reg, readl_relaxed(mpp->reg_base + reg)); in rkvdec_core_reg_dump() 206 int rkvdec_link_dump(struct mpp_dev *mpp) in rkvdec_link_dump() argument 208 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec_link_dump() 375 static void rkvdec2_clear_cache(struct mpp_dev *mpp) in rkvdec2_clear_cache() argument 384 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE0_SIZE_BASE, reg); in rkvdec2_clear_cache() 385 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE1_SIZE_BASE, reg); in rkvdec2_clear_cache() 386 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE2_SIZE_BASE, reg); in rkvdec2_clear_cache() [all …]
|
D | mpp_vdpu2.c | 81 #define to_vdpu_dev(dev) container_of(dev, struct vdpu_dev, mpp) 100 struct mpp_dev mpp; member 288 struct mpp_dev *mpp = session->mpp; in vdpu_alloc_task() local 299 mpp_task->hw_info = mpp->var->hw_info; in vdpu_alloc_task() 321 mpp_task_dump_mem_region(mpp, mpp_task); in vdpu_alloc_task() 322 mpp_task_dump_reg(mpp, mpp_task); in vdpu_alloc_task() 328 static int vdpu_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in vdpu_run() argument 337 mpp_write_relaxed(mpp, VDPU2_REG_CLR_CACHE_BASE, 1); in vdpu_run() 345 mpp_write_req(mpp, task->reg, s, e, reg_en); in vdpu_run() 348 mpp->cur_task = mpp_task; in vdpu_run() [all …]
|
D | mpp_jpgdec.c | 73 #define to_jpgdec_dev(dev) container_of(dev, struct jpgdec_dev, mpp) 91 struct mpp_dev mpp; member 197 struct mpp_dev *mpp = session->mpp; in jpgdec_alloc_task() local 208 mpp_task->hw_info = mpp->var->hw_info; in jpgdec_alloc_task() 230 mpp_task_dump_mem_region(mpp, mpp_task); in jpgdec_alloc_task() 231 mpp_task_dump_reg(mpp, mpp_task); in jpgdec_alloc_task() 237 static int jpgdec_soft_reset(struct mpp_dev *mpp) in jpgdec_soft_reset() argument 239 mpp_write(mpp, JPGDEC_REG_SYS_BASE, JPGDEC_FORCE_SOFTRESET_VALID); in jpgdec_soft_reset() 240 mpp_write(mpp, JPGDEC_REG_INT_EN_BASE, JPGDEC_SOFT_REST_EN); in jpgdec_soft_reset() 245 static int jpgdec_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in jpgdec_run() argument [all …]
|
D | mpp_vepu2.c | 79 #define to_vepu_dev(dev) container_of(dev, struct vepu_dev, mpp) 112 struct mpp_dev mpp; member 245 struct mpp_dev *mpp = session->mpp; in vepu_alloc_task() local 256 mpp_task->hw_info = mpp->var->hw_info; in vepu_alloc_task() 282 mpp_task_dump_mem_region(mpp, mpp_task); in vepu_alloc_task() 283 mpp_task_dump_reg(mpp, mpp_task); in vepu_alloc_task() 300 …debug(DEBUG_DEVICE, "%s, disable_work=%d, task_count=%d, task_index=%d\n", dev_name(core->mpp.dev), in vepu_core_balance() 301 … core->disable_work, atomic_read(&core->mpp.task_count), atomic_read(&core->mpp.task_index)); in vepu_core_balance() 307 if (atomic_read(&core->mpp.task_count) < atomic_read(&enc->mpp.task_count)) { in vepu_core_balance() 312 if (atomic_read(&core->mpp.task_index) < atomic_read(&enc->mpp.task_index)) { in vepu_core_balance() [all …]
|
D | mpp_rkvdec2.c | 156 int mpp_set_rcbbuf(struct mpp_dev *mpp, struct mpp_session *session, struct mpp_task *task) in mpp_set_rcbbuf() argument 158 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in mpp_set_rcbbuf() 192 int rkvdec2_task_init(struct mpp_dev *mpp, struct mpp_session *session, struct rkvdec2_task *task, in rkvdec2_task_init() argument 201 mpp_task->hw_info = mpp->var->hw_info; in rkvdec2_task_init() 242 mpp_task_dump_mem_region(mpp, mpp_task); in rkvdec2_task_init() 243 mpp_task_dump_reg(mpp, mpp_task); in rkvdec2_task_init() 258 ret = rkvdec2_task_init(session->mpp, session, task, msgs); in rkvdec2_alloc_task() 263 mpp_set_rcbbuf(session->mpp, session, &task->mpp_task); in rkvdec2_alloc_task() 287 static int rkvdec2_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvdec2_run() argument 301 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE0_SIZE_BASE, reg); in rkvdec2_run() [all …]
|
D | mpp_rkvdec.c | 118 #define to_rkvdec_dev(dev) container_of(dev, struct rkvdec_dev, mpp) 150 struct mpp_dev mpp; member 443 static int power_model_simple_init(struct mpp_dev *mpp) in power_model_simple_init() argument 445 struct rkvdec_dev *dec = to_rkvdec_dev(mpp); in power_model_simple_init() 446 struct device_node *np = mpp->dev->of_node; in power_model_simple_init() 454 dev_err(mpp->dev, "could not find power_model node\n"); in power_model_simple_init() 459 dev_err(mpp->dev, "ts in power_model not available\n"); in power_model_simple_init() 471 dev_err(mpp->dev, "static-power-coefficient not available\n"); in power_model_simple_init() 475 dev_err(mpp->dev, "dynamic-power-coefficient not available\n"); in power_model_simple_init() 482 dev_err(mpp->dev, "ts in power_model not available\n"); in power_model_simple_init() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/ |
D | mpp_common.c | 98 static void mpp_attach_workqueue(struct mpp_dev *mpp, 105 if (!task->session || !task->session->mpp) in mpp_taskqueue_pop_pending() 180 if (!task->session || !task->session->mpp) in mpp_taskqueue_pop_running() 192 mpp_taskqueue_trigger_work(struct mpp_dev *mpp) in mpp_taskqueue_trigger_work() argument 194 kthread_queue_work(&mpp->queue->worker, &mpp->work); in mpp_taskqueue_trigger_work() 197 int mpp_power_on(struct mpp_dev *mpp) in mpp_power_on() argument 199 pm_runtime_get_sync(mpp->dev); in mpp_power_on() 200 pm_stay_awake(mpp->dev); in mpp_power_on() 202 if (mpp->hw_ops->clk_on) in mpp_power_on() 203 mpp->hw_ops->clk_on(mpp); in mpp_power_on() [all …]
|
D | mpp_iep2.c | 87 container_of(dev, struct iep2_dev, mpp) 214 struct mpp_dev mpp; member 354 static void iep2_config(struct mpp_dev *mpp, struct iep_task *task) in iep2_config() argument 356 struct iep2_dev *iep = to_iep2_dev(mpp); in iep2_config() 369 mpp_write_relaxed(mpp, IEP2_REG_IEP_CONFIG0, reg); in iep2_config() 373 mpp_write_relaxed(mpp, IEP2_REG_SRC_IMG_SIZE, reg); in iep2_config() 377 mpp_write_relaxed(mpp, IEP2_REG_VIR_SRC_IMG_WIDTH, reg); in iep2_config() 380 mpp_write_relaxed(mpp, IEP2_REG_VIR_DST_IMG_WIDTH, reg); in iep2_config() 396 mpp_write_relaxed(mpp, IEP2_REG_DIL_CONFIG0, reg); in iep2_config() 399 mpp_write_relaxed(mpp, IEP2_REG_SRC_ADDR_CURY, in iep2_config() [all …]
|
D | mpp_rkvdec2_link.c | 167 struct mpp_dev *mpp = dev->mpp; in rkvdec_core_reg_dump() local 168 u32 s = mpp->var->hw_info->reg_start; in rkvdec_core_reg_dump() 169 u32 e = mpp->var->hw_info->reg_end; in rkvdec_core_reg_dump() 178 i, reg, readl_relaxed(mpp->reg_base + reg)); in rkvdec_core_reg_dump() 204 int rkvdec_link_dump(struct mpp_dev *mpp) in rkvdec_link_dump() argument 206 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec_link_dump() 370 static void rkvdec2_clear_cache(struct mpp_dev *mpp) in rkvdec2_clear_cache() argument 379 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE0_SIZE_BASE, reg); in rkvdec2_clear_cache() 380 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE1_SIZE_BASE, reg); in rkvdec2_clear_cache() 381 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE2_SIZE_BASE, reg); in rkvdec2_clear_cache() [all …]
|
D | mpp_jpgdec.c | 75 container_of(dev, struct jpgdec_dev, mpp) 93 struct mpp_dev mpp; member 203 struct mpp_dev *mpp = session->mpp; in jpgdec_alloc_task() local 213 mpp_task->hw_info = mpp->var->hw_info; in jpgdec_alloc_task() 233 mpp_task_dump_mem_region(mpp, mpp_task); in jpgdec_alloc_task() 234 mpp_task_dump_reg(mpp, mpp_task); in jpgdec_alloc_task() 240 static int jpgdec_soft_reset(struct mpp_dev *mpp) in jpgdec_soft_reset() argument 242 mpp_write(mpp, JPGDEC_REG_SYS_BASE, JPGDEC_FORCE_SOFTRESET_VALID); in jpgdec_soft_reset() 243 mpp_write(mpp, JPGDEC_REG_INT_EN_BASE, JPGDEC_SOFT_REST_EN); in jpgdec_soft_reset() 248 static int jpgdec_run(struct mpp_dev *mpp, in jpgdec_run() argument [all …]
|
D | mpp_vepu2.c | 80 container_of(dev, struct vepu_dev, mpp) 113 struct mpp_dev mpp; member 254 struct mpp_dev *mpp = session->mpp; in vepu_alloc_task() local 264 mpp_task->hw_info = mpp->var->hw_info; in vepu_alloc_task() 288 mpp_task_dump_mem_region(mpp, mpp_task); in vepu_alloc_task() 289 mpp_task_dump_reg(mpp, mpp_task); in vepu_alloc_task() 295 static void *vepu_prepare(struct mpp_dev *mpp, struct mpp_task *mpp_task) in vepu_prepare() argument 297 struct mpp_taskqueue *queue = mpp->queue; in vepu_prepare() 312 mpp_task->mpp = queue->cores[core_id]; in vepu_prepare() 324 static int vepu_run(struct mpp_dev *mpp, in vepu_run() argument [all …]
|
D | mpp_rkvenc.c | 123 container_of(dev, struct rkvenc_dev, mpp) 181 struct mpp_dev mpp; member 333 struct mpp_dev *mpp = session->mpp; in rkvenc_alloc_task() local 343 mpp_task->hw_info = mpp->var->hw_info; in rkvenc_alloc_task() 373 mpp_task_dump_mem_region(mpp, mpp_task); in rkvenc_alloc_task() 374 mpp_task_dump_reg(mpp, mpp_task); in rkvenc_alloc_task() 380 static int rkvenc_write_req_l2(struct mpp_dev *mpp, in rkvenc_write_req_l2() argument 390 writel_relaxed(reg, mpp->reg_base + RKVENC_L2_ADDR_BASE); in rkvenc_write_req_l2() 391 writel_relaxed(regs[i], mpp->reg_base + RKVENC_L2_WRITE_BASE); in rkvenc_write_req_l2() 397 static int rkvenc_read_req_l2(struct mpp_dev *mpp, in rkvenc_read_req_l2() argument [all …]
|
D | mpp_vdpu2.c | 82 container_of(dev, struct vdpu_dev, mpp) 101 struct mpp_dev mpp; member 299 struct mpp_dev *mpp = session->mpp; in vdpu_alloc_task() local 309 mpp_task->hw_info = mpp->var->hw_info; in vdpu_alloc_task() 329 mpp_task_dump_mem_region(mpp, mpp_task); in vdpu_alloc_task() 330 mpp_task_dump_reg(mpp, mpp_task); in vdpu_alloc_task() 336 static int vdpu_run(struct mpp_dev *mpp, in vdpu_run() argument 346 mpp_write_relaxed(mpp, VDPU2_REG_CLR_CACHE_BASE, 1); in vdpu_run() 354 mpp_write_req(mpp, task->reg, s, e, reg_en); in vdpu_run() 357 mpp->cur_task = mpp_task; in vdpu_run() [all …]
|
D | mpp_rkvdec2.c | 164 int mpp_set_rcbbuf(struct mpp_dev *mpp, struct mpp_session *session, in mpp_set_rcbbuf() argument 167 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in mpp_set_rcbbuf() 202 int rkvdec2_task_init(struct mpp_dev *mpp, struct mpp_session *session, in rkvdec2_task_init() argument 211 mpp_task->hw_info = mpp->var->hw_info; in rkvdec2_task_init() 252 mpp_task_dump_mem_region(mpp, mpp_task); in rkvdec2_task_init() 253 mpp_task_dump_reg(mpp, mpp_task); in rkvdec2_task_init() 268 ret = rkvdec2_task_init(session->mpp, session, task, msgs); in rkvdec2_alloc_task() 273 mpp_set_rcbbuf(session->mpp, session, &task->mpp_task); in rkvdec2_alloc_task() 278 static int rkvdec2_run(struct mpp_dev *mpp, struct mpp_task *mpp_task) in rkvdec2_run() argument 292 mpp_write_relaxed(mpp, RKVDEC_REG_CACHE0_SIZE_BASE, reg); in rkvdec2_run() [all …]
|