Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clk/
Dclk-ast2600.c711 u32 val, div, divbits, axi_div, ahb_div; in aspeed_g6_cc() local
744 ahb_div = ast2600_a1_axi_ahb200_tbl[(val >> 8) & 0x3]; in aspeed_g6_cc()
746 ahb_div *= 2; in aspeed_g6_cc()
749 ahb_div = ast2600_a1_axi_ahb_div1_tbl[divbits]; in aspeed_g6_cc()
751 ahb_div = ast2600_a1_axi_ahb_div0_tbl[divbits]; in aspeed_g6_cc()
754 ahb_div = ast2600_a0_axi_ahb_div_table[(val >> 11) & 0x3]; in aspeed_g6_cc()
757 hw = clk_hw_register_fixed_factor(NULL, "ahb", "hpll", 0, 1, axi_div * ahb_div); in aspeed_g6_cc()
/kernel/linux/linux-5.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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch869 +static struct clk *ahb_div;
940 + rate = clk_get_rate(ahb_div);
945 + clk_set_rate(ahb_div, rate / 6);
986 + rate = clk_get_rate(ahb_div);
991 + clk_set_rate(ahb_div, rate / 6);
1083 + clk_set_rate(ahb_div, 133333333);
1286 + ahb_div = devm_clk_get(&pdev->dev, "ahb_div");
1294 + || IS_ERR(noc_div) || IS_ERR(main_axi_src) || IS_ERR(ahb_div)
1316 + ahb_div = devm_clk_get(&pdev->dev, "ahb_div");
1324 + IS_ERR(osc_25m) || IS_ERR(noc_div) || IS_ERR(main_axi_src) || IS_ERR(ahb_div) ||
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0001_linux_arch.patch9624 + "sys_pll2_333m", "noc_div", "ahb_div", "main_axi_src", "osc_24m",