Home
last modified time | relevance | path

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

/Linux-v5.10/arch/mips/ath79/
Dclock.c126 u32 mult, div, ddr_div, ahb_div; in ar724x_clocks_init() local
137 ahb_div = (((pll >> AR724X_AHB_DIV_SHIFT) & AR724X_AHB_DIV_MASK) + 1) * 2; in ar724x_clocks_init()
141 ath79_set_ff_clk(ATH79_CLK_AHB, "ref", mult, div * ahb_div); in ar724x_clocks_init()
154 u32 ahb_div; in ar933x_clocks_init() local
173 ahb_div = 1; in ar933x_clocks_init()
200 ahb_div = ((clock_ctrl >> AR933X_PLL_CLOCK_CTRL_AHB_DIV_SHIFT) & in ar933x_clocks_init()
209 ref_div * out_div * ahb_div); in ar933x_clocks_init()
/Linux-v5.10/drivers/clk/
Dclk-ast2600.c693 u32 val, div, divbits, chip_id, axi_div, ahb_div; in aspeed_g6_cc() local
727 ahb_div = ast2600_a1_axi_ahb200_tbl[(val >> 8) & 0x3]; in aspeed_g6_cc()
729 ahb_div *= 2; in aspeed_g6_cc()
732 ahb_div = ast2600_a1_axi_ahb_div1_tbl[divbits]; in aspeed_g6_cc()
734 ahb_div = ast2600_a1_axi_ahb_div0_tbl[divbits]; in aspeed_g6_cc()
737 ahb_div = ast2600_a0_axi_ahb_div_table[(val >> 11) & 0x3]; in aspeed_g6_cc()
740 hw = clk_hw_register_fixed_factor(NULL, "ahb", "hpll", 0, 1, axi_div * ahb_div); in aspeed_g6_cc()