Searched refs:mstop (Results 1 – 2 of 2) sorted by relevance
1365 struct mstop { struct1387 struct mstop *mstop; member1409 struct mstop *mstop = clock->mstop; in rzg2l_mod_clock_module_set_state() local1413 if (!mstop) in rzg2l_mod_clock_module_set_state()1416 value = MSTOP_MASK(mstop->conf) << 16; in rzg2l_mod_clock_module_set_state()1441 if (criticals && criticals == atomic_read(&mstop->usecnt)) in rzg2l_mod_clock_module_set_state()1444 value |= MSTOP_MASK(mstop->conf); in rzg2l_mod_clock_module_set_state()1447 if (!atomic_read(&mstop->usecnt)) in rzg2l_mod_clock_module_set_state()1450 update = atomic_dec_and_test(&mstop->usecnt); in rzg2l_mod_clock_module_set_state()1452 if (!atomic_read(&mstop->usecnt)) in rzg2l_mod_clock_module_set_state()[all …]
1086 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_mod_clock_mstop_enable() local1093 if (!atomic_read(&mstop[i])) in rzv2h_mod_clock_mstop_enable()1095 atomic_inc(&mstop[i]); in rzv2h_mod_clock_mstop_enable()1107 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_mod_clock_mstop_disable() local1114 if (!atomic_read(&mstop[i]) || in rzv2h_mod_clock_mstop_disable()1115 atomic_dec_and_test(&mstop[i])) in rzv2h_mod_clock_mstop_disable()1294 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_cpg_register_mod_clk() local1307 if (atomic_read(&mstop[i])) in rzv2h_cpg_register_mod_clk()1310 atomic_inc(&mstop[i]); in rzv2h_cpg_register_mod_clk()