Searched refs:KS (Results 1 – 3 of 3) sorted by relevance
31 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()88 …KS->CTL = u32Cont | KS_OP_READ | KS_CTL_START_Msk | (KS->CTL & (KS_CTL_SILENT_Msk | KS_CTL_SCMB_Ms… in KS_Read()[all …]
96 #define KS_SCRAMBLING() KS->CTL |= KS_CTL_SCMB_Msk
673 #define KS KS_S macro