Home
last modified time | relevance | path

Searched refs:CCM_TUPLE_MASK (Results 1 – 25 of 30) sorted by relevance

12

/hal_nxp-3.6.0/imx/drivers/
Dccm_imx6sx.h51 #define CCM_TUPLE_MASK(tuple) ((uint32_t)((((tuple) >> 16) & 0xFFFF) << ((((tuple) >> 8) & 0x… macro
678 …CCM_TUPLE_REG(base, ccmRootClk) = (CCM_TUPLE_REG(base, ccmRootClk) & (~CCM_TUPLE_MASK(ccmRootClk))… in CCM_SetRootMux()
679 … (((uint32_t)((mux) << CCM_TUPLE_SHIFT(ccmRootClk))) & CCM_TUPLE_MASK(ccmRootClk)); in CCM_SetRootMux()
693 …return (CCM_TUPLE_REG(base, ccmRootClk) & CCM_TUPLE_MASK(ccmRootClk)) >> CCM_TUPLE_SHIFT(ccmRootCl… in CCM_GetRootMux()
708 …CCM_TUPLE_REG(base, ccmRootDiv) = (CCM_TUPLE_REG(base, ccmRootDiv) & (~CCM_TUPLE_MASK(ccmRootDiv))… in CCM_SetRootDivider()
709 … (((uint32_t)((div) << CCM_TUPLE_SHIFT(ccmRootDiv))) & CCM_TUPLE_MASK(ccmRootDiv)); in CCM_SetRootDivider()
725 …return (CCM_TUPLE_REG(base, ccmRootDiv) & CCM_TUPLE_MASK(ccmRootDiv)) >> CCM_TUPLE_SHIFT(ccmRootDi… in CCM_GetRootDivider()
758 CCM_TUPLE_REG(base, ccmGate) = (CCM_TUPLE_REG(base, ccmGate) & (~CCM_TUPLE_MASK(ccmGate))) | in CCM_ControlGate()
759 … (((uint32_t)((control) << CCM_TUPLE_SHIFT(ccmGate))) & CCM_TUPLE_MASK(ccmGate)); in CCM_ControlGate()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1011/drivers/
Dfsl_clock.h82 #define CCM_TUPLE_MASK(tuple) \ macro
996 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
997 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1019 return (CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux)) >> CCM_TUPLE_SHIFT(mux); in CLOCK_GetMux()
1048 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1049 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1070 return ((CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divider)); in CLOCK_GetDiv()
Dfsl_clock.c466 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
489 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
494 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1015/drivers/
Dfsl_clock.h84 #define CCM_TUPLE_MASK(tuple) \ macro
1063 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1064 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1086 return (CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux)) >> CCM_TUPLE_SHIFT(mux); in CLOCK_GetMux()
1115 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1116 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1137 return ((CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divider)); in CLOCK_GetDiv()
Dfsl_clock.c438 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
450 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
455 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1024/drivers/
Dfsl_clock.h84 #define CCM_TUPLE_MASK(tuple) \ macro
1221 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1222 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1244 return (CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux)) >> CCM_TUPLE_SHIFT(mux); in CLOCK_GetMux()
1273 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1274 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1295 return ((CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divider)); in CLOCK_GetDiv()
Dfsl_clock.c444 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
456 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
461 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1021/drivers/
Dfsl_clock.h84 #define CCM_TUPLE_MASK(tuple) \ macro
1215 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1216 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1238 return (CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux)) >> CCM_TUPLE_SHIFT(mux); in CLOCK_GetMux()
1267 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1268 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1289 return ((CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divider)); in CLOCK_GetDiv()
Dfsl_clock.c444 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
456 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
461 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1051/drivers/
Dfsl_clock.h88 #define CCM_TUPLE_MASK(tuple) \ macro
1381 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1382 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1404 return (((uint32_t)(CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux))) >> CCM_TUPLE_SHIFT(mux)); in CLOCK_GetMux()
1433 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1434 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1455 …return ((uint32_t)(CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divid… in CLOCK_GetDiv()
Dfsl_clock.c449 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
461 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
466 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1041/drivers/
Dfsl_clock.h88 #define CCM_TUPLE_MASK(tuple) \ macro
1365 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1366 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1388 return (((uint32_t)(CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux))) >> CCM_TUPLE_SHIFT(mux)); in CLOCK_GetMux()
1417 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1418 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1439 …return ((uint32_t)(CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divid… in CLOCK_GetDiv()
Dfsl_clock.c451 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
463 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
468 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1042/drivers/
Dfsl_clock.h88 #define CCM_TUPLE_MASK(tuple) \ macro
1365 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1366 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1388 return (((uint32_t)(CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux))) >> CCM_TUPLE_SHIFT(mux)); in CLOCK_GetMux()
1417 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1418 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1439 …return ((uint32_t)(CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divid… in CLOCK_GetDiv()
Dfsl_clock.c451 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
463 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
468 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1052/drivers/
Dfsl_clock.h88 #define CCM_TUPLE_MASK(tuple) \ macro
1382 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1383 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1405 return (((uint32_t)(CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux))) >> CCM_TUPLE_SHIFT(mux)); in CLOCK_GetMux()
1434 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1435 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1456 …return ((uint32_t)(CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divid… in CLOCK_GetDiv()
Dfsl_clock.c453 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
465 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
470 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1061/drivers/
Dfsl_clock.h88 #define CCM_TUPLE_MASK(tuple) \ macro
1412 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1413 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1435 return (((uint32_t)(CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux))) >> CCM_TUPLE_SHIFT(mux)); in CLOCK_GetMux()
1464 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1465 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1486 …return ((uint32_t)(CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divid… in CLOCK_GetDiv()
Dfsl_clock.c457 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
469 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
474 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1062/drivers/
Dfsl_clock.h88 #define CCM_TUPLE_MASK(tuple) \ macro
1413 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1414 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1436 return (((uint32_t)(CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux))) >> CCM_TUPLE_SHIFT(mux)); in CLOCK_GetMux()
1465 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1466 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1487 …return ((uint32_t)(CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divid… in CLOCK_GetDiv()
Dfsl_clock.c457 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
469 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
474 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1064/drivers/
Dfsl_clock.h88 #define CCM_TUPLE_MASK(tuple) \ macro
1413 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in CLOCK_SetMux()
1414 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in CLOCK_SetMux()
1436 return (((uint32_t)(CCM_TUPLE_REG(CCM, mux) & CCM_TUPLE_MASK(mux))) >> CCM_TUPLE_SHIFT(mux)); in CLOCK_GetMux()
1466 CCM_TUPLE_REG(CCM, divider) = (CCM_TUPLE_REG(CCM, divider) & (~CCM_TUPLE_MASK(divider))) | in CLOCK_SetDiv()
1467 … (((uint32_t)((value) << CCM_TUPLE_SHIFT(divider))) & CCM_TUPLE_MASK(divider)); in CLOCK_SetDiv()
1488 …return ((uint32_t)(CCM_TUPLE_REG(CCM, divider) & CCM_TUPLE_MASK(divider)) >> CCM_TUPLE_SHIFT(divid… in CLOCK_GetDiv()
Dfsl_clock.c457 …uint32_t clockRootMuxValue = (CCM_TUPLE_REG(CCM, clockRootMuxTuple) & CCM_TUPLE_MASK(clockRootMuxT… in CLOCK_GetClockRootFreq()
469 … freq /= ((CCM_TUPLE_REG(CCM, clockRootPreDivTuple) & CCM_TUPLE_MASK(clockRootPreDivTuple)) >> in CLOCK_GetClockRootFreq()
474 freq /= ((CCM_TUPLE_REG(CCM, clockRootPostDivTuple) & CCM_TUPLE_MASK(clockRootPostDivTuple)) >> in CLOCK_GetClockRootFreq()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1165/drivers/
Dfsl_clock.h87 #define CCM_TUPLE_MASK(tuple) ((uint32_t)((((tuple) >> 13U) & 0x1FFFU) << ((((tuple) >> 8U) &… macro
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT1166/drivers/
Dfsl_clock.h87 #define CCM_TUPLE_MASK(tuple) ((uint32_t)((((tuple) >> 13U) & 0x1FFFU) << ((((tuple) >> 8U) &… macro

12