Home
last modified time | relevance | path

Searched refs:denominator (Results 1 – 24 of 24) sorted by relevance

/hal_nxp-2.7.6/imx/drivers/
Duart_imx.c116 uint32_t denominator; in UART_SetBaudRate() local
123 denominator = baudRate << 4; in UART_SetBaudRate()
126 while (denominator != 0) in UART_SetBaudRate()
128 divisor = denominator; in UART_SetBaudRate()
129 denominator = numerator % denominator; in UART_SetBaudRate()
134 denominator = (baudRate << 4) / divisor; in UART_SetBaudRate()
139 (denominator > UART_UBIR_INC_MASK)) in UART_SetBaudRate()
142 uint32_t n = (denominator - 1) / UART_UBIR_INC_MASK + 1; in UART_SetBaudRate()
145 denominator /= max; in UART_SetBaudRate()
148 if (0 == denominator) in UART_SetBaudRate()
[all …]
/hal_nxp-2.7.6/mcux/devices/MIMXRT1176/
Dfsl_clock.c615 CLOCK_CalcPllSpreadSpectrum(config.denominator, ssRange, ssMod, &ss); in CLOCK_InitAudioPllWithFreq()
653 …re(kAI_Itf_Audio, config->loopDivider, config->numerator, config->postDivider, config->denominator, in CLOCK_InitAudioPll()
691 ANADIG_PLL->PLL_AUDIO_DENOMINATOR = config->denominator; in CLOCK_GPC_SetAudioPllOutputFreq()
803 config->denominator = 0x0FFFFFFF; in CLOCK_CalcAvPllFreq()
815 config->numerator = (config->denominator / 24UL) * (freqInMhz % 24UL); in CLOCK_CalcAvPllFreq()
821 config->numerator = (config->denominator / 12UL) * (freqInMhz % 12UL); in CLOCK_CalcAvPllFreq()
827 config->numerator = (config->denominator / 6UL) * (freqInMhz % 6UL); in CLOCK_CalcAvPllFreq()
833 config->numerator = (config->denominator / 3UL) * (freqInMhz % 3UL); in CLOCK_CalcAvPllFreq()
839 config->numerator = (config->denominator * 2UL / 3UL) * (freqInMhz * 2UL % 3UL); in CLOCK_CalcAvPllFreq()
845 config->numerator = (config->denominator * 4UL / 3UL) * (freqInMhz * 4UL % 3UL); in CLOCK_CalcAvPllFreq()
[all …]
Dfsl_clock.h1908 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
1921 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_uart.c347 uint32_t denominator = 0U; in UART_SetBaudRate() local
357 denominator = baudRate_Bps << 4U; in UART_SetBaudRate()
360 while (denominator != 0U) in UART_SetBaudRate()
362 divisor = denominator; in UART_SetBaudRate()
363 denominator = numerator % denominator; in UART_SetBaudRate()
368 denominator = (baudRate_Bps << 4U) / divisor; in UART_SetBaudRate()
372 if ((numerator > (UART_UBIR_INC_MASK * 7U)) || (denominator > UART_UBIR_INC_MASK)) in UART_SetBaudRate()
375 uint32_t n = (denominator - 1U) / UART_UBIR_INC_MASK + 1U; in UART_SetBaudRate()
378 denominator /= max; in UART_SetBaudRate()
383 if (0U == denominator) in UART_SetBaudRate()
[all …]
/hal_nxp-2.7.6/mcux/devices/MIMXRT1051/
Dfsl_clock.c536 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
642 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
729 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
Dfsl_clock.h885 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
899 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
909 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT1061/
Dfsl_clock.c544 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
650 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
737 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
Dfsl_clock.h903 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
916 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
926 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT1052/
Dfsl_clock.c622 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
728 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
815 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
Dfsl_clock.h951 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
965 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
975 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT1062/
Dfsl_clock.c626 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
732 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
819 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
Dfsl_clock.h973 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
986 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
996 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT1064/
Dfsl_clock.c626 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
732 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
819 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
Dfsl_clock.h973 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
986 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
996 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT1011/
Dfsl_clock.c586 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
659 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
Dfsl_clock.h664 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
678 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT1015/
Dfsl_clock.c547 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
620 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
Dfsl_clock.h725 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
739 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT1021/
Dfsl_clock.c553 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
626 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
Dfsl_clock.h848 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
862 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT1024/
Dfsl_clock.c553 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll()
626 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
Dfsl_clock.h852 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
866 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
/hal_nxp-2.7.6/mcux/devices/MIMXRT685S/
Dfsl_clock.c1254 CLKCTL0->SYSPLL0DENOM = config->denominator; in CLOCK_InitSysPll()
1342 CLKCTL1->AUDIOPLL0DENOM = config->denominator; in CLOCK_InitAudioPll()
Dfsl_clock.h806 uint32_t denominator; /*!< 30 bit numerator of fractional loop divider. */ member
836 uint32_t denominator; /*!< 30 bit numerator of fractional loop divider. */ member