/trusted-firmware-m-3.7.0/platform/ext/target/armchina/mps3/alcor/common/cmsis_drivers/ |
D | Driver_ALCOR_PPC.c | 65 PPC_ALCOR_MAIN0_ConfigPrivilege(uint32_t periph, in PPC_ALCOR_MAIN0_ConfigPrivilege() argument 71 ret = ppc_alcor_config_privilege(MAIN0_PPC_DEV.dev, periph, in PPC_ALCOR_MAIN0_ConfigPrivilege() 82 static bool PPC_ALCOR_MAIN0_IsPeriphPrivOnly(uint32_t periph) in PPC_ALCOR_MAIN0_IsPeriphPrivOnly() argument 84 return ppc_alcor_is_periph_priv_only(MAIN0_PPC_DEV.dev, periph); in PPC_ALCOR_MAIN0_IsPeriphPrivOnly() 91 PPC_ALCOR_MAIN0_ConfigSecurity(uint32_t periph, PPC_ALCOR_SecAttr sec_attr) in PPC_ALCOR_MAIN0_ConfigSecurity() argument 95 ret = ppc_alcor_config_security(MAIN0_PPC_DEV.dev, periph, in PPC_ALCOR_MAIN0_ConfigSecurity() 105 static bool PPC_ALCOR_MAIN0_IsPeriphSecure(uint32_t periph) in PPC_ALCOR_MAIN0_IsPeriphSecure() argument 107 return ppc_alcor_is_periph_secure(MAIN0_PPC_DEV.dev, periph); in PPC_ALCOR_MAIN0_IsPeriphSecure() 179 PPC_ALCOR_MAIN_EXP0_ConfigPrivilege(uint32_t periph, in PPC_ALCOR_MAIN_EXP0_ConfigPrivilege() argument 185 ret = ppc_alcor_config_privilege(MAIN_EXP0_PPC_DEV.dev, periph, in PPC_ALCOR_MAIN_EXP0_ConfigPrivilege() [all …]
|
D | Driver_ALCOR_PPC.h | 117 …int32_t (*ConfigPrivilege) (uint32_t periph, PPC_ALCOR_SecAttr sec_attr, PPC_ALCOR_Pr… 118 …bool (*IsPeriphPrivOnly) (uint32_t periph); ///< Pointer to \ref IsPeriphPrivOnly … 120 …int32_t (*ConfigSecurity) (uint32_t periph, PPC_ALCOR_SecAttr sec_attr); ///< Point… 121 …bool (*IsPeriphSecure) (uint32_t periph); ///< Pointer to \ref IsPeriphSecure : …
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/cmsis_drivers/ |
D | Driver_PPC.c | 64 PPC_RSE_MAIN0_ConfigPrivilege(uint32_t periph, in PPC_RSE_MAIN0_ConfigPrivilege() argument 70 ret = ppc_rse_config_privilege(MAIN0_PPC_DEV.dev, periph, in PPC_RSE_MAIN0_ConfigPrivilege() 81 static bool PPC_RSE_MAIN0_IsPeriphPrivOnly(uint32_t periph) in PPC_RSE_MAIN0_IsPeriphPrivOnly() argument 83 return ppc_rse_is_periph_priv_only(MAIN0_PPC_DEV.dev, periph); in PPC_RSE_MAIN0_IsPeriphPrivOnly() 90 PPC_RSE_MAIN0_ConfigSecurity(uint32_t periph, PPC_RSE_SecAttr sec_attr) in PPC_RSE_MAIN0_ConfigSecurity() argument 94 ret = ppc_rse_config_security(MAIN0_PPC_DEV.dev, periph, in PPC_RSE_MAIN0_ConfigSecurity() 104 static bool PPC_RSE_MAIN0_IsPeriphSecure(uint32_t periph) in PPC_RSE_MAIN0_IsPeriphSecure() argument 106 return ppc_rse_is_periph_secure(MAIN0_PPC_DEV.dev, periph); in PPC_RSE_MAIN0_IsPeriphSecure() 178 PPC_RSE_MAIN_EXP0_ConfigPrivilege(uint32_t periph, in PPC_RSE_MAIN_EXP0_ConfigPrivilege() argument 184 ret = ppc_rse_config_privilege(MAIN_EXP0_PPC_DEV.dev, periph, in PPC_RSE_MAIN_EXP0_ConfigPrivilege() [all …]
|
D | Driver_PPC.h | 116 …int32_t (*ConfigPrivilege) (uint32_t periph, PPC_RSE_SecAttr sec_attr, PPC_RSE_PrivAt… 117 …bool (*IsPeriphPrivOnly) (uint32_t periph); ///< Pointer to \ref IsPeriphPrivOnly … 119 …int32_t (*ConfigSecurity) (uint32_t periph, PPC_RSE_SecAttr sec_attr); ///< Pointer… 120 …bool (*IsPeriphSecure) (uint32_t periph); ///< Pointer to \ref IsPeriphSecure : …
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone300/common/cmsis_drivers/ |
D | Driver_SSE300_PPC.c | 64 PPC_SSE300_MAIN0_ConfigPrivilege(uint32_t periph, in PPC_SSE300_MAIN0_ConfigPrivilege() argument 70 ret = ppc_sse300_config_privilege(MAIN0_PPC_DEV.dev, periph, in PPC_SSE300_MAIN0_ConfigPrivilege() 81 static bool PPC_SSE300_MAIN0_IsPeriphPrivOnly(uint32_t periph) in PPC_SSE300_MAIN0_IsPeriphPrivOnly() argument 83 return ppc_sse300_is_periph_priv_only(MAIN0_PPC_DEV.dev, periph); in PPC_SSE300_MAIN0_IsPeriphPrivOnly() 90 PPC_SSE300_MAIN0_ConfigSecurity(uint32_t periph, PPC_SSE300_SecAttr sec_attr) in PPC_SSE300_MAIN0_ConfigSecurity() argument 94 ret = ppc_sse300_config_security(MAIN0_PPC_DEV.dev, periph, in PPC_SSE300_MAIN0_ConfigSecurity() 104 static bool PPC_SSE300_MAIN0_IsPeriphSecure(uint32_t periph) in PPC_SSE300_MAIN0_IsPeriphSecure() argument 106 return ppc_sse300_is_periph_secure(MAIN0_PPC_DEV.dev, periph); in PPC_SSE300_MAIN0_IsPeriphSecure() 178 PPC_SSE300_MAIN_EXP0_ConfigPrivilege(uint32_t periph, in PPC_SSE300_MAIN_EXP0_ConfigPrivilege() argument 184 ret = ppc_sse300_config_privilege(MAIN_EXP0_PPC_DEV.dev, periph, in PPC_SSE300_MAIN_EXP0_ConfigPrivilege() [all …]
|
D | Driver_SSE300_PPC.h | 116 …int32_t (*ConfigPrivilege) (uint32_t periph, PPC_SSE300_SecAttr sec_attr, PPC_SSE300_… 117 …bool (*IsPeriphPrivOnly) (uint32_t periph); ///< Pointer to \ref IsPeriphPrivOnly … 119 …int32_t (*ConfigSecurity) (uint32_t periph, PPC_SSE300_SecAttr sec_attr); ///< Poin… 120 …bool (*IsPeriphSecure) (uint32_t periph); ///< Pointer to \ref IsPeriphSecure : …
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/cmsis_drivers/ |
D | Driver_PPC.c | 52 static int32_t AHB_PPCEXP0_ConfigPeriph(uint8_t periph, in AHB_PPCEXP0_ConfigPeriph() argument 58 ret = ppc_sse200_config_peripheral(&AHB_PPCEXP0_DEV_S, periph, in AHB_PPCEXP0_ConfigPeriph() 69 static uint32_t AHB_PPCEXP0_IsPeriphSecure(uint8_t periph) in AHB_PPCEXP0_IsPeriphSecure() argument 71 return ppc_sse200_is_periph_secure(&AHB_PPCEXP0_DEV_S, periph); in AHB_PPCEXP0_IsPeriphSecure() 74 static uint32_t AHB_PPCEXP0_IsPeriphPrivOnly(uint8_t periph) in AHB_PPCEXP0_IsPeriphPrivOnly() argument 76 return ppc_sse200_is_periph_priv_only(&AHB_PPCEXP0_DEV_S, periph); in AHB_PPCEXP0_IsPeriphPrivOnly() 138 static int32_t AHB_PPCEXP1_ConfigPeriph(uint8_t periph, in AHB_PPCEXP1_ConfigPeriph() argument 144 ret = ppc_sse200_config_peripheral(&AHB_PPCEXP1_DEV_S, periph, in AHB_PPCEXP1_ConfigPeriph() 155 static uint32_t AHB_PPCEXP1_IsPeriphSecure(uint8_t periph) in AHB_PPCEXP1_IsPeriphSecure() argument 157 return ppc_sse200_is_periph_secure(&AHB_PPCEXP1_DEV_S, periph); in AHB_PPCEXP1_IsPeriphSecure() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/cmsis_drivers/ |
D | Driver_PPC.c | 52 static int32_t AHB_PPCEXP0_ConfigPeriph(uint8_t periph, in AHB_PPCEXP0_ConfigPeriph() argument 58 ret = ppc_sse200_config_peripheral(&AHB_PPCEXP0_DEV_S, periph, in AHB_PPCEXP0_ConfigPeriph() 69 static uint32_t AHB_PPCEXP0_IsPeriphSecure(uint8_t periph) in AHB_PPCEXP0_IsPeriphSecure() argument 71 return ppc_sse200_is_periph_secure(&AHB_PPCEXP0_DEV_S, periph); in AHB_PPCEXP0_IsPeriphSecure() 74 static uint32_t AHB_PPCEXP0_IsPeriphPrivOnly(uint8_t periph) in AHB_PPCEXP0_IsPeriphPrivOnly() argument 76 return ppc_sse200_is_periph_priv_only(&AHB_PPCEXP0_DEV_S, periph); in AHB_PPCEXP0_IsPeriphPrivOnly() 138 static int32_t AHB_PPCEXP1_ConfigPeriph(uint8_t periph, in AHB_PPCEXP1_ConfigPeriph() argument 144 ret = ppc_sse200_config_peripheral(&AHB_PPCEXP1_DEV_S, periph, in AHB_PPCEXP1_ConfigPeriph() 155 static uint32_t AHB_PPCEXP1_IsPeriphSecure(uint8_t periph) in AHB_PPCEXP1_IsPeriphSecure() argument 157 return ppc_sse200_is_periph_secure(&AHB_PPCEXP1_DEV_S, periph); in AHB_PPCEXP1_IsPeriphSecure() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/CMSIS_Driver/ |
D | Driver_PPC.c | 51 static int32_t AHB_PPC0_ConfigPeriph(uint8_t periph, ARM_PPC_SecAttr sec_attr, in AHB_PPC0_ConfigPeriph() argument 56 ret = ppc_sse200_config_peripheral(&AHB_PPC0_DEV, periph, in AHB_PPC0_ConfigPeriph() 66 static uint32_t AHB_PPC0_IsPeriphSecure(uint8_t periph) in AHB_PPC0_IsPeriphSecure() argument 68 return ppc_sse200_is_periph_secure(&AHB_PPC0_DEV, periph); in AHB_PPC0_IsPeriphSecure() 71 static uint32_t AHB_PPC0_IsPeriphPrivOnly(uint8_t periph) in AHB_PPC0_IsPeriphPrivOnly() argument 73 return ppc_sse200_is_periph_priv_only(&AHB_PPC0_DEV, periph); in AHB_PPC0_IsPeriphPrivOnly() 135 static int32_t AHB_PPCEXP0_ConfigPeriph(uint8_t periph, in AHB_PPCEXP0_ConfigPeriph() argument 141 ret = ppc_sse200_config_peripheral(&AHB_PPCEXP0_DEV, periph, in AHB_PPCEXP0_ConfigPeriph() 152 static uint32_t AHB_PPCEXP0_IsPeriphSecure(uint8_t periph) in AHB_PPCEXP0_IsPeriphSecure() argument 154 return ppc_sse200_is_periph_secure(&AHB_PPCEXP0_DEV, periph); in AHB_PPCEXP0_IsPeriphSecure() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/CMSIS_Driver/ |
D | Driver_PPC.c | 51 static int32_t AHB_PPC0_ConfigPeriph(uint8_t periph, ARM_PPC_SecAttr sec_attr, in AHB_PPC0_ConfigPeriph() argument 56 ret = ppc_sse200_config_peripheral(&AHB_PPC0_DEV, periph, in AHB_PPC0_ConfigPeriph() 66 static uint32_t AHB_PPC0_IsPeriphSecure(uint8_t periph) in AHB_PPC0_IsPeriphSecure() argument 68 return ppc_sse200_is_periph_secure(&AHB_PPC0_DEV, periph); in AHB_PPC0_IsPeriphSecure() 71 static uint32_t AHB_PPC0_IsPeriphPrivOnly(uint8_t periph) in AHB_PPC0_IsPeriphPrivOnly() argument 73 return ppc_sse200_is_periph_priv_only(&AHB_PPC0_DEV, periph); in AHB_PPC0_IsPeriphPrivOnly() 135 static int32_t AHB_PPCEXP0_ConfigPeriph(uint8_t periph, in AHB_PPCEXP0_ConfigPeriph() argument 141 ret = ppc_sse200_config_peripheral(&AHB_PPCEXP0_DEV, periph, in AHB_PPCEXP0_ConfigPeriph() 152 static uint32_t AHB_PPCEXP0_IsPeriphSecure(uint8_t periph) in AHB_PPCEXP0_IsPeriphSecure() argument 154 return ppc_sse200_is_periph_secure(&AHB_PPCEXP0_DEV, periph); in AHB_PPCEXP0_IsPeriphSecure() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/an524/cmsis_drivers/ |
D | Driver_PPC.c | 51 static int32_t AHB_PPC0_ConfigPeriph(uint8_t periph, ARM_PPC_SecAttr sec_attr, in AHB_PPC0_ConfigPeriph() argument 56 ret = ppc_sse200_config_peripheral(&AHB_PPC0_DEV, periph, in AHB_PPC0_ConfigPeriph() 66 static uint32_t AHB_PPC0_IsPeriphSecure(uint8_t periph) in AHB_PPC0_IsPeriphSecure() argument 68 return ppc_sse200_is_periph_secure(&AHB_PPC0_DEV, periph); in AHB_PPC0_IsPeriphSecure() 71 static uint32_t AHB_PPC0_IsPeriphPrivOnly(uint8_t periph) in AHB_PPC0_IsPeriphPrivOnly() argument 73 return ppc_sse200_is_periph_priv_only(&AHB_PPC0_DEV, periph); in AHB_PPC0_IsPeriphPrivOnly() 135 static int32_t AHB_PPCEXP0_ConfigPeriph(uint8_t periph, in AHB_PPCEXP0_ConfigPeriph() argument 141 ret = ppc_sse200_config_peripheral(&AHB_PPCEXP0_DEV, periph, in AHB_PPCEXP0_ConfigPeriph() 152 static uint32_t AHB_PPCEXP0_IsPeriphSecure(uint8_t periph) in AHB_PPCEXP0_IsPeriphSecure() argument 154 return ppc_sse200_is_periph_secure(&AHB_PPCEXP0_DEV, periph); in AHB_PPCEXP0_IsPeriphSecure() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone310/common/cmsis_drivers/ |
D | Driver_PPC_Common.h | 36 PPC_NAME##_ConfigPrivilege(uint32_t periph, \ 42 ret = ppc_corstone310_config_privilege(&PPC_DEV, periph, \ 53 static bool PPC_NAME##_IsPeriphPrivOnly(uint32_t periph) \ 55 return ppc_corstone310_is_periph_priv_only(&PPC_DEV, periph); \ 59 PPC_NAME##_ConfigSecurity(uint32_t periph, \ 64 ret = ppc_corstone310_config_security(&PPC_DEV, periph, \ 74 static bool PPC_NAME##_IsPeriphSecure(uint32_t periph) \ 76 return ppc_corstone310_is_periph_secure(&PPC_DEV, periph); \ 137 PPC_NAME##_ConfigPrivilege(uint32_t periph, \ 143 ret = ppc_corstone310_config_privilege(&PPC_DEV, periph, \ [all …]
|
D | Driver_PPC.h | 116 …int32_t (*ConfigPrivilege) (uint32_t periph, ARM_PPC_CORSTONE310_SecAttr sec_attr, AR… 117 …bool (*IsPeriphPrivOnly) (uint32_t periph); ///< Pointer to \ref IsPeriphPrivOnly … 119 …int32_t (*ConfigSecurity) (uint32_t periph, ARM_PPC_CORSTONE310_SecAttr sec_attr); … 120 …bool (*IsPeriphSecure) (uint32_t periph); ///< Pointer to \ref IsPeriphSecure : …
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/cmsis_drivers/ |
D | Driver_PPC_Common.h | 36 PPC_NAME##_ConfigPrivilege(uint32_t periph, \ 42 ret = ppc_corstone315_config_privilege(&PPC_DEV, periph, \ 53 static bool PPC_NAME##_IsPeriphPrivOnly(uint32_t periph) \ 55 return ppc_corstone315_is_periph_priv_only(&PPC_DEV, periph); \ 59 PPC_NAME##_ConfigSecurity(uint32_t periph, \ 64 ret = ppc_corstone315_config_security(&PPC_DEV, periph, \ 74 static bool PPC_NAME##_IsPeriphSecure(uint32_t periph) \ 76 return ppc_corstone315_is_periph_secure(&PPC_DEV, periph); \ 137 PPC_NAME##_ConfigPrivilege(uint32_t periph, \ 143 ret = ppc_corstone315_config_privilege(&PPC_DEV, periph, \ [all …]
|
D | Driver_PPC.h | 116 …int32_t (*ConfigPrivilege) (uint32_t periph, ARM_PPC_CORSTONE315_SecAttr sec_attr, AR… 117 …bool (*IsPeriphPrivOnly) (uint32_t periph); ///< Pointer to \ref IsPeriphPrivOnly … 119 …int32_t (*ConfigSecurity) (uint32_t periph, ARM_PPC_CORSTONE315_SecAttr sec_attr); … 120 …bool (*IsPeriphSecure) (uint32_t periph); ///< Pointer to \ref IsPeriphSecure : …
|
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_flexcomm.c | 25 static status_t FLEXCOMM_SetPeriph(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph, int lock); 28 static bool FLEXCOMM_PeripheralIsPresent(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph); 61 static bool FLEXCOMM_PeripheralIsPresent(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph) in FLEXCOMM_PeripheralIsPresent() argument 63 if (periph == FLEXCOMM_PERIPH_NONE) in FLEXCOMM_PeripheralIsPresent() 67 else if (periph <= FLEXCOMM_PERIPH_I2S_TX) in FLEXCOMM_PeripheralIsPresent() 69 return (base->PSELID & (1UL << ((uint32_t)periph + 3U))) > 0UL ? true : false; in FLEXCOMM_PeripheralIsPresent() 71 else if (periph == FLEXCOMM_PERIPH_I2S_RX) in FLEXCOMM_PeripheralIsPresent() 100 static status_t FLEXCOMM_SetPeriph(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph, int lock) in FLEXCOMM_SetPeriph() argument 103 if (!FLEXCOMM_PeripheralIsPresent(base, periph)) in FLEXCOMM_SetPeriph() 110 ((base->PSELID & FLEXCOMM_PSELID_PERSEL_MASK) != (uint32_t)periph)) in FLEXCOMM_SetPeriph() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/native_drivers/ |
D | ppc_sse200_drv.c | 218 uint8_t periph, in ppc_sse200_config_peripheral() argument 228 *(dev->data->p_ns_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 233 *(dev->data->p_sp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 235 *(dev->data->p_sp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 239 *(dev->data->p_ns_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 244 *(dev->data->p_nsp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 246 *(dev->data->p_nsp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 254 uint8_t periph) in ppc_sse200_is_periph_secure() argument 260 return ((*(dev->data->p_ns_ppc) & (1U << periph)) == 0); in ppc_sse200_is_periph_secure() 264 uint8_t periph) in ppc_sse200_is_periph_priv_only() argument [all …]
|
D | ppc_sse200_drv.h | 114 uint8_t periph, 130 uint8_t periph); 147 uint8_t periph);
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/Native_Driver/ |
D | ppc_sse200_drv.c | 218 uint8_t periph, in ppc_sse200_config_peripheral() argument 228 *(dev->data->p_ns_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 233 *(dev->data->p_sp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 235 *(dev->data->p_sp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 239 *(dev->data->p_ns_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 244 *(dev->data->p_nsp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 246 *(dev->data->p_nsp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 254 uint8_t periph) in ppc_sse200_is_periph_secure() argument 260 return ((*(dev->data->p_ns_ppc) & (1U << periph)) == 0); in ppc_sse200_is_periph_secure() 264 uint8_t periph) in ppc_sse200_is_periph_priv_only() argument [all …]
|
D | ppc_sse200_drv.h | 118 uint8_t periph, 134 uint8_t periph); 151 uint8_t periph);
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/Native_Driver/ |
D | ppc_sse200_drv.c | 218 uint8_t periph, in ppc_sse200_config_peripheral() argument 228 *(dev->data->p_ns_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 233 *(dev->data->p_sp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 235 *(dev->data->p_sp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 239 *(dev->data->p_ns_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 244 *(dev->data->p_nsp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 246 *(dev->data->p_nsp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 254 uint8_t periph) in ppc_sse200_is_periph_secure() argument 260 return ((*(dev->data->p_ns_ppc) & (1U << periph)) == 0); in ppc_sse200_is_periph_secure() 264 uint8_t periph) in ppc_sse200_is_periph_priv_only() argument [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/native_drivers/ |
D | ppc_sse200_drv.c | 218 uint8_t periph, in ppc_sse200_config_peripheral() argument 228 *(dev->data->p_ns_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 233 *(dev->data->p_sp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 235 *(dev->data->p_sp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 239 *(dev->data->p_ns_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 244 *(dev->data->p_nsp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 246 *(dev->data->p_nsp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 254 uint8_t periph) in ppc_sse200_is_periph_secure() argument 260 return ((*(dev->data->p_ns_ppc) & (1U << periph)) == 0); in ppc_sse200_is_periph_secure() 264 uint8_t periph) in ppc_sse200_is_periph_priv_only() argument [all …]
|
D | ppc_sse200_drv.h | 114 uint8_t periph, 130 uint8_t periph); 147 uint8_t periph);
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/an524/native_drivers/ |
D | ppc_sse200_drv.c | 240 uint8_t periph, in ppc_sse200_config_peripheral() argument 250 *(dev->data->p_ns_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 256 *(dev->data->p_sp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 258 *(dev->data->p_sp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 262 *(dev->data->p_ns_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 268 *(dev->data->p_nsp_ppc) &= ~(1U << periph); in ppc_sse200_config_peripheral() 270 *(dev->data->p_nsp_ppc) |= (1U << periph); in ppc_sse200_config_peripheral() 278 uint8_t periph) in ppc_sse200_is_periph_secure() argument 284 return ((*(dev->data->p_ns_ppc) & (1U << periph)) == 0); in ppc_sse200_is_periph_secure() 288 uint8_t periph) in ppc_sse200_is_periph_priv_only() argument [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/driver/ |
D | Driver_PPC.h | 106 …int32_t (*ConfigPeriph) (uint8_t periph, ARM_PPC_SecAttr sec_attr, ARM_PPC_PrivAtt… 107 …uint32_t (*IsPeriphSecure) (uint8_t periph); ///< Pointer to \ref IsPeriphSecure : … 108 …uint32_t (*IsPeriphPrivOnly) (uint8_t periph); ///< Pointer to \ref IsPeriphPrivOnly :…
|