Home
last modified time | relevance | path

Searched refs:bank (Results 1 – 18 of 18) sorted by relevance

/trusted-firmware-m-3.7.0/platform/ext/common/
Dcommon_target_cfg.h74 void ppc_configure_to_secure(ppc_bank_t bank, uint32_t pos);
81 void ppc_configure_to_non_secure(ppc_bank_t bank, uint32_t pos);
86 void ppc_en_secure_unpriv(ppc_bank_t bank, uint32_t pos);
91 void ppc_clr_secure_unpriv(ppc_bank_t bank, uint32_t pos);
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/
Dtarget_cfg.h101 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t loc);
106 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t loc);
111 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
116 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
Dtarget_cfg.c638 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_non_secure() argument
643 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_non_secure()
647 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_non_secure()
654 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_secure() argument
659 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_secure()
663 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_secure()
670 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_en_secure_unpriv() argument
674 if (bank >= PPC_BANK_COUNT) { in ppc_en_secure_unpriv()
678 ppc_driver = ppc_bank_drivers[bank]; in ppc_en_secure_unpriv()
685 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_clr_secure_unpriv() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/
Dtarget_cfg.h97 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t loc);
102 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t loc);
107 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
112 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
Dtarget_cfg.c671 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_non_secure() argument
676 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_non_secure()
680 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_non_secure()
687 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_secure() argument
692 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_secure()
696 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_secure()
703 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_en_secure_unpriv() argument
707 if (bank >= PPC_BANK_COUNT) { in ppc_en_secure_unpriv()
711 ppc_driver = ppc_bank_drivers[bank]; in ppc_en_secure_unpriv()
718 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_clr_secure_unpriv() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/
Dtarget_cfg.h94 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t loc);
99 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t loc);
104 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
109 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
Dtarget_cfg.c447 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_non_secure() argument
451 ((uint32_t*)&(spctrl->ahbnsppc0))[bank] |= (1U << pos); in ppc_configure_to_non_secure()
454 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_secure() argument
458 ((uint32_t*)&(spctrl->ahbnsppc0))[bank] &= ~(1U << pos); in ppc_configure_to_secure()
461 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_en_secure_unpriv() argument
464 ((uint32_t*)&(spctrl->ahbspppc0))[bank] |= (1U << pos); in ppc_en_secure_unpriv()
467 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_clr_secure_unpriv() argument
470 ((uint32_t*)&(spctrl->ahbspppc0))[bank] &= ~(1U << pos); in ppc_clr_secure_unpriv()
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/
Dtarget_cfg.h94 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t loc);
99 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t loc);
104 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
109 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/
Dtarget_cfg.h95 FIH_RET_TYPE(int32_t) ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t loc);
100 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t loc);
105 FIH_RET_TYPE(int32_t) ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
110 FIH_RET_TYPE(int32_t) ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos);
Dtarget_cfg.c695 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_non_secure() argument
699 ((uint32_t*)&(spctrl->ahbnsppc0))[bank] |= (1U << pos); in ppc_configure_to_non_secure()
702 FIH_RET_TYPE(int32_t) ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_secure() argument
706 ((uint32_t*)&(spctrl->ahbnsppc0))[bank] &= ~(1U << pos); in ppc_configure_to_secure()
711 FIH_RET_TYPE(int32_t) ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_en_secure_unpriv() argument
714 ((uint32_t*)&(spctrl->ahbspppc0))[bank] |= (1U << pos); in ppc_en_secure_unpriv()
719 FIH_RET_TYPE(int32_t) ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_clr_secure_unpriv() argument
722 ((uint32_t*)&(spctrl->ahbspppc0))[bank] &= ~(1U << pos); in ppc_clr_secure_unpriv()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/
Dtarget_cfg.c495 void ppc_configure_to_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_secure() argument
499 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_secure()
503 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_secure()
509 void ppc_configure_to_non_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_non_secure() argument
513 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_non_secure()
517 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_non_secure()
523 void ppc_en_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_en_secure_unpriv() argument
527 if (bank >= PPC_BANK_COUNT) { in ppc_en_secure_unpriv()
531 ppc_driver = ppc_bank_drivers[bank]; in ppc_en_secure_unpriv()
539 void ppc_clr_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_clr_secure_unpriv() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/armchina/mps3/alcor/common/
Dtarget_cfg.c779 void ppc_configure_to_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_secure() argument
783 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_secure()
787 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_secure()
793 void ppc_configure_to_non_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_non_secure() argument
797 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_non_secure()
801 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_non_secure()
807 void ppc_en_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_en_secure_unpriv() argument
811 if (bank >= PPC_BANK_COUNT) { in ppc_en_secure_unpriv()
815 ppc_driver = ppc_bank_drivers[bank]; in ppc_en_secure_unpriv()
823 void ppc_clr_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_clr_secure_unpriv() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/
Dtarget_cfg.c803 void ppc_configure_to_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_secure() argument
807 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_secure()
811 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_secure()
817 void ppc_configure_to_non_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_non_secure() argument
821 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_non_secure()
825 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_non_secure()
831 void ppc_en_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_en_secure_unpriv() argument
835 if (bank >= PPC_BANK_COUNT) { in ppc_en_secure_unpriv()
839 ppc_driver = ppc_bank_drivers[bank]; in ppc_en_secure_unpriv()
847 void ppc_clr_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_clr_secure_unpriv() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone300/common/
Dtarget_cfg.c821 void ppc_configure_to_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_secure() argument
825 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_secure()
829 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_secure()
835 void ppc_configure_to_non_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_non_secure() argument
839 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_non_secure()
843 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_non_secure()
849 void ppc_en_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_en_secure_unpriv() argument
853 if (bank >= PPC_BANK_COUNT) { in ppc_en_secure_unpriv()
857 ppc_driver = ppc_bank_drivers[bank]; in ppc_en_secure_unpriv()
865 void ppc_clr_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_clr_secure_unpriv() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone310/common/
Dtarget_cfg.c800 void ppc_configure_to_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_secure() argument
804 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_secure()
808 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_secure()
814 void ppc_configure_to_non_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_non_secure() argument
818 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_non_secure()
822 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_non_secure()
828 void ppc_en_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_en_secure_unpriv() argument
832 if (bank >= PPC_BANK_COUNT) { in ppc_en_secure_unpriv()
836 ppc_driver = ppc_bank_drivers[bank]; in ppc_en_secure_unpriv()
844 void ppc_clr_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_clr_secure_unpriv() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/an524/
Dtarget_cfg.c691 void ppc_configure_to_secure(ppc_bank_t bank, uint32_t pos) in ppc_configure_to_secure() argument
695 if (bank >= PPC_BANK_COUNT) { in ppc_configure_to_secure()
699 ppc_driver = ppc_bank_drivers[bank]; in ppc_configure_to_secure()
706 void ppc_en_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_en_secure_unpriv() argument
710 if (bank >= PPC_BANK_COUNT) { in ppc_en_secure_unpriv()
714 ppc_driver = ppc_bank_drivers[bank]; in ppc_en_secure_unpriv()
721 void ppc_clr_secure_unpriv(ppc_bank_t bank, uint32_t pos) in ppc_clr_secure_unpriv() argument
723 ppc_configure_to_secure(bank, pos); in ppc_clr_secure_unpriv()
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2351/
Dtarget_cfg.c428 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_non_secure() argument
432 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_secure() argument
436 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_en_secure_unpriv() argument
440 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_clr_secure_unpriv() argument
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2354/
Dtarget_cfg.c436 void ppc_configure_to_non_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_non_secure() argument
440 void ppc_configure_to_secure(enum ppc_bank_e bank, uint16_t pos) in ppc_configure_to_secure() argument
444 void ppc_en_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_en_secure_unpriv() argument
448 void ppc_clr_secure_unpriv(enum ppc_bank_e bank, uint16_t pos) in ppc_clr_secure_unpriv() argument