Home
last modified time | relevance | path

Searched refs:mux (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/nxp/lpcxpresso55s69/Native_Driver/drivers/
Dfsl_clock.c106 uint8_t mux; in CLOCK_AttachClk() local
126 mux = GET_ID_ITEM_MUX(item); in CLOCK_AttachClk()
128 if (mux == CM_RTCOSC32KCLKSEL) in CLOCK_AttachClk()
134 pClkSel[mux] = sel; in CLOCK_AttachClk()
152 uint8_t mux; in CLOCK_GetClockAttachId() local
169 mux = GET_ID_ITEM_MUX(tmp32); in CLOCK_GetClockAttachId()
172 if (mux == CM_RTCOSC32KCLKSEL) in CLOCK_GetClockAttachId()
178 actualSel = (uint8_t)(pClkSel[mux]); in CLOCK_GetClockAttachId()
182 actualAttachId |= CLK_ATTACH_ID(mux, actualSel, i); in CLOCK_GetClockAttachId()
Dfsl_clock.h537 #define CLK_ATTACH_ID(mux, sel, pos) \ argument
538 ((((uint32_t)(mux) << 0U) | (((uint32_t)(sel) + 1U) & 0xFU) << 8U) << ((uint32_t)(pos)*12U))
539 #define MUX_A(mux, sel) CLK_ATTACH_ID((mux), (sel), 0U) argument
540 #define MUX_B(mux, sel, selector) (CLK_ATTACH_ID((mux), (sel), 1U) | ((selector) << 24U)) argument