Searched refs:fixed_div (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/drivers/clk/socfpga/ |
D | clk-periph.c | 23 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()
|
D | clk-periph-a10.c | 26 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()
|
D | clk-gate-a10.c | 27 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()
|
D | clk-gate.c | 96 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()
|
D | clk-gate-s10.c | 27 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()
|
D | clk.h | 46 u32 fixed_div; member 59 u32 fixed_div; member
|
D | clk-periph-s10.c | 53 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()
|
D | stratix10-clk.h | 71 u8 fixed_div; member
|
/linux-6.1.9/drivers/clk/renesas/ |
D | rcar-gen4-cpg.c | 42 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()
|
D | rcar-gen3-cpg.c | 169 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/ |
D | gcc-ipq4019.c | 72 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/ |
D | clock.h | 89 u8 fixed_div; member
|
D | clock.c | 808 WARN_ON(!clk->fixed_div); in omap_fixed_divisor_recalc() 810 return p_rate / clk->fixed_div; in omap_fixed_divisor_recalc()
|
D | clock_data.c | 182 .fixed_div = 14,
|
/linux-6.1.9/include/linux/clk/ |
D | ti.h | 167 u8 fixed_div; member
|