Searched refs:apb_freq (Results 1 – 1 of 1) sorted by relevance
542 unsigned long apb_freq; in aspeed_sgpio_probe() local583 apb_freq = clk_get_rate(gpio->pclk); in aspeed_sgpio_probe()597 sgpio_clk_div = (apb_freq / (sgpio_freq * 2)) - 1; in aspeed_sgpio_probe()