Searched refs:word_delay_ns (Results 1 – 1 of 1) sorted by relevance
716 int word_delay_ns; in mx51_ecspi_prepare_transfer() local718 word_delay_ns = spi_delay_to_ns(&t->word_delay, t); in mx51_ecspi_prepare_transfer()719 if (word_delay_ns < 0) in mx51_ecspi_prepare_transfer()720 return word_delay_ns; in mx51_ecspi_prepare_transfer()722 if (word_delay_ns <= mul_u64_u32_div(NSEC_PER_SEC, in mx51_ecspi_prepare_transfer()726 } else if (word_delay_ns <= mul_u64_u32_div(NSEC_PER_SEC, in mx51_ecspi_prepare_transfer()731 word_delay_ns -= mul_u64_u32_div(NSEC_PER_SEC, in mx51_ecspi_prepare_transfer()735 word_delay_sck = DIV_U64_ROUND_UP((u64)word_delay_ns * spi_imx->spi_bus_clk, in mx51_ecspi_prepare_transfer()