/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
D | mpp_service.c | 159 if (srv->procfs) { in mpp_procfs_remove() 160 proc_remove(srv->procfs); in mpp_procfs_remove() 161 srv->procfs = NULL; in mpp_procfs_remove() 261 srv->procfs = proc_mkdir(MPP_SERVICE_NAME, NULL); in mpp_procfs_init() 262 if (IS_ERR_OR_NULL(srv->procfs)) { in mpp_procfs_init() 264 srv->procfs = NULL; in mpp_procfs_init() 268 proc_create_single("version", FILE_RIGHT_444, srv->procfs, mpp_show_version); in mpp_procfs_init() 270 …proc_create_single_data("sessions-summary", FILE_RIGHT_444, srv->procfs, mpp_show_session_summary,… in mpp_procfs_init() 272 proc_create_single("supports-cmd", FILE_RIGHT_444, srv->procfs, mpp_show_support_cmd); in mpp_procfs_init() 274 …proc_create_single_data("supports-device", FILE_RIGHT_444, srv->procfs, mpp_show_support_device, s… in mpp_procfs_init()
|
D | mpp_jpgdec.c | 96 struct proc_dir_entry *procfs; member 347 if (dec->procfs) { in jpgdec_procfs_remove() 348 proc_remove(dec->procfs); in jpgdec_procfs_remove() 349 dec->procfs = NULL; in jpgdec_procfs_remove() 359 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in jpgdec_procfs_init() 360 if (IS_ERR_OR_NULL(dec->procfs)) { in jpgdec_procfs_init() 362 dec->procfs = NULL; in jpgdec_procfs_init() 365 mpp_procfs_create_u32("aclk", FILE_RIGHT_644, dec->procfs, &dec->aclk_info.debug_rate_hz); in jpgdec_procfs_init() 366 … mpp_procfs_create_u32("session_buffers", FILE_RIGHT_644, dec->procfs, &mpp->session_max_buffers); in jpgdec_procfs_init()
|
D | mpp_vdpu2.c | 105 struct proc_dir_entry *procfs; member 423 if (dec->procfs) { in vdpu_procfs_remove() 424 proc_remove(dec->procfs); in vdpu_procfs_remove() 425 dec->procfs = NULL; in vdpu_procfs_remove() 435 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 436 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 438 dec->procfs = NULL; in vdpu_procfs_init() 441 mpp_procfs_create_u32("aclk", FILE_RIGHT_644, dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 442 … mpp_procfs_create_u32("session_buffers", FILE_RIGHT_644, dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init()
|
D | mpp_vepu1.c | 101 struct proc_dir_entry *procfs; member 446 if (enc->procfs) { in vepu_procfs_remove() 447 proc_remove(enc->procfs); in vepu_procfs_remove() 448 enc->procfs = NULL; in vepu_procfs_remove() 527 enc->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vepu_procfs_init() 528 if (IS_ERR_OR_NULL(enc->procfs)) { in vepu_procfs_init() 530 enc->procfs = NULL; in vepu_procfs_init() 533 mpp_procfs_create_u32("aclk", FILE_RIGHT_644, enc->procfs, &enc->aclk_info.debug_rate_hz); in vepu_procfs_init() 534 … mpp_procfs_create_u32("session_buffers", FILE_RIGHT_644, enc->procfs, &mpp->session_max_buffers); in vepu_procfs_init() 536 …proc_create_single_data("sessions-info", FILE_RIGHT_444, enc->procfs, vepu_show_session_info, mpp); in vepu_procfs_init()
|
D | mpp_vdpu1.c | 120 struct proc_dir_entry *procfs; member 471 if (dec->procfs) { in vdpu_procfs_remove() 472 proc_remove(dec->procfs); in vdpu_procfs_remove() 473 dec->procfs = NULL; in vdpu_procfs_remove() 483 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 484 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 486 dec->procfs = NULL; in vdpu_procfs_init() 489 mpp_procfs_create_u32("aclk", FILE_RIGHT_644, dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 490 … mpp_procfs_create_u32("session_buffers", FILE_RIGHT_644, dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init()
|
D | mpp_rkvdec2.c | 578 if (dec->procfs) { in rkvdec2_procfs_remove() 579 proc_remove(dec->procfs); in rkvdec2_procfs_remove() 580 dec->procfs = NULL; in rkvdec2_procfs_remove() 598 …f (!mpp->dev || !mpp->dev->of_node || !mpp->dev->of_node->name || !mpp->srv || !mpp->srv->procfs) { in rkvdec2_procfs_init() 603 dec->procfs = proc_mkdir(name, mpp->srv->procfs); in rkvdec2_procfs_init() 604 if (IS_ERR_OR_NULL(dec->procfs)) { in rkvdec2_procfs_init() 606 dec->procfs = NULL; in rkvdec2_procfs_init() 609 mpp_procfs_create_u32("aclk", MPP_PROCFS_FILE, dec->procfs, &dec->aclk_info.debug_rate_hz); in rkvdec2_procfs_init() 610 …mpp_procfs_create_u32("clk_core", MPP_PROCFS_FILE, dec->procfs, &dec->core_clk_info.debug_rate_hz); in rkvdec2_procfs_init() 611 …mpp_procfs_create_u32("clk_cabac", MPP_PROCFS_FILE, dec->procfs, &dec->cabac_clk_info.debug_rate_h… in rkvdec2_procfs_init() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
D | mpp_service.c | 162 if (srv->procfs) { in mpp_procfs_remove() 163 proc_remove(srv->procfs); in mpp_procfs_remove() 164 srv->procfs = NULL; in mpp_procfs_remove() 260 srv->procfs = proc_mkdir(MPP_SERVICE_NAME, NULL); in mpp_procfs_init() 261 if (IS_ERR_OR_NULL(srv->procfs)) { in mpp_procfs_init() 263 srv->procfs = NULL; in mpp_procfs_init() 267 proc_create_single("version", 0444, srv->procfs, mpp_show_version); in mpp_procfs_init() 270 srv->procfs, mpp_show_session_summary, srv); in mpp_procfs_init() 272 proc_create_single("supports-cmd", 0444, srv->procfs, mpp_show_support_cmd); in mpp_procfs_init() 275 srv->procfs, mpp_show_support_device, srv); in mpp_procfs_init()
|
D | mpp_jpgdec.c | 98 struct proc_dir_entry *procfs; member 359 if (dec->procfs) { in jpgdec_procfs_remove() 360 proc_remove(dec->procfs); in jpgdec_procfs_remove() 361 dec->procfs = NULL; in jpgdec_procfs_remove() 371 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in jpgdec_procfs_init() 372 if (IS_ERR_OR_NULL(dec->procfs)) { in jpgdec_procfs_init() 374 dec->procfs = NULL; in jpgdec_procfs_init() 378 dec->procfs, &dec->aclk_info.debug_rate_hz); in jpgdec_procfs_init() 380 dec->procfs, &mpp->session_max_buffers); in jpgdec_procfs_init()
|
D | mpp_vdpu2.c | 107 struct proc_dir_entry *procfs; member 441 if (dec->procfs) { in vdpu_procfs_remove() 442 proc_remove(dec->procfs); in vdpu_procfs_remove() 443 dec->procfs = NULL; in vdpu_procfs_remove() 453 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 454 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 456 dec->procfs = NULL; in vdpu_procfs_init() 460 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 462 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init()
|
D | mpp_vepu1.c | 103 struct proc_dir_entry *procfs; member 475 if (enc->procfs) { in vepu_procfs_remove() 476 proc_remove(enc->procfs); in vepu_procfs_remove() 477 enc->procfs = NULL; in vepu_procfs_remove() 552 enc->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vepu_procfs_init() 553 if (IS_ERR_OR_NULL(enc->procfs)) { in vepu_procfs_init() 555 enc->procfs = NULL; in vepu_procfs_init() 559 enc->procfs, &enc->aclk_info.debug_rate_hz); in vepu_procfs_init() 561 enc->procfs, &mpp->session_max_buffers); in vepu_procfs_init() 564 enc->procfs, vepu_show_session_info, mpp); in vepu_procfs_init()
|
D | mpp_vdpu1.c | 122 struct proc_dir_entry *procfs; member 488 if (dec->procfs) { in vdpu_procfs_remove() 489 proc_remove(dec->procfs); in vdpu_procfs_remove() 490 dec->procfs = NULL; in vdpu_procfs_remove() 500 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 501 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 503 dec->procfs = NULL; in vdpu_procfs_init() 507 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 509 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init()
|
D | mpp_rkvdec2.c | 582 if (dec->procfs) { in rkvdec2_procfs_remove() 583 proc_remove(dec->procfs); in rkvdec2_procfs_remove() 584 dec->procfs = NULL; in rkvdec2_procfs_remove() 603 !mpp->srv || !mpp->srv->procfs) in rkvdec2_procfs_init() 608 dec->procfs = proc_mkdir(name, mpp->srv->procfs); in rkvdec2_procfs_init() 609 if (IS_ERR_OR_NULL(dec->procfs)) { in rkvdec2_procfs_init() 611 dec->procfs = NULL; in rkvdec2_procfs_init() 615 dec->procfs, &dec->aclk_info.debug_rate_hz); in rkvdec2_procfs_init() 617 dec->procfs, &dec->core_clk_info.debug_rate_hz); in rkvdec2_procfs_init() 619 dec->procfs, &dec->cabac_clk_info.debug_rate_hz); in rkvdec2_procfs_init() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/ |
D | mpp_service.c | 166 if (srv->procfs) { in mpp_procfs_remove() 167 proc_remove(srv->procfs); in mpp_procfs_remove() 168 srv->procfs = NULL; in mpp_procfs_remove() 264 srv->procfs = proc_mkdir(MPP_SERVICE_NAME, NULL); in mpp_procfs_init() 265 if (IS_ERR_OR_NULL(srv->procfs)) { in mpp_procfs_init() 267 srv->procfs = NULL; in mpp_procfs_init() 271 proc_create_single("version", 0444, srv->procfs, mpp_show_version); in mpp_procfs_init() 274 srv->procfs, mpp_show_session_summary, srv); in mpp_procfs_init() 276 proc_create_single("supports-cmd", 0444, srv->procfs, mpp_show_support_cmd); in mpp_procfs_init() 279 srv->procfs, mpp_show_support_device, srv); in mpp_procfs_init()
|
D | mpp_jpgdec.c | 98 struct proc_dir_entry *procfs; member 359 if (dec->procfs) { in jpgdec_procfs_remove() 360 proc_remove(dec->procfs); in jpgdec_procfs_remove() 361 dec->procfs = NULL; in jpgdec_procfs_remove() 371 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in jpgdec_procfs_init() 372 if (IS_ERR_OR_NULL(dec->procfs)) { in jpgdec_procfs_init() 374 dec->procfs = NULL; in jpgdec_procfs_init() 378 dec->procfs, &dec->aclk_info.debug_rate_hz); in jpgdec_procfs_init() 380 dec->procfs, &mpp->session_max_buffers); in jpgdec_procfs_init()
|
D | mpp_vdpu2.c | 106 struct proc_dir_entry *procfs; member 440 if (dec->procfs) { in vdpu_procfs_remove() 441 proc_remove(dec->procfs); in vdpu_procfs_remove() 442 dec->procfs = NULL; in vdpu_procfs_remove() 452 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 453 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 455 dec->procfs = NULL; in vdpu_procfs_init() 459 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 461 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init()
|
D | mpp_vepu1.c | 103 struct proc_dir_entry *procfs; member 475 if (enc->procfs) { in vepu_procfs_remove() 476 proc_remove(enc->procfs); in vepu_procfs_remove() 477 enc->procfs = NULL; in vepu_procfs_remove() 552 enc->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vepu_procfs_init() 553 if (IS_ERR_OR_NULL(enc->procfs)) { in vepu_procfs_init() 555 enc->procfs = NULL; in vepu_procfs_init() 559 enc->procfs, &enc->aclk_info.debug_rate_hz); in vepu_procfs_init() 561 enc->procfs, &mpp->session_max_buffers); in vepu_procfs_init() 564 enc->procfs, vepu_show_session_info, mpp); in vepu_procfs_init()
|
D | mpp_vepu2.c | 119 struct proc_dir_entry *procfs; member 546 if (enc->procfs) { in vepu_procfs_remove() 547 proc_remove(enc->procfs); in vepu_procfs_remove() 548 enc->procfs = NULL; in vepu_procfs_remove() 625 !mpp->srv || !mpp->srv->procfs) in vepu_procfs_init() 631 enc->procfs = proc_mkdir(name, mpp->srv->procfs); in vepu_procfs_init() 632 if (IS_ERR_OR_NULL(enc->procfs)) { in vepu_procfs_init() 634 enc->procfs = NULL; in vepu_procfs_init() 638 enc->procfs, &enc->aclk_info.debug_rate_hz); in vepu_procfs_init() 640 enc->procfs, &mpp->session_max_buffers); in vepu_procfs_init() [all …]
|
D | mpp_vdpu1.c | 122 struct proc_dir_entry *procfs; member 488 if (dec->procfs) { in vdpu_procfs_remove() 489 proc_remove(dec->procfs); in vdpu_procfs_remove() 490 dec->procfs = NULL; in vdpu_procfs_remove() 500 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 501 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 503 dec->procfs = NULL; in vdpu_procfs_init() 507 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 509 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init()
|
D | mpp_rkvdec2.c | 550 if (dec->procfs) { in rkvdec2_procfs_remove() 551 proc_remove(dec->procfs); in rkvdec2_procfs_remove() 552 dec->procfs = NULL; in rkvdec2_procfs_remove() 571 !mpp->srv || !mpp->srv->procfs) in rkvdec2_procfs_init() 576 dec->procfs = proc_mkdir(name, mpp->srv->procfs); in rkvdec2_procfs_init() 577 if (IS_ERR_OR_NULL(dec->procfs)) { in rkvdec2_procfs_init() 579 dec->procfs = NULL; in rkvdec2_procfs_init() 583 dec->procfs, &dec->aclk_info.debug_rate_hz); in rkvdec2_procfs_init() 585 dec->procfs, &dec->core_clk_info.debug_rate_hz); in rkvdec2_procfs_init() 587 dec->procfs, &dec->cabac_clk_info.debug_rate_hz); in rkvdec2_procfs_init() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/rga2/ |
D | Kconfig | 11 bool "Enable RGA2 procfs" 15 Enable procfs to debug RGA driver. 28 Enabling the debugger of RGA2, you can use procfs and debugfs for debugging.
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/ |
D | Kconfig | 11 bool "Enable RGA procfs" 15 Enable procfs to debug multi RGA driver. 28 Enabling the debugger of multi RGA, you can use procfs and debugfs for debugging.
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/ |
D | Kconfig | 11 bool "Enable RGA2 procfs" 15 Enable procfs to debug RGA driver. 28 Enabling the debugger of RGA2, you can use procfs and debugfs for debugging.
|
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/ |
D | procfs.c | 131 dev->procfs = proc_create_data(dev->name, 0, NULL, &ops, dev); in rkispp_proc_init() 132 if (!dev->procfs) in rkispp_proc_init() 139 if (dev->procfs) in rkispp_proc_cleanup() 141 dev->procfs = NULL; in rkispp_proc_cleanup()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/ |
D | procfs.c | 93 dev->procfs = proc_create_data(dev->name, 0, NULL, &ops, dev); in rkispp_proc_init() 94 if (!dev->procfs) { in rkispp_proc_init() 102 if (dev->procfs) { in rkispp_proc_cleanup() 105 dev->procfs = NULL; in rkispp_proc_cleanup()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/ |
D | procfs.c | 131 dev->procfs = proc_create_data(dev->name, 0, NULL, &ops, dev); in rkispp_proc_init() 132 if (!dev->procfs) in rkispp_proc_init() 139 if (dev->procfs) in rkispp_proc_cleanup() 141 dev->procfs = NULL; in rkispp_proc_cleanup()
|