Home
last modified time | relevance | path

Searched refs:plldiv (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/drivers/clk/at91/
Dclk-plldiv.c25 struct clk_plldiv *plldiv = to_clk_plldiv(hw); in clk_plldiv_recalc_rate() local
28 regmap_read(plldiv->regmap, AT91_PMC_MCKR, &mckr); in clk_plldiv_recalc_rate()
56 struct clk_plldiv *plldiv = to_clk_plldiv(hw); in clk_plldiv_set_rate() local
61 regmap_update_bits(plldiv->regmap, AT91_PMC_MCKR, AT91_PMC_PLLADIV2, in clk_plldiv_set_rate()
77 struct clk_plldiv *plldiv; in at91_clk_register_plldiv() local
82 plldiv = kzalloc(sizeof(*plldiv), GFP_KERNEL); in at91_clk_register_plldiv()
83 if (!plldiv) in at91_clk_register_plldiv()
92 plldiv->hw.init = &init; in at91_clk_register_plldiv()
93 plldiv->regmap = regmap; in at91_clk_register_plldiv()
95 hw = &plldiv->hw; in at91_clk_register_plldiv()
[all …]
DMakefile7 obj-y += clk-slow.o clk-main.o clk-pll.o clk-plldiv.o clk-master.o
/Linux-v5.10/arch/mips/kernel/
Dcsrc-bcm1480.c40 unsigned int plldiv; in sb1480_clocksource_init() local
43 plldiv = G_BCM1480_SYS_PLL_DIV(__raw_readq(IOADDR(A_SCD_SYSTEM_CFG))); in sb1480_clocksource_init()
44 zbbus = ((plldiv >> 1) * 50000000) + ((plldiv & 1) * 25000000); in sb1480_clocksource_init()
/Linux-v5.10/arch/mips/sibyte/bcm1480/
Dsetup.c109 int plldiv; in bcm1480_setup() local
122 plldiv = G_BCM1480_SYS_PLL_DIV(__raw_readq(IOADDR(A_SCD_SYSTEM_CFG))); in bcm1480_setup()
123 zbbus_mhz = ((plldiv >> 1) * 50) + ((plldiv & 1) * 25); in bcm1480_setup()
/Linux-v5.10/arch/mips/sibyte/sb1250/
Dsetup.c171 int plldiv; in sb1250_setup() local
184 plldiv = G_SYS_PLL_DIV(__raw_readq(IOADDR(A_SCD_SYSTEM_CFG))); in sb1250_setup()
185 zbbus_mhz = ((plldiv >> 1) * 50) + ((plldiv & 1) * 25); in sb1250_setup()
/Linux-v5.10/arch/c6x/platforms/
Dpll.c207 u32 v, plldiv = 0; in clk_sysclk_recalc() local
241 plldiv = (v & PLLDIV_RATIO_MASK) + 1; in clk_sysclk_recalc()
243 if (plldiv == 0) in clk_sysclk_recalc()
244 plldiv = 1; in clk_sysclk_recalc()
246 rate /= plldiv; in clk_sysclk_recalc()
249 clk->name, plldiv, rate / 1000); in clk_sysclk_recalc()
/Linux-v5.10/sound/soc/codecs/
Dml26124.c49 u8 plldiv; member
370 snd_soc_component_update_bits(component, ML26124_PLLDIV, 0x1f, coeff_div[i].plldiv); in ml26124_hw_params()
/Linux-v5.10/sound/soc/uniphier/
Daio.h279 int plldiv; member
Daio-core.c537 if (sub->aio->plldiv >= ARRAY_SIZE(v_div)) { in aio_port_set_clk()
539 sub->aio->plldiv); in aio_port_set_clk()
545 v_div[sub->aio->plldiv]; in aio_port_set_clk()
Daio-cpu.c198 aio->plldiv = div_id; in uniphier_aio_set_sysclk()