Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/
H A Dspeed.c63 const ulong hclk_rate = get_PLLCLK(&syscon->clkset1) / hclk_div; in get_HCLK() local
65 return hclk_rate; in get_HCLK()
/openbmc/u-boot/drivers/spi/
H A Daspeed_spi.c267 ulong hclk_rate; /* AHB clock rate */ member
301 u32 hclk_rate = priv->hclk_rate; in aspeed_g6_spi_hclk_divisor() local
316 if ((hclk_rate / ((i + 1) + j * 16)) <= max_hz) { in aspeed_g6_spi_hclk_divisor()
327 hclk_rate, max_hz, j, i + 1, hclk_masks[i], hclk_rate / (i + 1 + j * 16)); in aspeed_g6_spi_hclk_divisor()
336 u32 hclk_rate = priv->hclk_rate; in aspeed_spi_hclk_divisor() local
345 if (max_hz >= (hclk_rate / (i + 1))) in aspeed_spi_hclk_divisor()
349 hclk_rate, max_hz, i + 1, hclk_masks[i], hclk_rate / (i + 1)); in aspeed_spi_hclk_divisor()
557 if (priv->hclk_rate / (i + 2) > max_freq) { in aspeed_spi_timing_calibration()
562 max_freq = (u32)priv->hclk_rate / (i + 2); in aspeed_spi_timing_calibration()
630 if (priv->hclk_rate / hdiv > flash->max_freq) { in aspeed_spi_timing_calibration()
[all …]