Lines Matching refs:u32Level
2598 if((KLCfg->u32Level >5) && (KLCfg->u32Level != 9) && (KLCfg->u32Level != 0xD)) in _MDrv_DSCMB2_KLadder_AtomicExec()
2604 else if(( 0 == KLCfg->u32Level ) && (0==(DSCMB_KL_DST_CLASS_DMA & eKLDst))) in _MDrv_DSCMB2_KLadder_AtomicExec()
2724 if ((KLCfg->u32Level != 0) && (NULL == KLCfg->pu8KeyKLIn)) in _MDrv_DSCMB2_KLadder_AtomicExec()
2732 …LPreLevel) || ((E_DSCMB_KL_TYPE_INF == _u8KLPreLevel) && (E_DSCMB_KL_TYPE_LV1 == KLCfg->u32Level))) in _MDrv_DSCMB2_KLadder_AtomicExec()
2734 _u8KLPreLevel = KLCfg->u32Level; in _MDrv_DSCMB2_KLadder_AtomicExec()
2739 _u8KLPreLevel = KLCfg->u32Level; in _MDrv_DSCMB2_KLadder_AtomicExec()
2767 if(E_DSCMB_KL_TYPE_INF == KLCfg->u32Level) //Keep round, 1 stage in _MDrv_DSCMB2_KLadder_AtomicExec()
2771 else if(E_DSCMB_KL_TYPE_S5 == KLCfg->u32Level) //SMI Keyladder in _MDrv_DSCMB2_KLadder_AtomicExec()
2778 else if(KLCfg->u32Level <= 5) //0~5 level keyladder in _MDrv_DSCMB2_KLadder_AtomicExec()
2780 for( i = 0 ; i < KLCfg->u32Level ; i ++ ) in _MDrv_DSCMB2_KLadder_AtomicExec()
2782 HAL_DSCMB_KL_Input(eKLEng, (KLCfg->u32Level-i-1), KLCfg->pu8KeyKLIn+(16*i)); in _MDrv_DSCMB2_KLadder_AtomicExec()
2793 if(FALSE == HAL_DSCMB_KL_Ctrl(eKLEng, KLCfg->eAlgo, KLCfg->u32Level, eKLSrc, eKLDst)) in _MDrv_DSCMB2_KLadder_AtomicExec()
2969 MS_U32 u32Step2Level = KLCfg->u32Level-1; /*level - 1*/
3002 for( i = 0 ; i < KLCfg->u32Level ; i ++ )
3004 HAL_DSCMB_KL_Input(eKLEng, (KLCfg->u32Level-i-1), KLCfg->pu8KeyKLIn+(16*i));
3008 KLCfg->u32Level,
3179 if(KLCfg->u32Level != 3) //ETSI keyladder, must be 3 level! in _MDrv_DSCMB2_KLadder_ETSI()
3299 if ((KLCfg->u32Level != 0) && (NULL == KLCfg->pu8KeyKLIn)) in _MDrv_DSCMB2_KLadder_ETSI()
3334 for( i = 0 ; i < KLCfg->u32Level ; i ++ ) in _MDrv_DSCMB2_KLadder_ETSI()
3336 HAL_DSCMB_KL_Input(eKLEng, (KLCfg->u32Level-i-1), KLCfg->pu8KeyKLIn+(16*i)); in _MDrv_DSCMB2_KLadder_ETSI()
3344 if(FALSE == HAL_DSCMB_KL_Ctrl(eKLEng, KLCfg->eAlgo, KLCfg->u32Level, eKLSrc, eKLDst)) in _MDrv_DSCMB2_KLadder_ETSI()
3513 MS_U32 u32Step2Level = KLCfg->u32Level-1; /*level - 1*/
3543 for( i = 0 ; i < KLCfg->u32Level ; i ++ )
3545 HAL_DSCMB_KL_Input(eKLEng, (KLCfg->u32Level-i-1), KLCfg->pu8KeyKLIn+(16*i));
3566 KLCfg->u32Level,
3737 MS_BOOL _MDrv_DSCMB2_SetDBGLevel(MS_U32 u32Level) in _MDrv_DSCMB2_SetDBGLevel() argument
3739 _u32DSCMB2DbgLv = u32Level; in _MDrv_DSCMB2_SetDBGLevel()
3740 DRVDSCMB2_DBG(DSCMB2_DBGLV_INFO, "%s level: %x\n", __FUNCTION__, u32Level); in _MDrv_DSCMB2_SetDBGLevel()
3741 HAL_DSCMB_SetDBGLevel(u32Level); in _MDrv_DSCMB2_SetDBGLevel()
4826 if((KLCfg->u32Level >3) && (KLCfg->u32Level != 9) && (KLCfg->u32Level != 0xD))
4832 else if(( 0 == KLCfg->u32Level ) && (0==(DSCMB_KL_DST_CLASS_DMA & eKLDst)))
4922 if ((KLCfg->u32Level != 0) && (NULL == KLCfg->pu8KeyKLIn))
4928 if((_u8KLPreLevel == 9) || ((_u8KLPreLevel == 9) && (KLCfg->u32Level == 1)))
4930 _u8KLPreLevel = KLCfg->u32Level;
4935 _u8KLPreLevel = KLCfg->u32Level;
4950 if(KLCfg->u32Level == 9) //Keep round, 1 stage
4954 else if(KLCfg->u32Level == 0xD) //SMI Keyladder
4961 else if(KLCfg->u32Level <= 3) //0~3 level keyladder
4963 for( i = 0 ; i < KLCfg->u32Level ; i ++ )
4965 HAL_DSCMB_KL_Input(eKLEng, (KLCfg->u32Level-i-1), KLCfg->pu8KeyKLIn+(16*i));
4976 if(FALSE == HAL_DSCMB_KL_TA_EncCW(eKLEng, KLCfg->pu8KeyKLIn+(16*(KLCfg->u32Level-1)) ))
4989 KLCfg->u32Level,
5174 MS_BOOL MDrv_DSCMB2_SetDBGLevel(MS_U32 u32Level) in MDrv_DSCMB2_SetDBGLevel() argument
5178 MS_U32 pArgs = u32Level; in MDrv_DSCMB2_SetDBGLevel()
5195 return _MDrv_DSCMB2_SetDBGLevel(u32Level); in MDrv_DSCMB2_SetDBGLevel()
5580 MS_BOOL MDrv_DSCMB_KLadder_SetInput(MS_U32 u32Level, MS_U8* pu8In, MS_U32 u32InLen) in MDrv_DSCMB_KLadder_SetInput() argument
5630 MS_BOOL MDrv_DSCMB_SetDBGLevel(MS_U32 u32Level) in MDrv_DSCMB_SetDBGLevel() argument
5632 return MDrv_DSCMB2_SetDBGLevel(u32Level); in MDrv_DSCMB_SetDBGLevel()