Lines Matching refs:u32FltId

381 MS_BOOL _DSCMB_IsFltConnectDSCMB(MS_U32 u32DscmbId, MS_U32 u32FltId)  in _DSCMB_IsFltConnectDSCMB()  argument
383 if(u32DscmbId >= HAL_DSCMB_KTE_MAX || u32FltId >= HAL_DSCMB_PIDFLT_NUM) in _DSCMB_IsFltConnectDSCMB()
388 if(_u32PidFlt2Dscmb[u32FltId].u8DscmbId == u32DscmbId) in _DSCMB_IsFltConnectDSCMB()
892 MS_BOOL _MDrv_DSCMB2_FltConnectFltId(MS_U32 u32EngId, MS_U32 u32DscmbId, MS_U32 u32FltId) in _MDrv_DSCMB2_FltConnectFltId() argument
898 DSCMB_ASSERT((u32FltId < HAL_DSCMB_PIDIDX_MAX) && (u32FltId != 0), "FltId input error", FALSE); in _MDrv_DSCMB2_FltConnectFltId()
899 … DRVDSCMB2_DBG(DSCMB2_DBGLV_DEBUG, "Connect u32FltId=%u to u32DscmbId=%u\n", u32FltId, u32DscmbId); in _MDrv_DSCMB2_FltConnectFltId()
919 if(_DSCMB_IsFltConnectDSCMB(i, u32FltId)) in _MDrv_DSCMB2_FltConnectFltId()
926 HAL_DSCMB_Get_TsidInput (u32FltId, &u32Tsid); in _MDrv_DSCMB2_FltConnectFltId()
937 u32FltId, u32Tsid, pMap->u32Tsid); in _MDrv_DSCMB2_FltConnectFltId()
944 …HAL_DSCMB_SetTSPCADst_PidSlotMap(u32FltId, _u32PidFlt2Dscmb[u32FltId].u8CaDestUpp, _u32PidFlt2Dscm… in _MDrv_DSCMB2_FltConnectFltId()
946 HAL_DSCMB_PidIdx_ClearSlotKeyIdx(u32FltId, E_DSCMB_KEY_EVEN); in _MDrv_DSCMB2_FltConnectFltId()
947 HAL_DSCMB_PidIdx_ClearSlotKeyIdx(u32FltId, E_DSCMB_KEY_ODD); in _MDrv_DSCMB2_FltConnectFltId()
948 HAL_DSCMB_PidIdx_ClearSlotKeyIdx(u32FltId, E_DSCMB_KEY_CLEAR); in _MDrv_DSCMB2_FltConnectFltId()
950 HAL_DSCMB_PidIdx_SetCAVid(u32FltId, u32CAVid); in _MDrv_DSCMB2_FltConnectFltId()
952 …if ( FALSE == HAL_DSCMB_PidIdx_SetSlotKeyIdx( u32FltId , E_DSCMB_KEY_EVEN , pMap->u32SlotIdEven) ) in _MDrv_DSCMB2_FltConnectFltId()
958 … if ( FALSE == HAL_DSCMB_PidIdx_SetSlotKeyIdx( u32FltId , E_DSCMB_KEY_ODD , pMap->u32SlotIdOdd) ) in _MDrv_DSCMB2_FltConnectFltId()
966 …if ( FALSE == HAL_DSCMB_PidIdx_SetSlotKeyIdx( u32FltId , E_DSCMB_KEY_CLEAR , pMap->u32SlotIdClear)… in _MDrv_DSCMB2_FltConnectFltId()
973 HAL_DSCMB_PidIdx_SetSecure(u32FltId, pMap->bSecure); in _MDrv_DSCMB2_FltConnectFltId()
976 HAL_DSCMB_PidIdx_EnableSlot(u32FltId); in _MDrv_DSCMB2_FltConnectFltId()
979 _u32PidFlt2Dscmb[u32FltId].u8DscmbId = u32DscmbId; in _MDrv_DSCMB2_FltConnectFltId()
980 _u32PidFlt2Dscmb[u32FltId].u8TsId = u32Tsid; in _MDrv_DSCMB2_FltConnectFltId()
989 if( i != u32FltId && _u32PidFlt2Dscmb[i].u8DscmbId==u32DscmbId ) in _MDrv_DSCMB2_FltConnectFltId()
991 HAL_DSCMB_KTE_Copy_KeyFSCB( i, u32FltId); in _MDrv_DSCMB2_FltConnectFltId()
998 DRVDSCMB2_DBG(DSCMB2_DBGLV_DEBUG, "Connect TSP flt %u to DSCMB flt %u\n", u32FltId, u32DscmbId); in _MDrv_DSCMB2_FltConnectFltId()
1010 MS_BOOL _MDrv_DSCMB2_FltDisconnectFltId(MS_U32 u32EngId, MS_U32 u32DscmbId, MS_U32 u32FltId) in _MDrv_DSCMB2_FltDisconnectFltId() argument
1016 DSCMB_ASSERT((u32FltId < HAL_DSCMB_PIDIDX_MAX) && (u32FltId != 0), "FltId input error", FALSE); in _MDrv_DSCMB2_FltDisconnectFltId()
1017 …DRVDSCMB2_DBG(DSCMB2_DBGLV_DEBUG, "Disconnect u32FltId=%u from u32DscmbId=%u\n", u32FltId, u32Dscm… in _MDrv_DSCMB2_FltDisconnectFltId()
1034 if(_u32PidFlt2Dscmb[u32FltId].u8DscmbId != u32DscmbId) in _MDrv_DSCMB2_FltDisconnectFltId()
1041 …HAL_DSCMB_SetTSPCADst_PidSlotMap(u32FltId, _u32PidFlt2Dscmb[u32FltId].u8CaDestUpp, _u32PidFlt2Dscm… in _MDrv_DSCMB2_FltDisconnectFltId()
1044 HAL_DSCMB_PidIdx_ClearSlotKeyIdx(u32FltId, E_DSCMB_KEY_CLEAR); in _MDrv_DSCMB2_FltDisconnectFltId()
1045 HAL_DSCMB_PidIdx_ClearSlotKeyIdx(u32FltId, E_DSCMB_KEY_EVEN); in _MDrv_DSCMB2_FltDisconnectFltId()
1046 HAL_DSCMB_PidIdx_ClearSlotKeyIdx(u32FltId, E_DSCMB_KEY_ODD); in _MDrv_DSCMB2_FltDisconnectFltId()
1047 HAL_DSCMB_PidIdx_SetSecure(u32FltId, FALSE); in _MDrv_DSCMB2_FltDisconnectFltId()
1051 HAL_DSCMB_PidIdx_DisableSlot(u32FltId); in _MDrv_DSCMB2_FltDisconnectFltId()
1055 _u32PidFlt2Dscmb[u32FltId].u8DscmbId= HAL_DSCMB_KTE_MAX; in _MDrv_DSCMB2_FltDisconnectFltId()
1056 _u32PidFlt2Dscmb[u32FltId].u8TsId = 0xff; in _MDrv_DSCMB2_FltDisconnectFltId()
1057 _u32PidFlt2Dscmb[u32FltId].u8CaVid = 0xff; in _MDrv_DSCMB2_FltDisconnectFltId()
1064 HAL_DSCMB_KTE_Clear_KeyFSCB(u32FltId); in _MDrv_DSCMB2_FltDisconnectFltId()
1281 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_EngEnableKey() local
1291 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId )) in _MDrv_DSCMB2_EngEnableKey()
1302 … if (!HAL_DSCMB_KTE_Key_Ctrl (u32FltId, eKeyType , eEngType | eSecureKeyType, u32CAVid, bEnable )) in _MDrv_DSCMB2_EngEnableKey()
1327 MS_U32 u32FltId = 0 ; in _MDrv_DSCMB2_EngSetFSCB() local
1336 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId ) ) in _MDrv_DSCMB2_EngSetFSCB()
1347 …bRet &= HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_ODD|eSecureKeyType), u32CAVid, eForceSCB… in _MDrv_DSCMB2_EngSetFSCB()
1348 …bRet &= HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_EVEN|eSecureKeyType), u32CAVid, eForceSCB… in _MDrv_DSCMB2_EngSetFSCB()
1352 …bRet &= HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), u32CAVid, eForceSCB… in _MDrv_DSCMB2_EngSetFSCB()
1391 MS_U32 u32FltId = 0 ; in _MDrv_DSCMB2_EngSetSwitch() local
1400 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId ) ) in _MDrv_DSCMB2_EngSetSwitch()
1411 …bRet &= HAL_DSCMB_KTE_Write_PacketSwitch(u32FltId, (E_DSCMB_KEY_EVEN|eSecureKeyType), u32CAVid, … in _MDrv_DSCMB2_EngSetSwitch()
1412 …bRet &= HAL_DSCMB_KTE_Write_PacketSwitch(u32FltId, (E_DSCMB_KEY_ODD|eSecureKeyType), u32CAVid, … in _MDrv_DSCMB2_EngSetSwitch()
1416 …bRet &= HAL_DSCMB_KTE_Write_PacketSwitch(u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), u32CAVid,… in _MDrv_DSCMB2_EngSetSwitch()
1442 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_EngSetAlgo() local
1451 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId ) ) in _MDrv_DSCMB2_EngSetAlgo()
1464 …if ((!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_EVEN|eSecureKeyType), E_DSCMB_ENG_LSAS, u32C… in _MDrv_DSCMB2_EngSetAlgo()
1466 …(!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_ODD|eSecureKeyType) , E_DSCMB_ENG_LSAS, u32CAVid… in _MDrv_DSCMB2_EngSetAlgo()
1475 …if(!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), E_DSCMB_ENG_LSAS, u32CA… in _MDrv_DSCMB2_EngSetAlgo()
1486 …if ((!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_EVEN|eSecureKeyType), E_DSCMB_ENG_ESA, u32CA… in _MDrv_DSCMB2_EngSetAlgo()
1488 …(!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_ODD|eSecureKeyType) , E_DSCMB_ENG_ESA, u32CAVid,… in _MDrv_DSCMB2_EngSetAlgo()
1497 …if(!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), E_DSCMB_ENG_ESA, u32CAV… in _MDrv_DSCMB2_EngSetAlgo()
1508 …if ((!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_EVEN|eSecureKeyType), E_DSCMB_ENG_LSAD, u32C… in _MDrv_DSCMB2_EngSetAlgo()
1510 …(!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_ODD|eSecureKeyType) , E_DSCMB_ENG_LSAD, u32CAVid… in _MDrv_DSCMB2_EngSetAlgo()
1519 …if(!HAL_DSCMB_KTE_Write_Algo(u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), E_DSCMB_ENG_LSAD, u32CA… in _MDrv_DSCMB2_EngSetAlgo()
1535 …HAL_DSCMB_KTE_Write_SBOX( u32FltId , (E_DSCMB_KEY_ODD|eSecureKeyType) , u32CAVid, u32Variant, FAL… in _MDrv_DSCMB2_EngSetAlgo()
1536 …HAL_DSCMB_KTE_Write_SBOX( u32FltId , (E_DSCMB_KEY_EVEN|eSecureKeyType) , u32CAVid, u32Variant, FAL… in _MDrv_DSCMB2_EngSetAlgo()
1539 …HAL_DSCMB_KTE_Write_SBOX( u32FltId , (E_DSCMB_KEY_CLEAR|eSecureKeyType), u32CAVid, u32Variant, FAL… in _MDrv_DSCMB2_EngSetAlgo()
1545 …HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_ODD|eSecureKeyType), u32CAVid, DSCMB_FSCB_CLEAR… in _MDrv_DSCMB2_EngSetAlgo()
1546 …HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_EVEN|eSecureKeyType), u32CAVid, DSCMB_FSCB_CLEAR… in _MDrv_DSCMB2_EngSetAlgo()
1549 …HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), u32CAVid, DSCMB_FSCB_CLEAR… in _MDrv_DSCMB2_EngSetAlgo()
1554 …HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_ODD|eSecureKeyType), u32CAVid, DSCMB_FSCB_UNCHG… in _MDrv_DSCMB2_EngSetAlgo()
1555 …HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_EVEN|eSecureKeyType), u32CAVid, DSCMB_FSCB_UNCHG… in _MDrv_DSCMB2_EngSetAlgo()
1558 …HAL_DSCMB_KTE_Write_FSCB(u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), u32CAVid, DSCMB_FSCB_UNCHG… in _MDrv_DSCMB2_EngSetAlgo()
1581 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_EngSetIV() local
1591 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId )) in _MDrv_DSCMB2_EngSetIV()
1608 if (!HAL_DSCMB_KTE_Write_IV(u32FltId, eKeyType | eSecureKeyType , u32CAVid, pu8IV)) in _MDrv_DSCMB2_EngSetIV()
1614 if (!HAL_DSCMB_KTE_IV_Ctrl (u32FltId, eKeyType | eSecureKeyType , u32CAVid, TRUE )) in _MDrv_DSCMB2_EngSetIV()
1641 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_EngSetIV_Ex() local
1651 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId )) in _MDrv_DSCMB2_EngSetIV_Ex()
1671 …if (!HAL_DSCMB_KTE_Write_IV_Ex(u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAS, u32CAVid, pu… in _MDrv_DSCMB2_EngSetIV_Ex()
1677 …if (!HAL_DSCMB_KTE_IV_Ctrl_Ex (u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAS, u32CAVid, TR… in _MDrv_DSCMB2_EngSetIV_Ex()
1687 …if (!HAL_DSCMB_KTE_Write_IV_Ex(u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_ESA, u32CAVid, pu8… in _MDrv_DSCMB2_EngSetIV_Ex()
1693 …if (!HAL_DSCMB_KTE_IV_Ctrl_Ex (u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_ESA, u32CAVid, TRU… in _MDrv_DSCMB2_EngSetIV_Ex()
1703 …if (!HAL_DSCMB_KTE_Write_IV_Ex(u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAD, u32CAVid, pu… in _MDrv_DSCMB2_EngSetIV_Ex()
1709 …if (!HAL_DSCMB_KTE_IV_Ctrl_Ex (u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAD, u32CAVid, TR… in _MDrv_DSCMB2_EngSetIV_Ex()
1733 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_EngSetRIV() local
1741 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId )) in _MDrv_DSCMB2_EngSetRIV()
1767 …if (!HAL_DSCMB_KTE_Write_RIV(u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), u32CAVid, pu8RIV, pMap-… in _MDrv_DSCMB2_EngSetRIV()
1773 …if (!HAL_DSCMB_KTE_IV_Ctrl_Ex (u32FltId, (E_DSCMB_KEY_CLEAR|eSecureKeyType), E_DSCMB_ENG_ESA, u32C… in _MDrv_DSCMB2_EngSetRIV()
1806 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_EngSetKeyFSCB() local
1808 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId )) in _MDrv_DSCMB2_EngSetKeyFSCB()
1830 bRet = HAL_DSCMB_KTE_Write_KeyFSCB( u32FltId, u32KteSel, eKeyType, eForceSCB); in _MDrv_DSCMB2_EngSetKeyFSCB()
1865 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_EngSetKey() local
1872 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId )) in _MDrv_DSCMB2_EngSetKey()
1895 …if (!HAL_DSCMB_KTE_Write_Key(u32FltId, eKeyType | eSecureKeyType , E_DSCMB_ENG_LSAS , u32CAVid, pu… in _MDrv_DSCMB2_EngSetKey()
1901 …if (!HAL_DSCMB_KTE_Key_Ctrl (u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAS , u32CAVid, TRU… in _MDrv_DSCMB2_EngSetKey()
1910 …if (!HAL_DSCMB_KTE_Write_Key(u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_ESA , u32CAVid, pu8K… in _MDrv_DSCMB2_EngSetKey()
1916 …if (!HAL_DSCMB_KTE_Key_Ctrl (u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_ESA , u32CAVid, TRUE… in _MDrv_DSCMB2_EngSetKey()
1925 …if (!HAL_DSCMB_KTE_Write_Key(u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAD , u32CAVid, pu8… in _MDrv_DSCMB2_EngSetKey()
1931 …if (!HAL_DSCMB_KTE_Key_Ctrl (u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAD , u32CAVid, TRU… in _MDrv_DSCMB2_EngSetKey()
1957 MS_U32 u32FltId = 0 ; in _MDrv_DSCMB2_EngResetKey() local
1964 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId ) ) in _MDrv_DSCMB2_EngResetKey()
1987 …if (!HAL_DSCMB_KTE_Write_Key(u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAS, u32CAVid, ClrK… in _MDrv_DSCMB2_EngResetKey()
1996 …if (!HAL_DSCMB_KTE_Write_Key(u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_ESA, u32CAVid, ClrKe… in _MDrv_DSCMB2_EngResetKey()
2005 …if (!HAL_DSCMB_KTE_Write_Key(u32FltId, eKeyType | eSecureKeyType, E_DSCMB_ENG_LSAD, u32CAVid, ClrK… in _MDrv_DSCMB2_EngResetKey()
2098 MS_U32 u32FltId = 0 ; in _MDrv_DSCMB2_GetPidSlotMapIndex() local
2102 if (!_DSCMB_Dscmb2Flt( u32DscmbId , &u32FltId ) ) in _MDrv_DSCMB2_GetPidSlotMapIndex()
2109 return u32FltId; in _MDrv_DSCMB2_GetPidSlotMapIndex()
2117 MS_BOOL _MDrv_DSCMB2_IsKTEValid(MS_U32 u32FltId, DSCMB_Key_Type eKeyType) in _MDrv_DSCMB2_IsKTEValid() argument
2126 if(_u32PidFlt2Dscmb[u32FltId].u8DscmbId != HAL_DSCMB_KTE_MAX) in _MDrv_DSCMB2_IsKTEValid()
2129 HAL_DSCMB_KTE_GetStatus(_u32PidFlt2Dscmb[u32FltId].u8DscmbId, eKeyType, &KeyStatus); in _MDrv_DSCMB2_IsKTEValid()
2131 HAL_DSCMB_KTE_GetStatus(u32FltId, eKeyType, &KeyStatus); in _MDrv_DSCMB2_IsKTEValid()
2152 MS_BOOL _MDrv_DSCMB2_SetTSPCADst(MS_U32 u32FltId, MS_U32 u32UpDst, MS_U32 u32LowDst) in _MDrv_DSCMB2_SetTSPCADst() argument
2159 if(_u32PidFlt2Dscmb[u32FltId].u8DscmbId != HAL_DSCMB_KTE_MAX) in _MDrv_DSCMB2_SetTSPCADst()
2161 u32PidSlotMapNo =_u32PidFlt2Dscmb[u32FltId].u8DscmbId; in _MDrv_DSCMB2_SetTSPCADst()
2164 u32PidSlotMapNo = u32FltId; in _MDrv_DSCMB2_SetTSPCADst()
2167 _u32PidFlt2Dscmb[u32FltId].u8CaDestUpp = u32UpDst; in _MDrv_DSCMB2_SetTSPCADst()
2168 _u32PidFlt2Dscmb[u32FltId].u8CaDestLow = u32LowDst; in _MDrv_DSCMB2_SetTSPCADst()
2169 HAL_DSCMB_SetTSPCADst_PidSlotMap(u32FltId, u32UpDst, u32LowDst, u32PidSlotMapNo); in _MDrv_DSCMB2_SetTSPCADst()
2175 MS_BOOL _MDrv_DSCMB2_DualPath_Enable(MS_U32 u32EngId, MS_U32 u32FltId) in _MDrv_DSCMB2_DualPath_Enable() argument
2181 if(_u32PidFlt2Dscmb[u32FltId].u8DscmbId != HAL_DSCMB_KTE_MAX) in _MDrv_DSCMB2_DualPath_Enable()
2184 …bRet = HAL_DSCMB_PidIdx_DualPath(_u32PidFlt2Dscmb[u32FltId].u8DscmbId, TRUE); //enable small swi… in _MDrv_DSCMB2_DualPath_Enable()
2186 bRet = HAL_DSCMB_PidIdx_DualPath(u32FltId, TRUE); in _MDrv_DSCMB2_DualPath_Enable()
2198 MS_BOOL _MDrv_DSCMB2_DualPath_Disable(MS_U32 u32EngId, MS_U32 u32FltId) in _MDrv_DSCMB2_DualPath_Disable() argument
2205 if(_u32PidFlt2Dscmb[u32FltId].u8DscmbId != HAL_DSCMB_KTE_MAX) in _MDrv_DSCMB2_DualPath_Disable()
2208 …bRet = HAL_DSCMB_PidIdx_DualPath(_u32PidFlt2Dscmb[u32FltId].u8DscmbId, FALSE); //disable small s… in _MDrv_DSCMB2_DualPath_Disable()
2210 bRet = HAL_DSCMB_PidIdx_DualPath(u32FltId, FALSE); in _MDrv_DSCMB2_DualPath_Disable()
2555 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_KLadder_AtomicExec() local
2667 u32FltId = KLCfg->u32DscID; in _MDrv_DSCMB2_KLadder_AtomicExec()
2685 if(FALSE == _DSCMB_Dscmb2Flt(KLCfg->u32DscID, &u32FltId)) in _MDrv_DSCMB2_KLadder_AtomicExec()
2709 u32FltId = KLCfg->u32DscID; //TSIO service id in _MDrv_DSCMB2_KLadder_AtomicExec()
2827 u32FltId, /*For Dst KT*/ in _MDrv_DSCMB2_KLadder_AtomicExec()
2837 u32FltId, /*For Dst KT*/ in _MDrv_DSCMB2_KLadder_AtomicExec()
2858 u32FltId, /*For Dst TSIO*/ in _MDrv_DSCMB2_KLadder_AtomicExec()
2908 if (FALSE == HAL_DSCMB_KTE_Key_Ctrl_Ex(u32FltId, in _MDrv_DSCMB2_KLadder_AtomicExec()
2967 MS_U32 u32FltId = 0;
3013 if(FALSE == _DSCMB_Dscmb2Flt(KLCfg->u32DscID, &u32FltId))
3018 DRVDSCMB2_DBG(DSCMB2_DBGLV_DEBUG, "Filter ID %u\n\033[m", u32FltId);
3021 u32FltId, /*For Dst KT*/
3027 if (FALSE == HAL_DSCMB_KTE_Key_Ctrl(u32FltId,
3135 MS_U32 u32FltId = 0; in _MDrv_DSCMB2_KLadder_ETSI() local
3242 u32FltId = KLCfg->u32DscID; in _MDrv_DSCMB2_KLadder_ETSI()
3260 if(FALSE == _DSCMB_Dscmb2Flt(KLCfg->u32DscID, &u32FltId)) in _MDrv_DSCMB2_KLadder_ETSI()
3284 u32FltId = KLCfg->u32DscID; //TSIO service id in _MDrv_DSCMB2_KLadder_ETSI()
3379 u32FltId, /*For Dst KT*/ in _MDrv_DSCMB2_KLadder_ETSI()
3389 u32FltId, /*For Dst KT*/ in _MDrv_DSCMB2_KLadder_ETSI()
3410 u32FltId, /*For Dst TSIO*/ in _MDrv_DSCMB2_KLadder_ETSI()
3460 if (FALSE == HAL_DSCMB_KTE_Key_Ctrl_Ex(u32FltId, in _MDrv_DSCMB2_KLadder_ETSI()
3511 MS_U32 u32FltId = 0;
3571 if(FALSE == _DSCMB_Dscmb2Flt(KLCfg->u32DscID, &u32FltId))
3576 DSCMB_DBG("\033[31m LINE %d, filter ID %lu\n\033[m", __LINE__, u32FltId);
3580 u32FltId, /*For Dst KT*/
3586 if (FALSE == HAL_DSCMB_KTE_Key_Ctrl(u32FltId,
3812 void _MDrv_DSCMB2_ReadSwitch(MS_U32 u32FltId, DSCMB_Key_Type type, MS_U32 u32CAVid) in _MDrv_DSCMB2_ReadSwitch() argument
3818 if(_u32PidFlt2Dscmb[u32FltId].u8DscmbId != HAL_DSCMB_KTE_MAX) in _MDrv_DSCMB2_ReadSwitch()
3821 HAL_DSCMB_PrintSwitchSetup(_u32PidFlt2Dscmb[u32FltId].u8DscmbId, type, u32CAVid); in _MDrv_DSCMB2_ReadSwitch()
3823 HAL_DSCMB_PrintSwitchSetup(u32FltId, type, u32CAVid); in _MDrv_DSCMB2_ReadSwitch()
3830 void _MDrv_DSCMB2_ReadPidSlotMap(MS_U32 u32FltId) in _MDrv_DSCMB2_ReadPidSlotMap() argument
3839 if(_u32PidFlt2Dscmb[u32FltId].u8DscmbId != HAL_DSCMB_KTE_MAX) in _MDrv_DSCMB2_ReadPidSlotMap()
3842 HAL_DSCMB_ReadPidSlotMap(_u32PidFlt2Dscmb[u32FltId].u8DscmbId, &tReadData); in _MDrv_DSCMB2_ReadPidSlotMap()
3844 HAL_DSCMB_ReadPidSlotMap(u32FltId, &tReadData); in _MDrv_DSCMB2_ReadPidSlotMap()
3851 void _MDrv_DSCMB2_PacketView(MS_U32 u32Eng, MS_U32 u32FltId, MS_U32 Mode, MS_U32 u32Range, MS_BOOL … in _MDrv_DSCMB2_PacketView() argument
3862 HAL_DSCMB_Get_TsidInput(u32FltId, &u32tsif); in _MDrv_DSCMB2_PacketView()
4051 MS_BOOL MDrv_DSCMB2_FltConnectFltId(MS_U32 u32EngId, MS_U32 u32DscmbId, MS_U32 u32FltId) in MDrv_DSCMB2_FltConnectFltId() argument
4064 pArgs.u32DmxFltId = u32FltId; in MDrv_DSCMB2_FltConnectFltId()
4075 return _MDrv_DSCMB2_FltConnectFltId(u32EngId, u32DscmbId, u32FltId); in MDrv_DSCMB2_FltConnectFltId()
4081 MS_BOOL MDrv_DSCMB2_FltDisconnectFltId(MS_U32 u32EngId, MS_U32 u32DscmbId, MS_U32 u32FltId) in MDrv_DSCMB2_FltDisconnectFltId() argument
4093 pArgs.u32DmxFltId = u32FltId; in MDrv_DSCMB2_FltDisconnectFltId()
4103 return _MDrv_DSCMB2_FltDisconnectFltId(u32EngId, u32DscmbId, u32FltId); in MDrv_DSCMB2_FltDisconnectFltId()
4390 MS_BOOL MDrv_DSCMB2_IsKTEValid(MS_U32 u32FltId, DSCMB_Key_Type eKeyType) in MDrv_DSCMB2_IsKTEValid() argument
4392 return _MDrv_DSCMB2_IsKTEValid (u32FltId, eKeyType); in MDrv_DSCMB2_IsKTEValid()
4400 MS_BOOL MDrv_DSCMB2_SetTSPCADst(MS_U32 u32FltId, MS_U32 u32UpDst, MS_U32 u32LowDst) in MDrv_DSCMB2_SetTSPCADst() argument
4402 return _MDrv_DSCMB2_SetTSPCADst(u32FltId, u32UpDst, u32LowDst); in MDrv_DSCMB2_SetTSPCADst()
4405 MS_BOOL MDrv_DSCMB2_DualPath_Enable(MS_U32 u32EngId, MS_U32 u32FltId) in MDrv_DSCMB2_DualPath_Enable() argument
4417 pArgs.u32DmxFltId = u32FltId; in MDrv_DSCMB2_DualPath_Enable()
4428 return _MDrv_DSCMB2_DualPath_Enable(u32EngId, u32FltId); in MDrv_DSCMB2_DualPath_Enable()
4432 MS_BOOL MDrv_DSCMB2_DualPath_Disable(MS_U32 u32EngId, MS_U32 u32FltId) in MDrv_DSCMB2_DualPath_Disable() argument
4444 pArgs.u32DmxFltId = u32FltId; in MDrv_DSCMB2_DualPath_Disable()
4455 … return _MDrv_DSCMB2_DualPath_Disable(u32EngId, u32FltId); //enable small switch pid_no dual path in MDrv_DSCMB2_DualPath_Disable()
4806 MS_U32 u32FltId = 0;
4896 if(FALSE == _DSCMB_Dscmb2Flt(KLCfg->u32DscID, &u32FltId))
5016 u32FltId, /*For Dst KT*/
5055 if (FALSE == HAL_DSCMB_KTE_Key_Ctrl_Ex(u32FltId,
5423 void MDrv_DSCMB2_ReadSwitch(MS_U32 u32FltId, DSCMB_Key_Type type, MS_U32 u32CAVid) in MDrv_DSCMB2_ReadSwitch() argument
5425 _MDrv_DSCMB2_ReadSwitch(u32FltId, type, u32CAVid); in MDrv_DSCMB2_ReadSwitch()
5428 void MDrv_DSCMB2_ReadPidSlotMap(MS_U32 u32FltId) in MDrv_DSCMB2_ReadPidSlotMap() argument
5430 _MDrv_DSCMB2_ReadPidSlotMap(u32FltId); in MDrv_DSCMB2_ReadPidSlotMap()
5433 void MDrv_DSCMB2_PacketView(MS_U32 u32Eng, MS_U32 u32FltId, MS_U32 Mode, MS_U32 u32Range, MS_BOOL b… in MDrv_DSCMB2_PacketView() argument
5435 _MDrv_DSCMB2_PacketView(u32Eng, u32FltId, Mode, u32Range, bRst); in MDrv_DSCMB2_PacketView()