Home
last modified time | relevance | path

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

/external/u-boot/drivers/spi/
Dcadence_qspi_apb.c343 unsigned int sclk_ns; in cadence_qspi_apb_delay() local
353 sclk_ns = DIV_ROUND_UP(1000000000, sclk_hz); in cadence_qspi_apb_delay()
356 if (tshsl_ns >= sclk_ns + ref_clk_ns) in cadence_qspi_apb_delay()
357 tshsl_ns -= sclk_ns + ref_clk_ns; in cadence_qspi_apb_delay()
358 if (tchsh_ns >= sclk_ns + 3 * ref_clk_ns) in cadence_qspi_apb_delay()
359 tchsh_ns -= sclk_ns + 3 * ref_clk_ns; in cadence_qspi_apb_delay()