Home
last modified time | relevance | path

Searched refs:KS (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dkeystore.c31 if((KS->STS & KS_STS_INITDONE_Msk) == 0) in KS_Open()
34 while(KS->STS & KS_STS_BUSY_Msk) {} in KS_Open()
37 KS->CTL = KS_CTL_INIT_Msk | KS_CTL_START_Msk; in KS_Open()
40 while((KS->STS & KS_STS_INITDONE_Msk) == 0); in KS_Open()
45 while(KS->STS & KS_STS_BUSY_Msk); in KS_Open()
71 if(KS->STS & KS_STS_BUSY_Msk) in KS_Read()
75 KS->METADATA = ((uint32_t)eType << KS_METADATA_DST_Pos) | KS_TOMETAKEY(i32KeyIdx); in KS_Read()
78 KS->STS = KS_STS_EIF_Msk; in KS_Read()
85 KS->STS = KS_STS_EIF_Msk | KS_STS_IF_Msk; in KS_Read()
88KS->CTL = u32Cont | KS_OP_READ | KS_CTL_START_Msk | (KS->CTL & (KS_CTL_SILENT_Msk | KS_CTL_SCMB_Ms… in KS_Read()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Dkeystore.h96 #define KS_SCRAMBLING() KS->CTL |= KS_CTL_SCMB_Msk
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2354/bsp/Device/Nuvoton/M2354/Include/
DM2354.h673 #define KS KS_S macro