Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/ddr/altera/
H A Dsequencer.c766 u32 afi_clocks; in delay_for_n_mem_clocks() local
774 afi_clocks = DIV_ROUND_UP(clocks, misccfg->afi_rate_ratio); in delay_for_n_mem_clocks()
775 if (afi_clocks) /* Temporary underflow protection */ in delay_for_n_mem_clocks()
776 afi_clocks--; in delay_for_n_mem_clocks()
785 c_loop = afi_clocks >> 16; in delay_for_n_mem_clocks()
786 outer = c_loop ? 0xff : (afi_clocks >> 8); in delay_for_n_mem_clocks()
787 inner = outer ? 0xff : afi_clocks; in delay_for_n_mem_clocks()
806 if (afi_clocks < 0x100) { in delay_for_n_mem_clocks()