Home
last modified time | relevance | path

Searched refs:u32RetValue (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dspi.c54 uint32_t u32ClkSrc = 0UL, u32Div, u32HCLKFreq, u32PCLK0Freq, u32PCLK1Freq, u32RetValue = 0UL; in SPI_Open() local
186 u32RetValue = u32ClkSrc; in SPI_Open()
193 u32RetValue = u32ClkSrc; in SPI_Open()
200 u32RetValue = (u32ClkSrc / (0x1FFUL + 1UL)); in SPI_Open()
210 u32RetValue = (u32ClkSrc / (0x1FFUL + 1UL)); in SPI_Open()
216 u32RetValue = (u32ClkSrc / (u32Div + 1UL)); in SPI_Open()
238 u32RetValue = u32PCLK1Freq; in SPI_Open()
244 u32RetValue = u32PCLK0Freq; in SPI_Open()
250 u32RetValue = u32PCLK1Freq; in SPI_Open()
256 u32RetValue = u32PCLK0Freq; in SPI_Open()
[all …]
Dusci_spi.c47 uint32_t u32RetValue = 0UL; in USPI_Open() local
99 u32RetValue = (u32Pclk / ((u32ClkDiv + 1UL) << 1UL)); in USPI_Open()
103 u32RetValue = 0UL; in USPI_Open()
106 return u32RetValue; in USPI_Open()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dqspi.c52 uint32_t u32ClkSrc = 0UL, u32Div, u32HCLKFreq, u32PCLK0Freq, u32RetValue = 0UL; in QSPI_Open() local
110 u32RetValue = u32ClkSrc; in QSPI_Open()
117 u32RetValue = u32ClkSrc; in QSPI_Open()
124 u32RetValue = (u32ClkSrc / (0x1FFUL + 1UL)); in QSPI_Open()
134 u32RetValue = (u32ClkSrc / (0x1FFUL + 1UL)); in QSPI_Open()
140 u32RetValue = (u32ClkSrc / (u32Div + 1UL)); in QSPI_Open()
162 u32RetValue = u32PCLK0Freq; in QSPI_Open()
172 u32RetValue = __HXT; /* Clock source is HXT */ in QSPI_Open()
176 u32RetValue = CLK_GetPLLClockFreq(); /* Clock source is PLL */ in QSPI_Open()
180 u32RetValue = u32PCLK0Freq; /* Clock source is PCLK0 */ in QSPI_Open()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dqspi.c52 uint32_t u32ClkSrc = 0UL, u32Div, u32HCLKFreq, u32PCLK0Freq, u32RetValue = 0UL; in QSPI_Open() local
110 u32RetValue = u32ClkSrc; in QSPI_Open()
117 u32RetValue = u32ClkSrc; in QSPI_Open()
124 u32RetValue = (u32ClkSrc / (0x1FFUL + 1UL)); in QSPI_Open()
134 u32RetValue = (u32ClkSrc / (0x1FFUL + 1UL)); in QSPI_Open()
140 u32RetValue = (u32ClkSrc / (u32Div + 1UL)); in QSPI_Open()
162 u32RetValue = u32PCLK0Freq; in QSPI_Open()
172 u32RetValue = __HXT; /* Clock source is HXT */ in QSPI_Open()
176 u32RetValue = CLK_GetPLLClockFreq(); /* Clock source is PLL */ in QSPI_Open()
180 u32RetValue = u32PCLK0Freq; /* Clock source is PCLK0 */ in QSPI_Open()
[all …]