Searched refs:hclk_rate (Results 1 – 2 of 2) sorted by relevance
63 const ulong hclk_rate = get_PLLCLK(&syscon->clkset1) / hclk_div; in get_HCLK() local65 return hclk_rate; in get_HCLK()
267 ulong hclk_rate; /* AHB clock rate */ member301 u32 hclk_rate = priv->hclk_rate; in aspeed_g6_spi_hclk_divisor() local316 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() local345 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 …]