Home
last modified time | relevance | path

Searched refs:mstop (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/drivers/clk/renesas/
H A Drzv2h-cpg.c450 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_mod_clock_mstop_enable() local
457 if (!atomic_read(&mstop[i])) in rzv2h_mod_clock_mstop_enable()
459 atomic_inc(&mstop[i]); in rzv2h_mod_clock_mstop_enable()
471 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_mod_clock_mstop_disable() local
478 if (!atomic_read(&mstop[i]) || in rzv2h_mod_clock_mstop_disable()
479 atomic_dec_and_test(&mstop[i])) in rzv2h_mod_clock_mstop_disable()
631 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_cpg_register_mod_clk() local
644 if (atomic_read(&mstop[i])) in rzv2h_cpg_register_mod_clk()
647 atomic_inc(&mstop[i]); in rzv2h_cpg_register_mod_clk()
H A Drzg2l-cpg.c1668 struct rzg2l_cpg_reg_conf mstop = pd->conf.mstop; in rzg2l_cpg_power_on() local
1672 if (mstop.mask) in rzg2l_cpg_power_on()
1673 writel(mstop.mask << 16, priv->base + mstop.off); in rzg2l_cpg_power_on()
1681 struct rzg2l_cpg_reg_conf mstop = pd->conf.mstop; in rzg2l_cpg_power_off() local
1685 if (mstop.mask) in rzg2l_cpg_power_off()
1686 writel(mstop.mask | (mstop.mask << 16), priv->base + mstop.off); in rzg2l_cpg_power_off()
H A Drzg2l-cpg.h272 struct rzg2l_cpg_reg_conf mstop; member
295 .mstop = (_mstop_conf), \