Searched refs:word_delay_ns (Results 1 – 1 of 1) sorted by relevance
774 int word_delay_ns; in mx51_ecspi_prepare_transfer() local776 word_delay_ns = spi_delay_to_ns(&t->word_delay, t); in mx51_ecspi_prepare_transfer()777 if (word_delay_ns < 0) in mx51_ecspi_prepare_transfer()778 return word_delay_ns; in mx51_ecspi_prepare_transfer()780 if (word_delay_ns <= mul_u64_u32_div(NSEC_PER_SEC, in mx51_ecspi_prepare_transfer()784 } else if (word_delay_ns <= mul_u64_u32_div(NSEC_PER_SEC, in mx51_ecspi_prepare_transfer()789 word_delay_ns -= mul_u64_u32_div(NSEC_PER_SEC, in mx51_ecspi_prepare_transfer()793 word_delay_sck = DIV_U64_ROUND_UP((u64)word_delay_ns * spi_imx->spi_bus_clk, in mx51_ecspi_prepare_transfer()