Lines Matching refs:Index

243     uint8 Index;  in Clock_Ip_UpdateDriverContext()  local
248 for (Index = 0U; Index < Config->ExtClksCount; Index++) /* Set external signal frequency. */ in Clock_Ip_UpdateDriverContext()
250 …Clock_Ip_SetExternalSignalFrequency((*(Config->ExtClks))[Index].Name, (*(Config->ExtClks))[Index].… in Clock_Ip_UpdateDriverContext()
256 for (Index = 1U; Index < Config->ConfigureFrequenciesCount; Index++) in Clock_Ip_UpdateDriverContext()
258 Clock_Ip_FreqIds[(*(Config->ConfiguredFrequencies))[Index].Name] = Index; in Clock_Ip_UpdateDriverContext()
273 uint32 Index; in Clock_Ip_CheckIrcoscClocks() local
280 for (Index = 0U; Index < (Config->IrcoscsCount - 1U); Index++) in Clock_Ip_CheckIrcoscClocks()
282 …CLOCK_IP_DEV_ASSERT(((uint32)(*(Config->Ircoscs))[Index].Name) < ((uint32)(*(Config->Ircoscs))[Ind… in Clock_Ip_CheckIrcoscClocks()
283 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->Ircoscs))[Index].Name] & CLOCK_IP_IRCOS… in Clock_Ip_CheckIrcoscClocks()
300 uint32 Index; in Clock_Ip_CheckXoscClocks() local
308 for (Index = 0U; Index < (Config->XoscsCount - 1U); Index++) in Clock_Ip_CheckXoscClocks()
310 …CLOCK_IP_DEV_ASSERT(((uint32)(*(Config->Xoscs))[Index].Name) < ((uint32)(*(Config->Xoscs))[Index+1… in Clock_Ip_CheckXoscClocks()
311 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->Xoscs))[Index].Name] & CLOCK_IP_XOSC_OB… in Clock_Ip_CheckXoscClocks()
328 uint32 Index; in Clock_Ip_CheckPllClocks() local
335 for (Index = 0U; Index < (Config->PllsCount - 1U); Index++) in Clock_Ip_CheckPllClocks()
337 …CLOCK_IP_DEV_ASSERT(((uint32)(*(Config->Plls))[Index].Name) < ((uint32)(*(Config->Plls))[Index+1U]… in Clock_Ip_CheckPllClocks()
338 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->Plls))[Index].Name] & CLOCK_IP_PLL_OBJE… in Clock_Ip_CheckPllClocks()
355 uint32 Index; in Clock_Ip_CheckExtSigClocks() local
362 for (Index = 0U; Index < (Config->ExtClksCount - 1U); Index++) in Clock_Ip_CheckExtSigClocks()
364 …CLOCK_IP_DEV_ASSERT(((uint32)(*(Config->ExtClks))[Index].Name) < ((uint32)(*(Config->ExtClks))[Ind… in Clock_Ip_CheckExtSigClocks()
365 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->ExtClks))[Index].Name] & CLOCK_IP_EXT_S… in Clock_Ip_CheckExtSigClocks()
381 uint32 Index; in Clock_Ip_CheckSelectorClocks() local
387 for (Index = 0U; Index < (Config->SelectorsCount - 1U); Index++) in Clock_Ip_CheckSelectorClocks()
389 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->Selectors))[Index].Name] & CLOCK_IP_SEL… in Clock_Ip_CheckSelectorClocks()
404 uint32 Index; in Clock_Ip_CheckDividerClocks() local
410 for (Index = 0U; Index < (Config->DividersCount - 1U); Index++) in Clock_Ip_CheckDividerClocks()
412 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->Dividers))[Index].Name] & CLOCK_IP_DIVI… in Clock_Ip_CheckDividerClocks()
428 uint32 Index; in Clock_Ip_CheckDividerTriggerClocks() local
436 for (Index = 0U; Index < (Config->DividerTriggersCount - 1U); Index++) in Clock_Ip_CheckDividerTriggerClocks()
438 …V_ASSERT(((uint32)(*(Config->DividerTriggers))[Index].Name) < ((uint32)(*(Config->DividerTriggers)… in Clock_Ip_CheckDividerTriggerClocks()
439 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->DividerTriggers))[Index].Name] & CLOCK_… in Clock_Ip_CheckDividerTriggerClocks()
456 uint32 Index; in Clock_Ip_CheckFracDividerClocks() local
464 for (Index = 0U; Index < (Config->FracDivsCount - 1U); Index++) in Clock_Ip_CheckFracDividerClocks()
466 …CLOCK_IP_DEV_ASSERT(((uint32)(*(Config->FracDivs))[Index].Name) < ((uint32)(*(Config->FracDivs))[I… in Clock_Ip_CheckFracDividerClocks()
467 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->FracDivs))[Index].Name] & CLOCK_IP_FRAC… in Clock_Ip_CheckFracDividerClocks()
483 uint32 Index; in Clock_Ip_CheckGateClocks() local
489 for (Index = 0U; Index < (Config->GatesCount - 1U); Index++) in Clock_Ip_CheckGateClocks()
491 …CLOCK_IP_DEV_ASSERT(((uint32)(*(Config->Gates))[Index].Name) < ((uint32)(*(Config->Gates))[Index+1… in Clock_Ip_CheckGateClocks()
492 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->Gates))[Index].Name] & CLOCK_IP_GATE_OB… in Clock_Ip_CheckGateClocks()
507 uint32 Index; in Clock_Ip_CheckPcfsClocks() local
513 for (Index = 0U; Index < (Config->PcfsCount - 1U); Index++) in Clock_Ip_CheckPcfsClocks()
515 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->Pcfs))[Index].Name] & CLOCK_IP_PCFS_OBJ… in Clock_Ip_CheckPcfsClocks()
530 uint32 Index; in Clock_Ip_CheckCmuClocks() local
536 for (Index = 0U; Index < (Config->CmusCount - 1U); Index++) in Clock_Ip_CheckCmuClocks()
538 …CLOCK_IP_DEV_ASSERT((Clock_Ip_au8ClockNameTypes[(*(Config->Cmus))[Index].Name] & CLOCK_IP_CMU_OBJE… in Clock_Ip_CheckCmuClocks()
586 uint32 Index; in Clock_Ip_ResetClockConfiguration() local
588 …for (Index = Config->SelectorsCount ; Index > 0U; Index--) /* Ramp down all selectors from conf… in Clock_Ip_ResetClockConfiguration()
590 …au8SelectorCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Selectors))[Index - 1U].Name][CLOCK_… in Clock_Ip_ResetClockConfiguration()
591 Clock_Ip_axSelectorCallbacks[CallbackIndex].Reset(&(*Config->Selectors)[Index - 1U]); in Clock_Ip_ResetClockConfiguration()
594 …for (Index = Config->FracDivsCount; Index > 0U; Index--) /* Put in reset state all fractional d… in Clock_Ip_ResetClockConfiguration()
596 …ionalDividerCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->FracDivs))[Index - 1U].Name][CLOCK_… in Clock_Ip_ResetClockConfiguration()
597 Clock_Ip_axFracDivCallbacks[CallbackIndex].Reset(&(*Config->FracDivs)[Index - 1U]); in Clock_Ip_ResetClockConfiguration()
600 …for (Index = Config->PllsCount; Index > 0U; Index--) /* Power down all plls from configurati… in Clock_Ip_ResetClockConfiguration()
602 … Clock_Ip_au8PllCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Plls))[Index - 1U].Name][CLOCK_… in Clock_Ip_ResetClockConfiguration()
603 Clock_Ip_axPllCallbacks[CallbackIndex].Reset(&(*Config->Plls)[Index - 1U]); in Clock_Ip_ResetClockConfiguration()
606 …for (Index = Config->XoscsCount; Index > 0U; Index--) /* Power down all xoscs from configurati… in Clock_Ip_ResetClockConfiguration()
608 …lock_Ip_au8XoscCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Xoscs))[Index - 1U].Name][CLOCK_… in Clock_Ip_ResetClockConfiguration()
609 Clock_Ip_axExtOscCallbacks[CallbackIndex].Reset(&(*Config->Xoscs)[Index - 1U]); in Clock_Ip_ResetClockConfiguration()
716 uint32 Index; in Clock_Ip_InitClock() local
737 …for (Index = 0U; Index < Config->CmusCount; Index++) /* Reset all clock monitor units from prev… in Clock_Ip_InitClock()
739 … Clock_Ip_au8CmuCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Cmus))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
740 Clock_Ip_axCmuCallbacks[CallbackIndex].Reset(&(*Config->Cmus)[Index]); in Clock_Ip_InitClock()
755 …for (Index = 0U; Index < Config->IrcoscsCount; Index++) /* Set internal oscillators from configu… in Clock_Ip_InitClock()
757 …_Ip_au8IrcoscCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Ircoscs))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
758 Clock_Ip_axIntOscCallbacks[CallbackIndex].Set(&(*Config->Ircoscs)[Index]); in Clock_Ip_InitClock()
761 …for (Index = 0U; Index < Config->XoscsCount; Index++) /* Configure all xoscs from configuratio… in Clock_Ip_InitClock()
763 …lock_Ip_au8XoscCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Xoscs))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
764 Clock_Ip_axExtOscCallbacks[CallbackIndex].Set(&(*Config->Xoscs)[Index]); in Clock_Ip_InitClock()
771 …for (Index = 0U; Index < Config->PcfsCount; Index++) /* Configure all progressive frequency … in Clock_Ip_InitClock()
773 …Clock_Ip_au8PcfsCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Pcfs))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
774 Clock_Ip_axPcfsCallbacks[CallbackIndex].Set(&(*Config->Pcfs)[Index], Index); in Clock_Ip_InitClock()
778 …for (Index = 0U; Index < Config->DividerTriggersCount; Index++) /* Set divider triggers from co… in Clock_Ip_InitClock()
780 …iggerCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->DividerTriggers))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
781 … Clock_Ip_axDividerTriggerCallbacks[CallbackIndex].Configure(&(*Config->DividerTriggers)[Index]); in Clock_Ip_InitClock()
785 … for (Index = 0U; Index < Config->DividersCount; Index++) /* Set dividers from configuration. */ in Clock_Ip_InitClock()
787 …p_au8DividerCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Dividers))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
788 Clock_Ip_axDividerCallbacks[CallbackIndex].Set(&(*Config->Dividers)[Index]); in Clock_Ip_InitClock()
792 …for (Index = 0U; Index < Config->DividerTriggersCount; Index++) /* Set divider triggers from co… in Clock_Ip_InitClock()
794 …iggerCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->DividerTriggers))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
795 …lock_Ip_axDividerTriggerCallbacks[CallbackIndex].TriggerUpdate(&(*Config->DividerTriggers)[Index]); in Clock_Ip_InitClock()
799 …for (Index = 0U; Index < Config->PllsCount; Index++) /* Configure all plls from configuratio… in Clock_Ip_InitClock()
801 … Clock_Ip_au8PllCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Plls))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
802 Clock_Ip_axPllCallbacks[CallbackIndex].Set(&(*Config->Plls)[Index]); in Clock_Ip_InitClock()
805 …for (Index = 0U; Index < Config->CmusCount; Index++) /* Set the Clock Monitoring Units that ar… in Clock_Ip_InitClock()
807 … Clock_Ip_au8CmuCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Cmus))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
808 Clock_Ip_axCmuCallbacks[CallbackIndex].Set(&(*Config->Cmus)[Index], Index); in Clock_Ip_InitClock()
811 …for (Index = 0U; Index < Config->XoscsCount; Index++) /* Wait for all xoscs from configuration… in Clock_Ip_InitClock()
813 …lock_Ip_au8XoscCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Xoscs))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
814 Clock_Ip_axExtOscCallbacks[CallbackIndex].Complete(&(*Config->Xoscs)[Index]); in Clock_Ip_InitClock()
818 …for (Index = 0U; Index < Config->PllsCount; Index++) /* Enable plls according to configurati… in Clock_Ip_InitClock()
820 … Clock_Ip_au8PllCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Plls))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
821 Clock_Ip_axPllCallbacks[CallbackIndex].Enable(&(*Config->Plls)[Index]); in Clock_Ip_InitClock()
827 …for (Index = 0U; Index < Config->FracDivsCount; Index++) /* Configure all fractional dividers f… in Clock_Ip_InitClock()
829 …ionalDividerCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->FracDivs))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
830 Clock_Ip_axFracDivCallbacks[CallbackIndex].Set(&(*Config->FracDivs)[Index]); in Clock_Ip_InitClock()
856 …for (Index = 0U; Index < Config->SelectorsCount; Index++) /* Set only if selected inputs are no… in Clock_Ip_InitClock()
858 if ((PLL_TYPE != Clock_Ip_aeSourceTypeClockName[(*(Config->Selectors))[Index].Value])) in Clock_Ip_InitClock()
861 …au8SelectorCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Selectors))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
862 Clock_Ip_axSelectorCallbacks[CallbackIndex].Set(&(*Config->Selectors)[Index]); in Clock_Ip_InitClock()
874 …for (Index = 0U; Index < Config->GatesCount; Index++) /* Set clock gates that are under clock c… in Clock_Ip_InitClock()
876 …lock_Ip_au8GateCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Gates))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
877 Clock_Ip_axGateCallbacks[CallbackIndex].Set(&(*Config->Gates)[Index]); in Clock_Ip_InitClock()
881 for (Index = 0U; Index < Config->CmusCount; Index++) in Clock_Ip_InitClock()
883 … Clock_Ip_au8CmuCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Config->Cmus))[Index].Name][CLOCK_IP_CA… in Clock_Ip_InitClock()
884 Clock_Ip_axCmuCallbacks[CallbackIndex].Enable(&(*Config->Cmus)[Index]); in Clock_Ip_InitClock()
914 uint32 Index; in Clock_Ip_GetPllStatus() local
917 for (Index = 0U; Index < DriverContext.HwPllsNo; Index++) in Clock_Ip_GetPllStatus()
919 …ock_Ip_au8PllCallbackIndex[Clock_Ip_au8ClockFeatures[Clock_Ip_aeHwPllName[Index]][CLOCK_IP_CALLBAC… in Clock_Ip_GetPllStatus()
920 PllStatus = Clock_Ip_axPllCallbacks[CallbackIndex].Complete(Clock_Ip_aeHwPllName[Index]); in Clock_Ip_GetPllStatus()
937 for (Index = 0U; Index < DriverContext.HwDfsNo; Index++) in Clock_Ip_GetPllStatus()
939 …tionalDividerCallbackIndex[Clock_Ip_au8ClockFeatures[Clock_Ip_aeHwDfsName[Index]][CLOCK_IP_CALLBAC… in Clock_Ip_GetPllStatus()
940 … DfsStatus = Clock_Ip_axFracDivCallbacks[CallbackIndex].Complete(Clock_Ip_aeHwDfsName[Index]); in Clock_Ip_GetPllStatus()
963 uint32 Index; in Clock_Ip_DistributePll() local
971 …for (Index = 0U; Index < Clock_Ip_pxConfig->SelectorsCount; Index++) /* Set only if selected in… in Clock_Ip_DistributePll()
973 … if (PLL_TYPE == Clock_Ip_aeSourceTypeClockName[(*(Clock_Ip_pxConfig->Selectors))[Index].Value]) in Clock_Ip_DistributePll()
976 …CallbackIndex[Clock_Ip_au8ClockFeatures[(*(Clock_Ip_pxConfig->Selectors))[Index].Name][CLOCK_IP_CA… in Clock_Ip_DistributePll()
977 … Clock_Ip_axSelectorCallbacks[CallbackIndex].Set(&(*Clock_Ip_pxConfig->Selectors)[Index]); in Clock_Ip_DistributePll()
986 …for (Index = 0U; Index < Clock_Ip_pxConfig->GatesCount; Index++) /* Set clock gates that are un… in Clock_Ip_DistributePll()
988 …GateCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Clock_Ip_pxConfig->Gates))[Index].Name][CLOCK_IP_CA… in Clock_Ip_DistributePll()
989 Clock_Ip_axGateCallbacks[CallbackIndex].Set(&(*Clock_Ip_pxConfig->Gates)[Index]); in Clock_Ip_DistributePll()
993 for (Index = 0U; Index < Clock_Ip_pxConfig->CmusCount; Index++) in Clock_Ip_DistributePll()
995 …u8CmuCallbackIndex[Clock_Ip_au8ClockFeatures[(*(Clock_Ip_pxConfig->Cmus))[Index].Name][CLOCK_IP_CA… in Clock_Ip_DistributePll()
996 Clock_Ip_axCmuCallbacks[CallbackIndex].Enable(&(*Clock_Ip_pxConfig->Cmus)[Index]); in Clock_Ip_DistributePll()
1213 uint32 Index; in Clock_Ip_WriteRegisterValues() local
1226 for (Index = Indexes->StartIndex; Index < Indexes->EndIndex; Index++) in Clock_Ip_WriteRegisterValues()
1228 RegAddr = (*Clock_Ip_pxConfig->RegValues)[Index].RegisterAddr; in Clock_Ip_WriteRegisterValues()
1229 RegData = (*Clock_Ip_pxConfig->RegValues)[Index].RegisterData; in Clock_Ip_WriteRegisterValues()