Lines Matching refs:u32SecId
615 MS_BOOL MDrv_CA_BGC_SetSection(MS_U32 u32SecId, const CA_BGC_SEC_CFG* pstSecCfg) in MDrv_CA_BGC_SetSection() argument
621 if(u32SecId >= BGC_SEC_MAX || (pstSecCfg == NULL)) in MDrv_CA_BGC_SetSection()
626 ret = HAL_CA_BGC_SetSec(u32SecId, pstSecCfg); in MDrv_CA_BGC_SetSection()
629 stBGCSecCfg[u32SecId].bUsed = TRUE; in MDrv_CA_BGC_SetSection()
630 stBGCSecCfg[u32SecId].u32BGCMode = pstSecCfg->u32BGCMode; in MDrv_CA_BGC_SetSection()
644 MS_BOOL MDrv_CA_BGC_ResetSection(MS_U32 u32SecId, const MS_U8* const pu8RstPSWD) in MDrv_CA_BGC_ResetSection() argument
650 if((u32SecId >= BGC_SEC_MAX) || (pu8RstPSWD == NULL)) in MDrv_CA_BGC_ResetSection()
655 if(stBGCSecCfg[u32SecId].bUsed == TRUE) in MDrv_CA_BGC_ResetSection()
657 if(stBGCSecCfg[u32SecId].u32BGCMode == 0)//dynamic in MDrv_CA_BGC_ResetSection()
659 ret = HAL_CA_BGC_ResetSec(u32SecId, pu8RstPSWD); in MDrv_CA_BGC_ResetSection()
662 stBGCSecCfg[u32SecId].bUsed = FALSE; in MDrv_CA_BGC_ResetSection()