/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ActivationFunctions/ |
D | arm_nn_activations_q15.c | 75 q15_t frac = (uint32_t)in & bit_mask; in arm_nn_activations_direct_q15() local 81 out = ((q31_t)(full_frac - frac) * value + (q31_t)value2 * frac) >> shift_size; in arm_nn_activations_direct_q15()
|
/hal_nxp-3.5.0/imx/drivers/ |
D | ccm_analog_imx6sx.c | 167 uint32_t main, frac; in CCM_ANALOG_GetPfdFreq() local 185 frac = CCM_ANALOG_GetPfdFrac(base, pfdFrac); in CCM_ANALOG_GetPfdFreq() 187 return main / frac * 18; in CCM_ANALOG_GetPfdFreq()
|
D | ccm_analog_imx7d.c | 257 uint32_t main, frac; in CCM_ANALOG_GetPfdFreq() local 263 frac = CCM_ANALOG_GetPfdFrac(base, pfdFrac); in CCM_ANALOG_GetPfdFreq() 265 return main / frac * 18; in CCM_ANALOG_GetPfdFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1175/drivers/ |
D | fsl_clock.c | 308 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac) in CLOCK_InitPfd() argument 314 assert(frac <= (uint8_t)PFD_FRAC_MAX); in CLOCK_InitPfd() 315 assert(frac >= (uint8_t)PFD_FRAC_MIN); in CLOCK_InitPfd() 337 if ((regFracVal == (uint32_t)frac) && (!pfdGated)) in CLOCK_InitPfd() 347 *pfdCtrl |= (ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC(frac) << (8UL * (uint32_t)pfd)); in CLOCK_InitPfd() 394 uint32_t pllFreq = 0UL, frac = 0UL; in CLOCK_GetPfdFreq() local 400 frac = (ANADIG_PLL->SYS_PLL2_PFD & in CLOCK_GetPfdFreq() 405 frac = (ANADIG_PLL->SYS_PLL3_PFD & in CLOCK_GetPfdFreq() 415 frac = frac >> (8UL * (uint32_t)pfd); in CLOCK_GetPfdFreq() 416 assert(frac >= (uint32_t)PFD_FRAC_MIN); in CLOCK_GetPfdFreq() [all …]
|
D | fsl_clock.h | 2880 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1176/drivers/ |
D | fsl_clock.c | 308 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac) in CLOCK_InitPfd() argument 314 assert(frac <= (uint8_t)PFD_FRAC_MAX); in CLOCK_InitPfd() 315 assert(frac >= (uint8_t)PFD_FRAC_MIN); in CLOCK_InitPfd() 337 if ((regFracVal == (uint32_t)frac) && (!pfdGated)) in CLOCK_InitPfd() 347 *pfdCtrl |= (ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC(frac) << (8UL * (uint32_t)pfd)); in CLOCK_InitPfd() 394 uint32_t pllFreq = 0UL, frac = 0UL; in CLOCK_GetPfdFreq() local 400 frac = (ANADIG_PLL->SYS_PLL2_PFD & in CLOCK_GetPfdFreq() 405 frac = (ANADIG_PLL->SYS_PLL3_PFD & in CLOCK_GetPfdFreq() 415 frac = frac >> (8UL * (uint32_t)pfd); in CLOCK_GetPfdFreq() 416 assert(frac >= (uint32_t)PFD_FRAC_MIN); in CLOCK_GetPfdFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1173/drivers/ |
D | fsl_clock.c | 308 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac) in CLOCK_InitPfd() argument 314 assert(frac <= (uint8_t)PFD_FRAC_MAX); in CLOCK_InitPfd() 315 assert(frac >= (uint8_t)PFD_FRAC_MIN); in CLOCK_InitPfd() 337 if ((regFracVal == (uint32_t)frac) && (!pfdGated)) in CLOCK_InitPfd() 347 *pfdCtrl |= (ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC(frac) << (8UL * (uint32_t)pfd)); in CLOCK_InitPfd() 394 uint32_t pllFreq = 0UL, frac = 0UL; in CLOCK_GetPfdFreq() local 400 frac = (ANADIG_PLL->SYS_PLL2_PFD & in CLOCK_GetPfdFreq() 405 frac = (ANADIG_PLL->SYS_PLL3_PFD & in CLOCK_GetPfdFreq() 415 frac = frac >> (8UL * (uint32_t)pfd); in CLOCK_GetPfdFreq() 416 assert(frac >= (uint32_t)PFD_FRAC_MIN); in CLOCK_GetPfdFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1165/drivers/ |
D | fsl_clock.c | 306 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac) in CLOCK_InitPfd() argument 312 assert(frac <= (uint8_t)PFD_FRAC_MAX); in CLOCK_InitPfd() 313 assert(frac >= (uint8_t)PFD_FRAC_MIN); in CLOCK_InitPfd() 336 if ((regFracVal == (uint32_t)frac) && (!pfdGated)) in CLOCK_InitPfd() 346 *pfdCtrl |= (ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC(frac) << (8UL * (uint32_t)pfd)); in CLOCK_InitPfd() 393 uint32_t pllFreq = 0UL, frac = 0UL; in CLOCK_GetPfdFreq() local 399 frac = (ANADIG_PLL->SYS_PLL2_PFD & in CLOCK_GetPfdFreq() 404 frac = (ANADIG_PLL->SYS_PLL3_PFD & in CLOCK_GetPfdFreq() 414 frac = frac >> (8UL * (uint32_t)pfd); in CLOCK_GetPfdFreq() 415 assert(frac >= (uint32_t)PFD_FRAC_MIN); in CLOCK_GetPfdFreq() [all …]
|
D | fsl_clock.h | 2845 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1172/drivers/ |
D | fsl_clock.c | 308 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac) in CLOCK_InitPfd() argument 314 assert(frac <= (uint8_t)PFD_FRAC_MAX); in CLOCK_InitPfd() 315 assert(frac >= (uint8_t)PFD_FRAC_MIN); in CLOCK_InitPfd() 337 if ((regFracVal == (uint32_t)frac) && (!pfdGated)) in CLOCK_InitPfd() 347 *pfdCtrl |= (ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC(frac) << (8UL * (uint32_t)pfd)); in CLOCK_InitPfd() 394 uint32_t pllFreq = 0UL, frac = 0UL; in CLOCK_GetPfdFreq() local 400 frac = (ANADIG_PLL->SYS_PLL2_PFD & in CLOCK_GetPfdFreq() 405 frac = (ANADIG_PLL->SYS_PLL3_PFD & in CLOCK_GetPfdFreq() 415 frac = frac >> (8UL * (uint32_t)pfd); in CLOCK_GetPfdFreq() 416 assert(frac >= (uint32_t)PFD_FRAC_MIN); in CLOCK_GetPfdFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1166/drivers/ |
D | fsl_clock.c | 306 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac) in CLOCK_InitPfd() argument 312 assert(frac <= (uint8_t)PFD_FRAC_MAX); in CLOCK_InitPfd() 313 assert(frac >= (uint8_t)PFD_FRAC_MIN); in CLOCK_InitPfd() 336 if ((regFracVal == (uint32_t)frac) && (!pfdGated)) in CLOCK_InitPfd() 346 *pfdCtrl |= (ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC(frac) << (8UL * (uint32_t)pfd)); in CLOCK_InitPfd() 393 uint32_t pllFreq = 0UL, frac = 0UL; in CLOCK_GetPfdFreq() local 399 frac = (ANADIG_PLL->SYS_PLL2_PFD & in CLOCK_GetPfdFreq() 404 frac = (ANADIG_PLL->SYS_PLL3_PFD & in CLOCK_GetPfdFreq() 414 frac = frac >> (8UL * (uint32_t)pfd); in CLOCK_GetPfdFreq() 415 assert(frac >= (uint32_t)PFD_FRAC_MIN); in CLOCK_GetPfdFreq() [all …]
|
D | fsl_clock.h | 2845 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1171/drivers/ |
D | fsl_clock.c | 308 void CLOCK_InitPfd(clock_pll_t pll, clock_pfd_t pfd, uint8_t frac) in CLOCK_InitPfd() argument 314 assert(frac <= (uint8_t)PFD_FRAC_MAX); in CLOCK_InitPfd() 315 assert(frac >= (uint8_t)PFD_FRAC_MIN); in CLOCK_InitPfd() 337 if ((regFracVal == (uint32_t)frac) && (!pfdGated)) in CLOCK_InitPfd() 347 *pfdCtrl |= (ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC(frac) << (8UL * (uint32_t)pfd)); in CLOCK_InitPfd() 394 uint32_t pllFreq = 0UL, frac = 0UL; in CLOCK_GetPfdFreq() local 400 frac = (ANADIG_PLL->SYS_PLL2_PFD & in CLOCK_GetPfdFreq() 405 frac = (ANADIG_PLL->SYS_PLL3_PFD & in CLOCK_GetPfdFreq() 415 frac = frac >> (8UL * (uint32_t)pfd); in CLOCK_GetPfdFreq() 416 assert(frac >= (uint32_t)PFD_FRAC_MIN); in CLOCK_GetPfdFreq() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/frdmk28fa/project_template/ |
D | clock_config.c | 188 static void CLOCK_CONFIG_EnableUsbhs0PfdClock(uint8_t frac, uint8_t src) in CLOCK_CONFIG_EnableUsbhs0PfdClock() argument 190 uint32_t fracFreq = (480000U * 18U / frac) * 1000U; in CLOCK_CONFIG_EnableUsbhs0PfdClock() 193 (USBPHY_ANACTRL_PFD_FRAC(frac) | USBPHY_ANACTRL_PFD_CLK_SEL(src)); in CLOCK_CONFIG_EnableUsbhs0PfdClock()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/frdmk66f/project_template/ |
D | clock_config.c | 189 static void CLOCK_CONFIG_EnableUsbhs0PfdClock(uint8_t frac, uint8_t src) in CLOCK_CONFIG_EnableUsbhs0PfdClock() argument 191 uint32_t fracFreq = (480000U * 18U / frac) * 1000U; in CLOCK_CONFIG_EnableUsbhs0PfdClock() 194 (USBPHY_ANACTRL_PFD_FRAC(frac) | USBPHY_ANACTRL_PFD_CLK_SEL(src)); in CLOCK_CONFIG_EnableUsbhs0PfdClock()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK26F18/drivers/ |
D | fsl_clock.c | 783 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src) in CLOCK_EnableUsbhs0PfdClock() argument 785 assert((frac <= 35U) && (frac >= 18U)); in CLOCK_EnableUsbhs0PfdClock() 786 uint32_t fracFreq = (480000U * 18U / frac) * 1000U; in CLOCK_EnableUsbhs0PfdClock() 789 (USBPHY_ANACTRL_PFD_FRAC(frac) | USBPHY_ANACTRL_PFD_CLK_SEL(src)); in CLOCK_EnableUsbhs0PfdClock()
|
D | fsl_clock.h | 870 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK27FA15/drivers/ |
D | fsl_clock.c | 747 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src) in CLOCK_EnableUsbhs0PfdClock() argument 749 assert((frac <= 35U) && (frac >= 18U)); in CLOCK_EnableUsbhs0PfdClock() 750 uint32_t fracFreq = (480000U * 18U / frac) * 1000U; in CLOCK_EnableUsbhs0PfdClock() 753 (USBPHY_ANACTRL_PFD_FRAC(frac) | USBPHY_ANACTRL_PFD_CLK_SEL(src)); in CLOCK_EnableUsbhs0PfdClock()
|
D | fsl_clock.h | 875 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK66F18/drivers/ |
D | fsl_clock.c | 782 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src) in CLOCK_EnableUsbhs0PfdClock() argument 784 assert((frac <= 35U) && (frac >= 18U)); in CLOCK_EnableUsbhs0PfdClock() 785 uint32_t fracFreq = (480000U * 18U / frac) * 1000U; in CLOCK_EnableUsbhs0PfdClock() 788 (USBPHY_ANACTRL_PFD_FRAC(frac) | USBPHY_ANACTRL_PFD_CLK_SEL(src)); in CLOCK_EnableUsbhs0PfdClock()
|
D | fsl_clock.h | 898 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK65F18/drivers/ |
D | fsl_clock.c | 783 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src) in CLOCK_EnableUsbhs0PfdClock() argument 785 assert((frac <= 35U) && (frac >= 18U)); in CLOCK_EnableUsbhs0PfdClock() 786 uint32_t fracFreq = (480000U * 18U / frac) * 1000U; in CLOCK_EnableUsbhs0PfdClock() 789 (USBPHY_ANACTRL_PFD_FRAC(frac) | USBPHY_ANACTRL_PFD_CLK_SEL(src)); in CLOCK_EnableUsbhs0PfdClock()
|
D | fsl_clock.h | 899 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK28FA15/drivers/ |
D | fsl_clock.c | 747 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src) in CLOCK_EnableUsbhs0PfdClock() argument 749 assert((frac <= 35U) && (frac >= 18U)); in CLOCK_EnableUsbhs0PfdClock() 750 uint32_t fracFreq = (480000U * 18U / frac) * 1000U; in CLOCK_EnableUsbhs0PfdClock() 753 (USBPHY_ANACTRL_PFD_FRAC(frac) | USBPHY_ANACTRL_PFD_CLK_SEL(src)); in CLOCK_EnableUsbhs0PfdClock()
|
D | fsl_clock.h | 880 void CLOCK_EnableUsbhs0PfdClock(uint8_t frac, clock_usb_pfd_src_t src);
|