Home
last modified time | relevance | path

Searched refs:mclk (Results 1 – 10 of 10) sorted by relevance

/hal_nxp-2.7.6/mcux/devices/MIMXRT1015/
Dfsl_iomuxc.h490 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
494 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
496 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
497 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
501 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
502 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1011/
Dfsl_iomuxc.h517 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
521 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
523 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
524 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
528 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
529 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1024/
Dfsl_iomuxc.h880 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
884 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
886 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
887 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
891 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
892 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1021/
Dfsl_iomuxc.h934 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
938 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
940 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
941 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
945 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
946 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1176/
Dfsl_iomuxc.h1685 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
1689 if (mclk > kIOMUXC_GPR_SAI2MClk3Sel) in IOMUXC_SetSaiMClkClockSource()
1694 else if (mclk > kIOMUXC_GPR_SAI1MClk3Sel) in IOMUXC_SetSaiMClkClockSource()
1699 else if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
1701 gpr = base->GPR0 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
1702 base->GPR0 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
1706 gpr = base->GPR0 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
1707 base->GPR0 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1051/
Dfsl_iomuxc.h1168 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
1172 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
1174 gpr = base->GPR1 & ~(IOMUXC_GPR_SAIMCLK_HIGHBITMASK << mclk); in IOMUXC_SetSaiMClkClockSource()
1175 base->GPR1 = ((clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
1179 gpr = base->GPR1 & ~(IOMUXC_GPR_SAIMCLK_LOWBITMASK << mclk); in IOMUXC_SetSaiMClkClockSource()
1180 base->GPR1 = ((clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1052/
Dfsl_iomuxc.h1168 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
1172 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
1174 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
1175 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
1179 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
1180 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1062/
Dfsl_iomuxc.h1345 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
1349 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
1351 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
1352 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
1356 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
1357 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1064/
Dfsl_iomuxc.h1329 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
1333 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
1335 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
1336 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
1340 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource()
1341 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
/hal_nxp-2.7.6/mcux/devices/MIMXRT1061/
Dfsl_iomuxc.h1345 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument
1349 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource()
1351 gpr = base->GPR1 & ~(IOMUXC_GPR_SAIMCLK_HIGHBITMASK << mclk); in IOMUXC_SetSaiMClkClockSource()
1352 base->GPR1 = ((clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
1356 gpr = base->GPR1 & ~(IOMUXC_GPR_SAIMCLK_LOWBITMASK << mclk); in IOMUXC_SetSaiMClkClockSource()
1357 base->GPR1 = ((clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()