Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 487) sorted by relevance

12345678910>>...20

/hal_nxp-latest/s32/drivers/s32k3/BaseNXP/include/
DOsIf_Internal.h115 #define OsIf_Trusted_Call(name) Call_##name##_TRUS… argument
116 #define OsIf_Trusted_Call1param(name,param) Call_##name##_TRUS… argument
117 #define OsIf_Trusted_Call2params(name,param1,param2) Call_##name##_TRUS… argument
118 #define OsIf_Trusted_Call3params(name,param1,param2,param3) Call_##name##_TRUS… argument
119 #define OsIf_Trusted_Call4params(name,param1,param2,param3,param4) Call_##name##_TRUS… argument
120 #define OsIf_Trusted_Call5params(name,param1,param2,param3,param4,param5) Call_##name##_TRUS… argument
121 #define OsIf_Trusted_Call6params(name,param1,param2,param3,param4,param5,param6) Call_##name##_TRUS… argument
123 #define OsIf_Trusted_Call_Return(name) Call_##name#… argument
124 #define OsIf_Trusted_Call_Return1param(name,param1) Call_##name#… argument
125 #define OsIf_Trusted_Call_Return2param(name,param1,param2) Call_##name#… argument
[all …]
/hal_nxp-latest/s32/drivers/s32k1/BaseNXP/include/
DOsIf_Internal.h149 #define OsIf_Trusted_Call(name) Call_##name##_TRUS… argument
150 #define OsIf_Trusted_Call1param(name,param) Call_##name##_TRUS… argument
151 #define OsIf_Trusted_Call2params(name,param1,param2) Call_##name##_TRUS… argument
152 #define OsIf_Trusted_Call3params(name,param1,param2,param3) Call_##name##_TRUS… argument
153 #define OsIf_Trusted_Call4params(name,param1,param2,param3,param4) Call_##name##_TRUS… argument
154 #define OsIf_Trusted_Call5params(name,param1,param2,param3,param4,param5) Call_##name##_TRUS… argument
155 #define OsIf_Trusted_Call6params(name,param1,param2,param3,param4,param5,param6) Call_##name##_TRUS… argument
157 #define OsIf_Trusted_Call_Return(name) Call_##name#… argument
158 #define OsIf_Trusted_Call_Return1param(name,param1) Call_##name#… argument
159 #define OsIf_Trusted_Call_Return2param(name,param1,param2) Call_##name#… argument
[all …]
/hal_nxp-latest/s32/drivers/s32ze/BaseNXP/include/
DOsIf_Internal.h162 #define OsIf_Trusted_Call(name) Call_##name##_TRUS… argument
163 #define OsIf_Trusted_Call1param(name,param) Call_##name##_TRUS… argument
164 #define OsIf_Trusted_Call2params(name,param1,param2) Call_##name##_TRUS… argument
165 #define OsIf_Trusted_Call3params(name,param1,param2,param3) Call_##name##_TRUS… argument
166 #define OsIf_Trusted_Call4params(name,param1,param2,param3,param4) Call_##name##_TRUS… argument
167 #define OsIf_Trusted_Call5params(name,param1,param2,param3,param4,param5) Call_##name##_TRUS… argument
168 #define OsIf_Trusted_Call6params(name,param1,param2,param3,param4,param5,param6) Call_##name##_TRUS… argument
170 #define OsIf_Trusted_Call_Return(name) Call_##name#… argument
171 #define OsIf_Trusted_Call_Return1param(name,param1) Call_##name#… argument
172 #define OsIf_Trusted_Call_Return2param(name,param1,param2) Call_##name#… argument
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction.h270 #define osThreadStackArray(name) osThread_##name##_stack argument
271 #define osThreadStackDef(name, stacksize, instances) \ argument
272 const uint32_t osThreadStackArray(name)[SIZE_IN_UINT32_UNITS(stacksize) * (instances)];
284 #define OSA_TASK_DEFINE(name, priority, instances, stackSz, useFloat) … argument
285 …osa_thread_link_t osThreadLink_##name[instances] = {0}; …
286 …osThreadStackDef(name, stackSz, instances) osa_task_def_t os_thread_def_##name = { …
287 …(name), (priority), (instances), (stackSz), (uint8_t *) osThreadStackArray(name), osThre…
288 (uint8_t *)#name, (useFloat)}
291 #define OSA_TASK_DEFINE(name, priority, instances, stackSz, useFloat) … argument
292 …osa_thread_link_t osThreadLink_##name[instances] = {0}; …
[all …]
/hal_nxp-latest/mcux/middleware/wireless/framework_5.3.3/OSAbstraction/Interface/
Dfsl_os_abstraction.h146 #define osThreadStackArray(name) osThread_##name##_stack argument
147 #define osThreadStackDef(name, stacksize, instances) \ argument
148 uint32_t osThreadStackArray(name)[SIZE_IN_UINT32_UNITS(stacksize)*(instances)];
160 #define OSA_TASK_DEFINE(name, priority, instances, stackSz, useFloat) \ argument
161 osaThreadLink_t osThreadLink_##name[instances] = {0}; \
162 osThreadStackDef(name, stackSz, instances) \
163 osaThreadDef_t os_thread_def_##name = { (name), \
167 osThreadStackArray(name), \
168 osThreadLink_##name, \
169 (uint8_t*) #name,\
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QM6/drivers/
Dfsl_clock.c59 bool CLOCK_EnableClockExt(clock_ip_name_t name, uint32_t gate) in CLOCK_EnableClockExt() argument
61 return CLOCK_EnableClockExtMapped((uint32_t *)LPCG_TUPLE_REG_BASE(name), name, gate); in CLOCK_EnableClockExt()
73 bool CLOCK_EnableClockExtMapped(uint32_t *lpcgBase, clock_ip_name_t name, uint32_t gate) in CLOCK_EnableClockExtMapped() argument
77 err = sc_pm_clock_enable(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, true, (bool)gate); in CLOCK_EnableClockExtMapped()
80 CLOCK_ConfigLPCGMapped(lpcgBase, name, true, (bool)gate); in CLOCK_EnableClockExtMapped()
98 bool CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
100 return CLOCK_DisableClockMapped((uint32_t *)LPCG_TUPLE_REG_BASE(name), name); in CLOCK_DisableClock()
110 bool CLOCK_DisableClockMapped(uint32_t *lpcgBase, clock_ip_name_t name) in CLOCK_DisableClockMapped() argument
115 CLOCK_ConfigLPCGMapped(lpcgBase, name, false, false); in CLOCK_DisableClockMapped()
117 err = sc_pm_clock_enable(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, false, false); in CLOCK_DisableClockMapped()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MCXW716A/drivers/
Dfsl_clock.h267 #define CLOCK_REG(name) ((*(volatile uint32_t *)((uint32_t)(name) & ~0x10000000UL))) argument
269 #define CLOCK_REG(name) (*(volatile uint32_t *)((uint32_t)(name))) argument
576 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
578 if (kCLOCK_NOGATE == name) in CLOCK_EnableClock()
583 uint32_t reg = CLOCK_REG(name); in CLOCK_EnableClock()
590 CLOCK_REG(name) &= (~MRCC_CC_MASK); in CLOCK_EnableClock()
591 CLOCK_REG(name) |= (MRCC_CC_MASK & (uint32_t)kCLOCK_IpClkControl_fun1); in CLOCK_EnableClock()
593 if ((CLOCK_REG(name) & MRCC_PR_MASK) == MRCC_PR_MASK) in CLOCK_EnableClock()
595 CLOCK_REG(name) |= MRCC_RSTB_MASK; in CLOCK_EnableClock()
609 static inline void CLOCK_EnableClockLPMode(clock_ip_name_t name, clock_ip_control_t control) in CLOCK_EnableClockLPMode() argument
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MCXW716C/drivers/
Dfsl_clock.h267 #define CLOCK_REG(name) ((*(volatile uint32_t *)((uint32_t)(name) & ~0x10000000UL))) argument
269 #define CLOCK_REG(name) (*(volatile uint32_t *)((uint32_t)(name))) argument
576 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
578 if (kCLOCK_NOGATE == name) in CLOCK_EnableClock()
583 uint32_t reg = CLOCK_REG(name); in CLOCK_EnableClock()
590 CLOCK_REG(name) &= (~MRCC_CC_MASK); in CLOCK_EnableClock()
591 CLOCK_REG(name) |= (MRCC_CC_MASK & (uint32_t)kCLOCK_IpClkControl_fun1); in CLOCK_EnableClock()
593 if ((CLOCK_REG(name) & MRCC_PR_MASK) == MRCC_PR_MASK) in CLOCK_EnableClock()
595 CLOCK_REG(name) |= MRCC_RSTB_MASK; in CLOCK_EnableClock()
609 static inline void CLOCK_EnableClockLPMode(clock_ip_name_t name, clock_ip_control_t control) in CLOCK_EnableClockLPMode() argument
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1172/drivers/
Dfsl_clock.h2094 static inline void CLOCK_ControlGate(clock_ip_name_t name, clock_gate_value_t value) in CLOCK_ControlGate() argument
2096 …if (((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK) != (CCM->LPCG[name].DIRECT & CCM_LPCG_DIRECT_ON_MA… in CLOCK_ControlGate()
2098 CCM->LPCG[name].DIRECT = ((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK); in CLOCK_ControlGate()
2102 …while ((CCM->LPCG[name].STATUS0 & CCM_LPCG_STATUS0_ON_MASK) != ((uint32_t)value & CCM_LPCG_STATUS0… in CLOCK_ControlGate()
2113 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
2115 CLOCK_ControlGate(name, kCLOCK_On); in CLOCK_EnableClock()
2123 static inline void CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
2125 CLOCK_ControlGate(name, kCLOCK_Off); in CLOCK_DisableClock()
2145 uint32_t CLOCK_GetFreq(clock_name_t name);
2886 static inline void CLOCK_OSCPLL_LockControlMode(clock_name_t name) in CLOCK_OSCPLL_LockControlMode() argument
[all …]
Dfsl_pmu.c561 void PMU_GPCEnableLdo(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdo() argument
563 assert(name != kPMU_SnvsDigLdo); in PMU_GPCEnableLdo()
567 (*(volatile uint32_t *)ldoEnableRegArray[(uint8_t)name]) = ~setpointMap; in PMU_GPCEnableLdo()
578 void PMU_GPCSetLdoOperateMode(pmu_ldo_name_t name, uint32_t setpointMap, pmu_ldo_operate_mode_t mod… in PMU_GPCSetLdoOperateMode() argument
580 assert(name > kPMU_PllLdo); in PMU_GPCSetLdoOperateMode()
581 assert(name < kPMU_SnvsDigLdo); in PMU_GPCSetLdoOperateMode()
587 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) &= ~setpointMap; in PMU_GPCSetLdoOperateMode()
591 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) |= setpointMap; in PMU_GPCSetLdoOperateMode()
602 void PMU_GPCEnableLdoTrackingMode(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdoTrackingMode() argument
604 assert(name > kPMU_PllLdo); in PMU_GPCEnableLdoTrackingMode()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1166/drivers/
Dfsl_clock.h2061 static inline void CLOCK_ControlGate(clock_ip_name_t name, clock_gate_value_t value) in CLOCK_ControlGate() argument
2063 …if (((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK) != (CCM->LPCG[name].DIRECT & CCM_LPCG_DIRECT_ON_MA… in CLOCK_ControlGate()
2065 CCM->LPCG[name].DIRECT = ((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK); in CLOCK_ControlGate()
2069 …while ((CCM->LPCG[name].STATUS0 & CCM_LPCG_STATUS0_ON_MASK) != ((uint32_t)value & CCM_LPCG_STATUS0… in CLOCK_ControlGate()
2080 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
2082 CLOCK_ControlGate(name, kCLOCK_On); in CLOCK_EnableClock()
2090 static inline void CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
2092 CLOCK_ControlGate(name, kCLOCK_Off); in CLOCK_DisableClock()
2112 uint32_t CLOCK_GetFreq(clock_name_t name);
2853 static inline void CLOCK_OSCPLL_LockControlMode(clock_name_t name) in CLOCK_OSCPLL_LockControlMode() argument
[all …]
Dfsl_pmu.c561 void PMU_GPCEnableLdo(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdo() argument
563 assert(name != kPMU_SnvsDigLdo); in PMU_GPCEnableLdo()
567 (*(volatile uint32_t *)ldoEnableRegArray[(uint8_t)name]) = ~setpointMap; in PMU_GPCEnableLdo()
578 void PMU_GPCSetLdoOperateMode(pmu_ldo_name_t name, uint32_t setpointMap, pmu_ldo_operate_mode_t mod… in PMU_GPCSetLdoOperateMode() argument
580 assert(name > kPMU_PllLdo); in PMU_GPCSetLdoOperateMode()
581 assert(name < kPMU_SnvsDigLdo); in PMU_GPCSetLdoOperateMode()
587 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) &= ~setpointMap; in PMU_GPCSetLdoOperateMode()
591 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) |= setpointMap; in PMU_GPCSetLdoOperateMode()
602 void PMU_GPCEnableLdoTrackingMode(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdoTrackingMode() argument
604 assert(name > kPMU_PllLdo); in PMU_GPCEnableLdoTrackingMode()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1171/drivers/
Dfsl_clock.h2094 static inline void CLOCK_ControlGate(clock_ip_name_t name, clock_gate_value_t value) in CLOCK_ControlGate() argument
2096 …if (((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK) != (CCM->LPCG[name].DIRECT & CCM_LPCG_DIRECT_ON_MA… in CLOCK_ControlGate()
2098 CCM->LPCG[name].DIRECT = ((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK); in CLOCK_ControlGate()
2102 …while ((CCM->LPCG[name].STATUS0 & CCM_LPCG_STATUS0_ON_MASK) != ((uint32_t)value & CCM_LPCG_STATUS0… in CLOCK_ControlGate()
2113 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
2115 CLOCK_ControlGate(name, kCLOCK_On); in CLOCK_EnableClock()
2123 static inline void CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
2125 CLOCK_ControlGate(name, kCLOCK_Off); in CLOCK_DisableClock()
2145 uint32_t CLOCK_GetFreq(clock_name_t name);
2886 static inline void CLOCK_OSCPLL_LockControlMode(clock_name_t name) in CLOCK_OSCPLL_LockControlMode() argument
[all …]
Dfsl_pmu.c561 void PMU_GPCEnableLdo(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdo() argument
563 assert(name != kPMU_SnvsDigLdo); in PMU_GPCEnableLdo()
567 (*(volatile uint32_t *)ldoEnableRegArray[(uint8_t)name]) = ~setpointMap; in PMU_GPCEnableLdo()
578 void PMU_GPCSetLdoOperateMode(pmu_ldo_name_t name, uint32_t setpointMap, pmu_ldo_operate_mode_t mod… in PMU_GPCSetLdoOperateMode() argument
580 assert(name > kPMU_PllLdo); in PMU_GPCSetLdoOperateMode()
581 assert(name < kPMU_SnvsDigLdo); in PMU_GPCSetLdoOperateMode()
587 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) &= ~setpointMap; in PMU_GPCSetLdoOperateMode()
591 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) |= setpointMap; in PMU_GPCSetLdoOperateMode()
602 void PMU_GPCEnableLdoTrackingMode(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdoTrackingMode() argument
604 assert(name > kPMU_PllLdo); in PMU_GPCEnableLdoTrackingMode()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1165/drivers/
Dfsl_clock.h2061 static inline void CLOCK_ControlGate(clock_ip_name_t name, clock_gate_value_t value) in CLOCK_ControlGate() argument
2063 …if (((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK) != (CCM->LPCG[name].DIRECT & CCM_LPCG_DIRECT_ON_MA… in CLOCK_ControlGate()
2065 CCM->LPCG[name].DIRECT = ((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK); in CLOCK_ControlGate()
2069 …while ((CCM->LPCG[name].STATUS0 & CCM_LPCG_STATUS0_ON_MASK) != ((uint32_t)value & CCM_LPCG_STATUS0… in CLOCK_ControlGate()
2080 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
2082 CLOCK_ControlGate(name, kCLOCK_On); in CLOCK_EnableClock()
2090 static inline void CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
2092 CLOCK_ControlGate(name, kCLOCK_Off); in CLOCK_DisableClock()
2112 uint32_t CLOCK_GetFreq(clock_name_t name);
2853 static inline void CLOCK_OSCPLL_LockControlMode(clock_name_t name) in CLOCK_OSCPLL_LockControlMode() argument
[all …]
Dfsl_pmu.c561 void PMU_GPCEnableLdo(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdo() argument
563 assert(name != kPMU_SnvsDigLdo); in PMU_GPCEnableLdo()
567 (*(volatile uint32_t *)ldoEnableRegArray[(uint8_t)name]) = ~setpointMap; in PMU_GPCEnableLdo()
578 void PMU_GPCSetLdoOperateMode(pmu_ldo_name_t name, uint32_t setpointMap, pmu_ldo_operate_mode_t mod… in PMU_GPCSetLdoOperateMode() argument
580 assert(name > kPMU_PllLdo); in PMU_GPCSetLdoOperateMode()
581 assert(name < kPMU_SnvsDigLdo); in PMU_GPCSetLdoOperateMode()
587 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) &= ~setpointMap; in PMU_GPCSetLdoOperateMode()
591 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) |= setpointMap; in PMU_GPCSetLdoOperateMode()
602 void PMU_GPCEnableLdoTrackingMode(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdoTrackingMode() argument
604 assert(name > kPMU_PllLdo); in PMU_GPCEnableLdoTrackingMode()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1176/drivers/
Dfsl_clock.h2094 static inline void CLOCK_ControlGate(clock_ip_name_t name, clock_gate_value_t value) in CLOCK_ControlGate() argument
2096 …if (((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK) != (CCM->LPCG[name].DIRECT & CCM_LPCG_DIRECT_ON_MA… in CLOCK_ControlGate()
2098 CCM->LPCG[name].DIRECT = ((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK); in CLOCK_ControlGate()
2102 …while ((CCM->LPCG[name].STATUS0 & CCM_LPCG_STATUS0_ON_MASK) != ((uint32_t)value & CCM_LPCG_STATUS0… in CLOCK_ControlGate()
2113 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
2115 CLOCK_ControlGate(name, kCLOCK_On); in CLOCK_EnableClock()
2123 static inline void CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
2125 CLOCK_ControlGate(name, kCLOCK_Off); in CLOCK_DisableClock()
2145 uint32_t CLOCK_GetFreq(clock_name_t name);
2886 static inline void CLOCK_OSCPLL_LockControlMode(clock_name_t name) in CLOCK_OSCPLL_LockControlMode() argument
[all …]
Dfsl_pmu.c561 void PMU_GPCEnableLdo(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdo() argument
563 assert(name != kPMU_SnvsDigLdo); in PMU_GPCEnableLdo()
567 (*(volatile uint32_t *)ldoEnableRegArray[(uint8_t)name]) = ~setpointMap; in PMU_GPCEnableLdo()
578 void PMU_GPCSetLdoOperateMode(pmu_ldo_name_t name, uint32_t setpointMap, pmu_ldo_operate_mode_t mod… in PMU_GPCSetLdoOperateMode() argument
580 assert(name > kPMU_PllLdo); in PMU_GPCSetLdoOperateMode()
581 assert(name < kPMU_SnvsDigLdo); in PMU_GPCSetLdoOperateMode()
587 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) &= ~setpointMap; in PMU_GPCSetLdoOperateMode()
591 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) |= setpointMap; in PMU_GPCSetLdoOperateMode()
602 void PMU_GPCEnableLdoTrackingMode(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdoTrackingMode() argument
604 assert(name > kPMU_PllLdo); in PMU_GPCEnableLdoTrackingMode()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1175/drivers/
Dfsl_clock.h2094 static inline void CLOCK_ControlGate(clock_ip_name_t name, clock_gate_value_t value) in CLOCK_ControlGate() argument
2096 …if (((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK) != (CCM->LPCG[name].DIRECT & CCM_LPCG_DIRECT_ON_MA… in CLOCK_ControlGate()
2098 CCM->LPCG[name].DIRECT = ((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK); in CLOCK_ControlGate()
2102 …while ((CCM->LPCG[name].STATUS0 & CCM_LPCG_STATUS0_ON_MASK) != ((uint32_t)value & CCM_LPCG_STATUS0… in CLOCK_ControlGate()
2113 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
2115 CLOCK_ControlGate(name, kCLOCK_On); in CLOCK_EnableClock()
2123 static inline void CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
2125 CLOCK_ControlGate(name, kCLOCK_Off); in CLOCK_DisableClock()
2145 uint32_t CLOCK_GetFreq(clock_name_t name);
2886 static inline void CLOCK_OSCPLL_LockControlMode(clock_name_t name) in CLOCK_OSCPLL_LockControlMode() argument
[all …]
Dfsl_pmu.c561 void PMU_GPCEnableLdo(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdo() argument
563 assert(name != kPMU_SnvsDigLdo); in PMU_GPCEnableLdo()
567 (*(volatile uint32_t *)ldoEnableRegArray[(uint8_t)name]) = ~setpointMap; in PMU_GPCEnableLdo()
578 void PMU_GPCSetLdoOperateMode(pmu_ldo_name_t name, uint32_t setpointMap, pmu_ldo_operate_mode_t mod… in PMU_GPCSetLdoOperateMode() argument
580 assert(name > kPMU_PllLdo); in PMU_GPCSetLdoOperateMode()
581 assert(name < kPMU_SnvsDigLdo); in PMU_GPCSetLdoOperateMode()
587 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) &= ~setpointMap; in PMU_GPCSetLdoOperateMode()
591 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) |= setpointMap; in PMU_GPCSetLdoOperateMode()
602 void PMU_GPCEnableLdoTrackingMode(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdoTrackingMode() argument
604 assert(name > kPMU_PllLdo); in PMU_GPCEnableLdoTrackingMode()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1173/drivers/
Dfsl_clock.h2094 static inline void CLOCK_ControlGate(clock_ip_name_t name, clock_gate_value_t value) in CLOCK_ControlGate() argument
2096 …if (((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK) != (CCM->LPCG[name].DIRECT & CCM_LPCG_DIRECT_ON_MA… in CLOCK_ControlGate()
2098 CCM->LPCG[name].DIRECT = ((uint32_t)value & CCM_LPCG_DIRECT_ON_MASK); in CLOCK_ControlGate()
2102 …while ((CCM->LPCG[name].STATUS0 & CCM_LPCG_STATUS0_ON_MASK) != ((uint32_t)value & CCM_LPCG_STATUS0… in CLOCK_ControlGate()
2113 static inline void CLOCK_EnableClock(clock_ip_name_t name) in CLOCK_EnableClock() argument
2115 CLOCK_ControlGate(name, kCLOCK_On); in CLOCK_EnableClock()
2123 static inline void CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
2125 CLOCK_ControlGate(name, kCLOCK_Off); in CLOCK_DisableClock()
2145 uint32_t CLOCK_GetFreq(clock_name_t name);
2886 static inline void CLOCK_OSCPLL_LockControlMode(clock_name_t name) in CLOCK_OSCPLL_LockControlMode() argument
[all …]
Dfsl_pmu.c561 void PMU_GPCEnableLdo(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdo() argument
563 assert(name != kPMU_SnvsDigLdo); in PMU_GPCEnableLdo()
567 (*(volatile uint32_t *)ldoEnableRegArray[(uint8_t)name]) = ~setpointMap; in PMU_GPCEnableLdo()
578 void PMU_GPCSetLdoOperateMode(pmu_ldo_name_t name, uint32_t setpointMap, pmu_ldo_operate_mode_t mod… in PMU_GPCSetLdoOperateMode() argument
580 assert(name > kPMU_PllLdo); in PMU_GPCSetLdoOperateMode()
581 assert(name < kPMU_SnvsDigLdo); in PMU_GPCSetLdoOperateMode()
587 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) &= ~setpointMap; in PMU_GPCSetLdoOperateMode()
591 (*(volatile uint32_t *)ldoLpModeRegArray[(uint8_t)name]) |= setpointMap; in PMU_GPCSetLdoOperateMode()
602 void PMU_GPCEnableLdoTrackingMode(pmu_ldo_name_t name, uint32_t setpointMap) in PMU_GPCEnableLdoTrackingMode() argument
604 assert(name > kPMU_PllLdo); in PMU_GPCEnableLdoTrackingMode()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8DX5/drivers/
Dfsl_clock.c59 bool CLOCK_EnableClockExt(clock_ip_name_t name, uint32_t gate) in CLOCK_EnableClockExt() argument
63 err = sc_pm_clock_enable(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, true, (bool)gate); in CLOCK_EnableClockExt()
66 CLOCK_ConfigLPCG(name, (bool)1U, (bool)gate); in CLOCK_EnableClockExt()
84 bool CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
89 CLOCK_ConfigLPCG(name, (bool)0U, (bool)0U); in CLOCK_DisableClock()
91 err = sc_pm_clock_enable(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, false, false); in CLOCK_DisableClock()
112 uint32_t CLOCK_SetIpFreq(clock_ip_name_t name, uint32_t freq) in CLOCK_SetIpFreq() argument
117 err = sc_pm_set_clock_rate(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, &target); in CLOCK_SetIpFreq()
136 uint32_t CLOCK_GetIpFreq(clock_ip_name_t name) in CLOCK_GetIpFreq() argument
141 err = sc_pm_get_clock_rate(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, &freq); in CLOCK_GetIpFreq()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QX6/drivers/
Dfsl_clock.c59 bool CLOCK_EnableClockExt(clock_ip_name_t name, uint32_t gate) in CLOCK_EnableClockExt() argument
63 err = sc_pm_clock_enable(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, true, (bool)gate); in CLOCK_EnableClockExt()
66 CLOCK_ConfigLPCG(name, (bool)1U, (bool)gate); in CLOCK_EnableClockExt()
84 bool CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
89 CLOCK_ConfigLPCG(name, (bool)0U, (bool)0U); in CLOCK_DisableClock()
91 err = sc_pm_clock_enable(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, false, false); in CLOCK_DisableClock()
112 uint32_t CLOCK_SetIpFreq(clock_ip_name_t name, uint32_t freq) in CLOCK_SetIpFreq() argument
117 err = sc_pm_set_clock_rate(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, &target); in CLOCK_SetIpFreq()
136 uint32_t CLOCK_GetIpFreq(clock_ip_name_t name) in CLOCK_GetIpFreq() argument
141 err = sc_pm_get_clock_rate(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, &freq); in CLOCK_GetIpFreq()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8DX4/drivers/
Dfsl_clock.c59 bool CLOCK_EnableClockExt(clock_ip_name_t name, uint32_t gate) in CLOCK_EnableClockExt() argument
63 err = sc_pm_clock_enable(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, true, (bool)gate); in CLOCK_EnableClockExt()
66 CLOCK_ConfigLPCG(name, (bool)1U, (bool)gate); in CLOCK_EnableClockExt()
84 bool CLOCK_DisableClock(clock_ip_name_t name) in CLOCK_DisableClock() argument
89 CLOCK_ConfigLPCG(name, (bool)0U, (bool)0U); in CLOCK_DisableClock()
91 err = sc_pm_clock_enable(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, false, false); in CLOCK_DisableClock()
112 uint32_t CLOCK_SetIpFreq(clock_ip_name_t name, uint32_t freq) in CLOCK_SetIpFreq() argument
117 err = sc_pm_set_clock_rate(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, &target); in CLOCK_SetIpFreq()
136 uint32_t CLOCK_GetIpFreq(clock_ip_name_t name) in CLOCK_GetIpFreq() argument
141 err = sc_pm_get_clock_rate(ipcHandle, LPCG_TUPLE_RSRC(name), SC_PM_CLK_PER, &freq); in CLOCK_GetIpFreq()
[all …]

12345678910>>...20