Home
last modified time | relevance | path

Searched refs:min_diff (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_dspi.c438 uint32_t diff, min_diff; in DSPI_MasterSetBaudRate() local
442 min_diff = 0xFFFFFFFFU; in DSPI_MasterSetBaudRate()
463 if (min_diff > diff) in DSPI_MasterSetBaudRate()
466 min_diff = diff; in DSPI_MasterSetBaudRate()
473 if (0U == min_diff) in DSPI_MasterSetBaudRate()
479 if (0U == min_diff) in DSPI_MasterSetBaudRate()
484 if (0U == min_diff) in DSPI_MasterSetBaudRate()
586 uint32_t diff, min_diff; in DSPI_MasterSetDelayTimes() local
592 min_diff = 0xFFFFFFFFU; in DSPI_MasterSetDelayTimes()
624 if (min_diff > diff) in DSPI_MasterSetDelayTimes()
[all …]
Dfsl_lpspi.c438 uint32_t diff, min_diff; in LPSPI_MasterSetBaudRate() local
444 min_diff = 0xFFFFFFFFU; in LPSPI_MasterSetBaudRate()
458 if (min_diff == 0U) in LPSPI_MasterSetBaudRate()
464 if (min_diff == 0U) in LPSPI_MasterSetBaudRate()
476 if (min_diff > diff) in LPSPI_MasterSetBaudRate()
479 min_diff = diff; in LPSPI_MasterSetBaudRate()
582 uint32_t diff, min_diff; in LPSPI_MasterSetDelayTimes() local
595 min_diff = 0xFFFFFFFFU; in LPSPI_MasterSetDelayTimes()
650 if (min_diff == 0U) in LPSPI_MasterSetDelayTimes()
668 if (min_diff > diff) in LPSPI_MasterSetDelayTimes()
[all …]
Dfsl_spi.c623 uint32_t min_diff; in SPI_MasterSetBaudRate() local
627 min_diff = 0xFFFFFFFFU; in SPI_MasterSetBaudRate()
634 for (prescaler = 0; (prescaler <= 7) && min_diff; prescaler++) in SPI_MasterSetBaudRate()
639 for (rateDivisor = 0; (rateDivisor <= 8U) && min_diff; rateDivisor++) in SPI_MasterSetBaudRate()
649 if (min_diff > diff) in SPI_MasterSetBaudRate()
652 min_diff = diff; in SPI_MasterSetBaudRate()
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpspi.c446 uint32_t diff, min_diff; in LPSPI_MasterSetBaudRate() local
452 min_diff = 0xFFFFFFFFU; in LPSPI_MasterSetBaudRate()
466 if (min_diff == 0U) in LPSPI_MasterSetBaudRate()
472 if (min_diff == 0U) in LPSPI_MasterSetBaudRate()
484 if (min_diff > diff) in LPSPI_MasterSetBaudRate()
487 min_diff = diff; in LPSPI_MasterSetBaudRate()
590 uint32_t diff, min_diff; in LPSPI_MasterSetDelayTimes() local
603 min_diff = 0xFFFFFFFFU; in LPSPI_MasterSetDelayTimes()
658 if (min_diff == 0U) in LPSPI_MasterSetDelayTimes()
676 if (min_diff > diff) in LPSPI_MasterSetDelayTimes()
[all …]
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_ecspi.c408 uint32_t min_diff = 0xFFFFFFFFU; in ECSPI_SetBaudRate() local
428 if (diff < min_diff) in ECSPI_SetBaudRate()
430 min_diff = diff; in ECSPI_SetBaudRate()
438 if (diff < min_diff) in ECSPI_SetBaudRate()
440 min_diff = diff; in ECSPI_SetBaudRate()