Home
last modified time | relevance | path

Searched refs:pClkSel (Results 1 – 25 of 56) sorted by relevance

123

/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT633S/drivers/
Dfsl_clock.c57 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
66 pClkSel = CLKCTL_TUPLE_REG(CLKCTL1, connection); in CLOCK_AttachClk()
70 pClkSel = CLKCTL_TUPLE_REG(CLKCTL0, connection); in CLOCK_AttachClk()
75 *pClkSel = CLKCTL_TUPLE_SEL(connection); in CLOCK_AttachClk()
873 volatile uint32_t *pClkSel; in CLOCK_GetSdioClkFreq() local
880 pClkSel = &CLKCTL0->SDIO0FCLKSEL; in CLOCK_GetSdioClkFreq()
885 pClkSel = &CLKCTL0->SDIO1FCLKSEL; in CLOCK_GetSdioClkFreq()
889 switch ((*pClkSel) & CLKCTL0_SDIO0FCLKSEL_SEL_MASK) in CLOCK_GetSdioClkFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT685S/drivers/
Dfsl_clock.c57 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
66 pClkSel = CLKCTL_TUPLE_REG(CLKCTL1, connection); in CLOCK_AttachClk()
70 pClkSel = CLKCTL_TUPLE_REG(CLKCTL0, connection); in CLOCK_AttachClk()
75 *pClkSel = CLKCTL_TUPLE_SEL(connection); in CLOCK_AttachClk()
873 volatile uint32_t *pClkSel; in CLOCK_GetSdioClkFreq() local
880 pClkSel = &CLKCTL0->SDIO0FCLKSEL; in CLOCK_GetSdioClkFreq()
885 pClkSel = &CLKCTL0->SDIO1FCLKSEL; in CLOCK_GetSdioClkFreq()
889 switch ((*pClkSel) & CLKCTL0_SDIO0FCLKSEL_SEL_MASK) in CLOCK_GetSdioClkFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT595S/drivers/
Dfsl_clock.c55 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
62 pClkSel = CLKCTL_TUPLE_REG(CLKCTL1, tuple); in CLOCK_AttachClk()
66 pClkSel = CLKCTL_TUPLE_REG(CLKCTL0, tuple); in CLOCK_AttachClk()
70 *pClkSel = CLKCTL_TUPLE_SEL(tuple); in CLOCK_AttachClk()
887 volatile uint32_t *pClkSel; in CLOCK_GetSdioClkFreq() local
894 pClkSel = &CLKCTL0->SDIO0FCLKSEL; in CLOCK_GetSdioClkFreq()
899 pClkSel = &CLKCTL0->SDIO1FCLKSEL; in CLOCK_GetSdioClkFreq()
903 switch ((*pClkSel) & CLKCTL0_SDIO0FCLKSEL_SEL_MASK) in CLOCK_GetSdioClkFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT533S/drivers/
Dfsl_clock.c55 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
62 pClkSel = CLKCTL_TUPLE_REG(CLKCTL1, tuple); in CLOCK_AttachClk()
66 pClkSel = CLKCTL_TUPLE_REG(CLKCTL0, tuple); in CLOCK_AttachClk()
70 *pClkSel = CLKCTL_TUPLE_SEL(tuple); in CLOCK_AttachClk()
887 volatile uint32_t *pClkSel; in CLOCK_GetSdioClkFreq() local
894 pClkSel = &CLKCTL0->SDIO0FCLKSEL; in CLOCK_GetSdioClkFreq()
899 pClkSel = &CLKCTL0->SDIO1FCLKSEL; in CLOCK_GetSdioClkFreq()
903 switch ((*pClkSel) & CLKCTL0_SDIO0FCLKSEL_SEL_MASK) in CLOCK_GetSdioClkFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT555S/drivers/
Dfsl_clock.c55 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
62 pClkSel = CLKCTL_TUPLE_REG(CLKCTL1, tuple); in CLOCK_AttachClk()
66 pClkSel = CLKCTL_TUPLE_REG(CLKCTL0, tuple); in CLOCK_AttachClk()
70 *pClkSel = CLKCTL_TUPLE_SEL(tuple); in CLOCK_AttachClk()
887 volatile uint32_t *pClkSel; in CLOCK_GetSdioClkFreq() local
894 pClkSel = &CLKCTL0->SDIO0FCLKSEL; in CLOCK_GetSdioClkFreq()
899 pClkSel = &CLKCTL0->SDIO1FCLKSEL; in CLOCK_GetSdioClkFreq()
903 switch ((*pClkSel) & CLKCTL0_SDIO0FCLKSEL_SEL_MASK) in CLOCK_GetSdioClkFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT735S/drivers/
Dfsl_clock.c285 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
290 pClkSel = CLKCTL_TUPLE_REG(CLKCTL4, connection); in CLOCK_AttachClk()
293 pClkSel = CLKCTL_TUPLE_REG(CLKCTL3, connection); in CLOCK_AttachClk()
296 pClkSel = CLKCTL_TUPLE_REG(CLKCTL2, connection); in CLOCK_AttachClk()
300 pClkSel = CLKCTL_TUPLE_REG(CLKCTL1, connection); in CLOCK_AttachClk()
304 pClkSel = CLKCTL_TUPLE_REG(CLKCTL0, connection); in CLOCK_AttachClk()
308 pClkSel = NULL; in CLOCK_AttachClk()
312 if (pClkSel != NULL) in CLOCK_AttachClk()
316 *pClkSel = (*pClkSel & 0xFFFFFF8UL) | CLKCTL_TUPLE_SEL(connection); in CLOCK_AttachClk()
320 *pClkSel = (*pClkSel & 0xFFFFFFCUL) | CLKCTL_TUPLE_SEL(connection) | 0x4U; in CLOCK_AttachClk()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT798S/drivers/
Dfsl_clock.c285 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
290 pClkSel = CLKCTL_TUPLE_REG(CLKCTL4, connection); in CLOCK_AttachClk()
293 pClkSel = CLKCTL_TUPLE_REG(CLKCTL3, connection); in CLOCK_AttachClk()
296 pClkSel = CLKCTL_TUPLE_REG(CLKCTL2, connection); in CLOCK_AttachClk()
300 pClkSel = CLKCTL_TUPLE_REG(CLKCTL1, connection); in CLOCK_AttachClk()
304 pClkSel = CLKCTL_TUPLE_REG(CLKCTL0, connection); in CLOCK_AttachClk()
308 pClkSel = NULL; in CLOCK_AttachClk()
312 if (pClkSel != NULL) in CLOCK_AttachClk()
316 *pClkSel = (*pClkSel & 0xFFFFFF8UL) | CLKCTL_TUPLE_SEL(connection); in CLOCK_AttachClk()
320 *pClkSel = (*pClkSel & 0xFFFFFFCUL) | CLKCTL_TUPLE_SEL(connection) | 0x4U; in CLOCK_AttachClk()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT758S/drivers/
Dfsl_clock.c285 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
290 pClkSel = CLKCTL_TUPLE_REG(CLKCTL4, connection); in CLOCK_AttachClk()
293 pClkSel = CLKCTL_TUPLE_REG(CLKCTL3, connection); in CLOCK_AttachClk()
296 pClkSel = CLKCTL_TUPLE_REG(CLKCTL2, connection); in CLOCK_AttachClk()
300 pClkSel = CLKCTL_TUPLE_REG(CLKCTL1, connection); in CLOCK_AttachClk()
304 pClkSel = CLKCTL_TUPLE_REG(CLKCTL0, connection); in CLOCK_AttachClk()
308 pClkSel = NULL; in CLOCK_AttachClk()
312 if (pClkSel != NULL) in CLOCK_AttachClk()
316 *pClkSel = (*pClkSel & 0xFFFFFF8UL) | CLKCTL_TUPLE_SEL(connection); in CLOCK_AttachClk()
320 *pClkSel = (*pClkSel & 0xFFFFFFCUL) | CLKCTL_TUPLE_SEL(connection) | 0x4U; in CLOCK_AttachClk()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54114/drivers/
Dfsl_clock.c131 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
133 pClkSel = &(SYSCON->MAINCLKSELA); in CLOCK_AttachClk()
154 ((volatile uint32_t *)pClkSel)[mux] = sel; in CLOCK_AttachClk()
178 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
180 pClkSel = &(SYSCON->MAINCLKSELA); in CLOCK_GetClockAttachId()
198 actualSel = (uint8_t)(((volatile uint32_t *)pClkSel)[mux]); in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54113/drivers/
Dfsl_clock.c131 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
133 pClkSel = &(SYSCON->MAINCLKSELA); in CLOCK_AttachClk()
154 ((volatile uint32_t *)pClkSel)[mux] = sel; in CLOCK_AttachClk()
178 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
180 pClkSel = &(SYSCON->MAINCLKSELA); in CLOCK_GetClockAttachId()
198 actualSel = (uint8_t)(((volatile uint32_t *)pClkSel)[mux]); in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC51U68/drivers/
Dfsl_clock.c130 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
132 pClkSel = &(SYSCON->MAINCLKSELA); in CLOCK_AttachClk()
153 ((volatile uint32_t *)pClkSel)[mux] = sel; in CLOCK_AttachClk()
177 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
179 pClkSel = &(SYSCON->MAINCLKSELA); in CLOCK_GetClockAttachId()
197 actualSel = (uint8_t)((volatile uint32_t *)pClkSel)[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5502/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5504/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S04/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S06/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5502CPXXXX/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5506/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5506CPXXXX/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5504CPXXXX/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5526/drivers/
Dfsl_clock.c111 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
113 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
134 pClkSel[mux] = sel; in CLOCK_AttachClk()
158 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
160 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
178 actualSel = (uint8_t)(pClkSel[mux]); in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5512/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5514/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S26/drivers/
Dfsl_clock.c111 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
113 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
134 pClkSel[mux] = sel; in CLOCK_AttachClk()
158 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
160 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
178 actualSel = (uint8_t)(pClkSel[mux]); in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S16/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S14/drivers/
Dfsl_clock.c117 volatile uint32_t *pClkSel; in CLOCK_AttachClk() local
119 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_AttachClk()
144 pClkSel[mux] = sel; in CLOCK_AttachClk()
168 volatile uint32_t *pClkSel; in CLOCK_GetClockAttachId() local
170 pClkSel = &(SYSCON->SYSTICKCLKSELX[0]); in CLOCK_GetClockAttachId()
192 actualSel = pClkSel[mux]; in CLOCK_GetClockAttachId()

123