Home
last modified time | relevance | path

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

/u-boot/drivers/spi/
A Dcadence_qspi_apb.c344 unsigned int ref_clk_ns; in cadence_qspi_apb_delay() local
352 ref_clk_ns = DIV_ROUND_UP(1000000000, ref_clk); in cadence_qspi_apb_delay()
358 if (tshsl_ns >= sclk_ns + ref_clk_ns) in cadence_qspi_apb_delay()
359 tshsl_ns -= sclk_ns + ref_clk_ns; in cadence_qspi_apb_delay()
360 if (tchsh_ns >= sclk_ns + 3 * ref_clk_ns) in cadence_qspi_apb_delay()
361 tchsh_ns -= sclk_ns + 3 * ref_clk_ns; in cadence_qspi_apb_delay()
362 tshsl = DIV_ROUND_UP(tshsl_ns, ref_clk_ns); in cadence_qspi_apb_delay()
363 tchsh = DIV_ROUND_UP(tchsh_ns, ref_clk_ns); in cadence_qspi_apb_delay()
364 tslch = DIV_ROUND_UP(tslch_ns, ref_clk_ns); in cadence_qspi_apb_delay()
365 tsd2d = DIV_ROUND_UP(tsd2d_ns, ref_clk_ns); in cadence_qspi_apb_delay()

Completed in 4 milliseconds