Home
last modified time | relevance | path

Searched refs:fixed_div (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/clk/socfpga/
Dclk-periph.c23 if (socfpgaclk->fixed_div) { in clk_periclk_recalc_rate()
24 div = socfpgaclk->fixed_div; in clk_periclk_recalc_rate()
60 u32 fixed_div; in __socfpga_periph_init() local
80 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); in __socfpga_periph_init()
82 periph_clk->fixed_div = 0; in __socfpga_periph_init()
84 periph_clk->fixed_div = fixed_div; in __socfpga_periph_init()
Dclk-periph-a10.c26 if (socfpgaclk->fixed_div) { in clk_periclk_recalc_rate()
27 div = socfpgaclk->fixed_div; in clk_periclk_recalc_rate()
70 u32 fixed_div; in __socfpga_periph_init() local
90 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); in __socfpga_periph_init()
92 periph_clk->fixed_div = 0; in __socfpga_periph_init()
94 periph_clk->fixed_div = fixed_div; in __socfpga_periph_init()
Dclk-gate-a10.c27 if (socfpgaclk->fixed_div) in socfpga_gate_clk_recalc_rate()
28 div = socfpgaclk->fixed_div; in socfpga_gate_clk_recalc_rate()
100 u32 fixed_div; in __socfpga_gate_init() local
124 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); in __socfpga_gate_init()
126 socfpga_clk->fixed_div = 0; in __socfpga_gate_init()
128 socfpga_clk->fixed_div = fixed_div; in __socfpga_gate_init()
Dclk-gate.c96 if (socfpgaclk->fixed_div) in socfpga_clk_recalc_rate()
97 div = socfpgaclk->fixed_div; in socfpga_clk_recalc_rate()
176 u32 fixed_div; in socfpga_gate_init() local
208 rc = of_property_read_u32(node, "fixed-divider", &fixed_div); in socfpga_gate_init()
210 socfpga_clk->fixed_div = 0; in socfpga_gate_init()
212 socfpga_clk->fixed_div = fixed_div; in socfpga_gate_init()
Dclk-gate-s10.c27 if (socfpgaclk->fixed_div) { in socfpga_gate_clk_recalc_rate()
28 div = socfpgaclk->fixed_div; in socfpga_gate_clk_recalc_rate()
145 socfpga_clk->fixed_div = clks->fixed_div; in s10_register_gate()
203 socfpga_clk->fixed_div = clks->fixed_div; in agilex_register_gate()
Dclk.h46 u32 fixed_div; member
59 u32 fixed_div; member
Dclk-periph-s10.c53 if (socfpgaclk->fixed_div) { in clk_peri_cnt_clk_recalc_rate()
54 div = socfpgaclk->fixed_div; in clk_peri_cnt_clk_recalc_rate()
196 periph_clk->fixed_div = clks->fixed_divider; in s10_register_cnt_periph()
Dstratix10-clk.h71 u8 fixed_div; member
/linux-6.1.9/drivers/clk/renesas/
Drcar-gen4-cpg.c42 unsigned int fixed_div; member
59 32 * zclk->fixed_div); in cpg_z_clk_recalc_rate()
78 prate * zclk->fixed_div); in cpg_z_clk_determine_rate()
80 prate = req->best_parent_rate / zclk->fixed_div; in cpg_z_clk_determine_rate()
100 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
164 zclk->fixed_div = div; /* PLLVCO x 1/div x SYS-CPU divider */ in cpg_z_clk_register()
173 zclk->fixed_div; in cpg_z_clk_register()
Drcar-gen3-cpg.c169 unsigned int fixed_div; member
186 32 * zclk->fixed_div); in cpg_z_clk_recalc_rate()
205 prate * zclk->fixed_div); in cpg_z_clk_determine_rate()
207 prate = req->best_parent_rate / zclk->fixed_div; in cpg_z_clk_determine_rate()
227 mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, in cpg_z_clk_set_rate()
291 zclk->fixed_div = div; /* PLLVCO x 1/div x SYS-CPU divider */ in cpg_z_clk_register()
300 zclk->fixed_div; in cpg_z_clk_register()
/linux-6.1.9/drivers/clk/qcom/
Dgcc-ipq4019.c72 u32 fixed_div; member
1388 if (pll->fixed_div) { in clk_regmap_clk_div_recalc_rate()
1389 pre_div = pll->fixed_div; in clk_regmap_clk_div_recalc_rate()
1411 .fixed_div = 28,
1426 .fixed_div = 32,
1441 .fixed_div = 32,
1456 .fixed_div = 20,
1471 .fixed_div = 8,
/linux-6.1.9/arch/arm/mach-omap1/
Dclock.h89 u8 fixed_div; member
Dclock.c808 WARN_ON(!clk->fixed_div); in omap_fixed_divisor_recalc()
810 return p_rate / clk->fixed_div; in omap_fixed_divisor_recalc()
Dclock_data.c182 .fixed_div = 14,
/linux-6.1.9/include/linux/clk/
Dti.h167 u8 fixed_div; member