Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_nxp_s32.c184 uint32_t current_delay; in spi_nxp_s32_getbestdelay() local
202 current_delay = NSEC_PER_USEC * prescaler_arr[prescaler] in spi_nxp_s32_getbestdelay()
209 if (current_delay < requested_delay) { in spi_nxp_s32_getbestdelay()
216 if ((best_delay - requested_delay) > (current_delay - requested_delay)) { in spi_nxp_s32_getbestdelay()
217 best_delay = current_delay; in spi_nxp_s32_getbestdelay()
237 current_delay = NSEC_PER_USEC * prescaler_arr[prescaler] in spi_nxp_s32_getbestdelay()
240 if (current_delay >= requested_delay) { in spi_nxp_s32_getbestdelay()
242 (current_delay - requested_delay)) { in spi_nxp_s32_getbestdelay()
244 best_delay = current_delay; in spi_nxp_s32_getbestdelay()