/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_rkvenc.c | 485 struct rkvenc_dev *enc = to_rkvenc_dev(mpp);
in rkvenc_isr() local 511 if (enc->aux_iova != -1) {
in rkvenc_isr() 512 iommu_unmap(mpp->iommu_info->domain, enc->aux_iova, IOMMU_PAGE_SIZE);
in rkvenc_isr() 513 enc->aux_iova = -1;
in rkvenc_isr() 676 struct rkvenc_dev *enc = to_rkvenc_dev(mpp);
in rkvenc_procfs_remove() local 678 if (enc->procfs) {
in rkvenc_procfs_remove() 679 proc_remove(enc->procfs);
in rkvenc_procfs_remove() 680 enc->procfs = NULL;
in rkvenc_procfs_remove() 757 struct rkvenc_dev *enc = to_rkvenc_dev(mpp);
in rkvenc_procfs_init() local 759 enc in rkvenc_procfs_init() 798 struct rkvenc_dev *enc = dev_get_drvdata(dev); rkvenc_devfreq_target() local 858 struct rkvenc_dev *enc = dev_get_drvdata(dev); rkvenc_devfreq_get_cur_freq() local 873 struct rkvenc_dev *enc = df->data; devfreq_venc_ondemand_func() local 897 struct rkvenc_dev *enc = devfreq->data; rkvenc_get_static_power() local 960 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_devfreq_init() local 1047 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_devfreq_remove() local 1065 struct rkvenc_dev *enc = container_of(work_s, struct rkvenc_dev, iommu_work); rkvenc_iommu_handle_work() local 1098 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_iommu_fault_handle() local 1114 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_init() local 1181 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_exit() local 1206 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_reset() local 1249 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_clk_on() local 1260 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_clk_off() local 1274 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_get_freq() local 1306 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_set_freq() local 1380 struct rkvenc_dev *enc = NULL; rkvenc_probe() local 1424 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_remove() local 1436 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_shutdown() local [all...] |
H A D | mpp_rkvenc2.c | 568 struct rkvenc_dev *enc;
in rkvenc_core_balance() local 574 enc = list_first_entry(&ccu->core_list, struct rkvenc_dev, core_link);
in rkvenc_core_balance() 584 if (atomic_read(&core->mpp.task_count) < atomic_read(&enc->mpp.task_count)) {
in rkvenc_core_balance() 585 enc = core;
in rkvenc_core_balance() 589 if (atomic_read(&core->mpp.task_index) < atomic_read(&enc->mpp.task_index)) {
in rkvenc_core_balance() 590 enc = core;
in rkvenc_core_balance() 597 return enc;
in rkvenc_core_balance() 602 struct rkvenc_dev *enc = to_rkvenc_dev(mpp);
in rkvenc2_set_rcbbuf() local 608 if (priv && enc->sram_iova) {
in rkvenc2_set_rcbbuf() 619 if (rcb_offset > enc in rkvenc2_set_rcbbuf() 726 struct rkvenc_dev *enc = to_rkvenc_dev(session->mpp); rkvenc_ccu_alloc_task() local 760 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_run() local 815 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_irq() local 839 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_isr() local 1026 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_procfs_remove() local 1107 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_procfs_init() local 1134 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_procfs_ccu_init() local 1163 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_init() local 1206 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_reset() local 1242 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_clk_on() local 1253 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_clk_off() local 1264 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_set_freq() local 1361 rkvenc_attach_ccu(struct device *dev, struct rkvenc_dev *enc) rkvenc_attach_ccu() argument 1417 rkvenc2_alloc_rcbbuf(struct platform_device *pdev, struct rkvenc_dev *enc) rkvenc2_alloc_rcbbuf() argument 1518 struct rkvenc_dev *enc = NULL; rkvenc_core_probe() local 1577 struct rkvenc_dev *enc = NULL; rkvenc_probe_default() local 1642 rkvenc2_free_rcbbuf(struct platform_device *pdev, struct rkvenc_dev *enc) rkvenc2_free_rcbbuf() argument 1667 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_remove() local 1680 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_remove() local 1698 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_shutdown() local [all...] |
H A D | mpp_vepu2.c | 291 struct vepu_dev *enc;
in vepu_core_balance() local 297 enc = list_first_entry(&ccu->core_list, struct vepu_dev, core_link);
in vepu_core_balance() 307 if (atomic_read(&core->mpp.task_count) < atomic_read(&enc->mpp.task_count)) {
in vepu_core_balance() 308 enc = core;
in vepu_core_balance() 312 if (atomic_read(&core->mpp.task_index) < atomic_read(&enc->mpp.task_index)) {
in vepu_core_balance() 313 enc = core;
in vepu_core_balance() 320 return enc;
in vepu_core_balance() 325 struct vepu_dev *enc = to_vepu_dev(session->mpp);
in vepu_ccu_alloc_task() local 328 if (enc->ccu) {
in vepu_ccu_alloc_task() 329 enc in vepu_ccu_alloc_task() 531 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_procfs_remove() local 612 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_procfs_init() local 637 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_procfs_ccu_init() local 672 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_init() local 711 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_clk_on() local 721 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_clk_off() local 734 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_get_freq() local 766 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_set_freq() local 776 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_reduce_freq() local 785 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_reset() local 914 vepu_attach_ccu(struct device *dev, struct vepu_dev *enc) vepu_attach_ccu() argument 968 struct vepu_dev *enc = NULL; vepu_core_probe() local 1021 struct vepu_dev *enc = NULL; vepu_probe_default() local 1090 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_remove() local 1102 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_remove() local 1119 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_shutdown() local [all...] |
H A D | mpp_vepu1.c | 444 struct vepu_dev *enc = to_vepu_dev(mpp);
in vepu_procfs_remove() local 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() 525 struct vepu_dev *enc = to_vepu_dev(mpp);
in vepu_procfs_init() local 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 in vepu_procfs_init() 560 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_init() local 591 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_clk_on() local 601 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_clk_off() local 611 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_set_freq() local 621 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_reduce_freq() local 630 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_reset() local 690 struct vepu_dev *enc = NULL; vepu_probe() local 734 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_remove() local 748 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_shutdown() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_rkvenc.c | 508 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); in rkvenc_isr() local 535 if (enc->aux_iova != -1) { in rkvenc_isr() 536 iommu_unmap(mpp->iommu_info->domain, enc->aux_iova, IOMMU_PAGE_SIZE); in rkvenc_isr() 537 enc->aux_iova = -1; in rkvenc_isr() 719 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); in rkvenc_procfs_remove() local 721 if (enc->procfs) { in rkvenc_procfs_remove() 722 proc_remove(enc->procfs); in rkvenc_procfs_remove() 723 enc->procfs = NULL; in rkvenc_procfs_remove() 796 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); in rkvenc_procfs_init() local 798 enc in rkvenc_procfs_init() 842 struct rkvenc_dev *enc = dev_get_drvdata(dev); rkvenc_devfreq_target() local 904 struct rkvenc_dev *enc = dev_get_drvdata(dev); rkvenc_devfreq_get_cur_freq() local 919 struct rkvenc_dev *enc = df->data; devfreq_venc_ondemand_func() local 944 struct rkvenc_dev *enc = devfreq->data; rkvenc_get_static_power() local 1007 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_devfreq_init() local 1099 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_devfreq_remove() local 1116 struct rkvenc_dev *enc = container_of(work_s, struct rkvenc_dev, iommu_work); rkvenc_iommu_handle_work() local 1150 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_iommu_fault_handle() local 1166 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_init() local 1228 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_exit() local 1252 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_reset() local 1293 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_clk_on() local 1304 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_clk_off() local 1319 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_get_freq() local 1352 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_set_freq() local 1426 struct rkvenc_dev *enc = NULL; rkvenc_probe() local 1475 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_remove() local 1489 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_shutdown() local [all...] |
H A D | mpp_rkvenc2.c | 561 struct rkvenc_dev *enc; in rkvenc_core_balance() local 567 enc = list_first_entry(&ccu->core_list, struct rkvenc_dev, core_link); in rkvenc_core_balance() 576 if (atomic_read(&core->mpp.task_count) < atomic_read(&enc->mpp.task_count)) { in rkvenc_core_balance() 577 enc = core; in rkvenc_core_balance() 581 if (atomic_read(&core->mpp.task_index) < atomic_read(&enc->mpp.task_index)) in rkvenc_core_balance() 582 enc = core; in rkvenc_core_balance() 588 return enc; in rkvenc_core_balance() 594 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); in rkvenc2_set_rcbbuf() local 600 if (priv && enc->sram_iova) { in rkvenc2_set_rcbbuf() 611 if (rcb_offset > enc in rkvenc2_set_rcbbuf() 715 struct rkvenc_dev *enc = to_rkvenc_dev(session->mpp); rkvenc_ccu_alloc_task() local 756 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_run() local 810 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_irq() local 833 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_isr() local 1019 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_procfs_remove() local 1096 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_procfs_init() local 1128 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_procfs_ccu_init() local 1157 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_init() local 1196 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_reset() local 1232 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_clk_on() local 1243 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_clk_off() local 1254 struct rkvenc_dev *enc = to_rkvenc_dev(mpp); rkvenc_set_freq() local 1351 rkvenc_attach_ccu(struct device *dev, struct rkvenc_dev *enc) rkvenc_attach_ccu() argument 1404 rkvenc2_alloc_rcbbuf(struct platform_device *pdev, struct rkvenc_dev *enc) rkvenc2_alloc_rcbbuf() argument 1506 struct rkvenc_dev *enc = NULL; rkvenc_core_probe() local 1565 struct rkvenc_dev *enc = NULL; rkvenc_probe_default() local 1630 rkvenc2_free_rcbbuf(struct platform_device *pdev, struct rkvenc_dev *enc) rkvenc2_free_rcbbuf() argument 1655 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_remove() local 1668 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_remove() local 1686 struct rkvenc_dev *enc = platform_get_drvdata(pdev); rkvenc_shutdown() local [all...] |
H A D | mpp_vepu2.c | 298 struct vepu_dev *enc; in vepu_core_balance() local 304 enc = list_first_entry(&ccu->core_list, struct vepu_dev, core_link); in vepu_core_balance() 313 if (atomic_read(&core->mpp.task_count) < atomic_read(&enc->mpp.task_count)) { in vepu_core_balance() 314 enc = core; in vepu_core_balance() 318 if (atomic_read(&core->mpp.task_index) < atomic_read(&enc->mpp.task_index)) in vepu_core_balance() 319 enc = core; in vepu_core_balance() 325 return enc; in vepu_core_balance() 331 struct vepu_dev *enc = to_vepu_dev(session->mpp); in vepu_ccu_alloc_task() local 334 if (enc->ccu) { in vepu_ccu_alloc_task() 335 enc in vepu_ccu_alloc_task() 554 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_procfs_remove() local 631 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_procfs_init() local 660 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_procfs_ccu_init() local 695 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_init() local 731 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_clk_on() local 741 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_clk_off() local 755 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_get_freq() local 788 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_set_freq() local 798 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_reduce_freq() local 807 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_reset() local 936 vepu_attach_ccu(struct device *dev, struct vepu_dev *enc) vepu_attach_ccu() argument 987 struct vepu_dev *enc = NULL; vepu_core_probe() local 1040 struct vepu_dev *enc = NULL; vepu_probe_default() local 1110 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_remove() local 1122 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_remove() local 1139 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_shutdown() local [all...] |
H A D | mpp_vepu1.c | 473 struct vepu_dev *enc = to_vepu_dev(mpp); in vepu_procfs_remove() local 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() 550 struct vepu_dev *enc = to_vepu_dev(mpp); in vepu_procfs_init() local 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 in vepu_procfs_init() 588 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_init() local 615 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_clk_on() local 625 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_clk_off() local 636 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_set_freq() local 646 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_reduce_freq() local 655 struct vepu_dev *enc = to_vepu_dev(mpp); vepu_reset() local 715 struct vepu_dev *enc = NULL; vepu_probe() local 761 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_remove() local 775 struct vepu_dev *enc = platform_get_drvdata(pdev); vepu_shutdown() local [all...] |
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ |
H A D | create_secure_boot.sh | 211 openssl enc -nopad -d -nosalt -aes-256-ecb -K "$KEY" -in seed_1.bin -out out_1.bin 212 openssl enc -nopad -d -nosalt -aes-256-ecb -K "$KEY" -in seed_2.bin -out out_2.bin 233 openssl enc -aes-256-cbc -nopad -K "$KEY_ecb" -iv "$IV" -in u-cbc.bin -out cbc_boot.bin 410 openssl enc -nopad -d -nosalt -aes-256-ecb -K "$KEY" -in seed_1.bin -out out_1.bin 411 openssl enc -nopad -d -nosalt -aes-256-ecb -K "$KEY" -in seed_2.bin -out out_2.bin 433 openssl enc -aes-256-cbc -nopad -K "$KEY_ecb" -iv "$IV" -in u-cbc.bin -out cbc_boot.bin
|
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ |
H A D | create_secure_boot.sh | 169 openssl enc -nopad -d -nosalt -aes-256-ecb -K "$KEY" -in seed_1.bin -out out_1.bin 170 openssl enc -nopad -d -nosalt -aes-256-ecb -K "$KEY" -in seed_2.bin -out out_2.bin 191 openssl enc -aes-256-cbc -nopad -K "$KEY_ecb" -iv "$IV" -in u-cbc.bin -out cbc_boot.bin 363 openssl enc -nopad -d -nosalt -aes-256-ecb -K "$KEY" -in seed_1.bin -out out_1.bin 364 openssl enc -nopad -d -nosalt -aes-256-ecb -K "$KEY" -in seed_2.bin -out out_2.bin 386 openssl enc -aes-256-cbc -nopad -K "$KEY_ecb" -iv "$IV" -in u-cbc.bin -out cbc_boot.bin
|
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/ |
H A D | drv_aes.h | 158 \param[in] enc \ref aes_crypto_mode_e 161 int32_t csi_aes_set_key(aes_handle_t handle, void *context, void *key, aes_key_len_bits_e key_len, aes_crypto_mode_e enc);
|