Searched refs:mstop (Results 1 – 2 of 2) sorted by relevance
1198 struct mstop { struct1220 struct mstop *mstop; member1242 struct mstop *mstop = clock->mstop; in rzg2l_mod_clock_module_set_state() local1246 if (!mstop) in rzg2l_mod_clock_module_set_state()1249 value = MSTOP_MASK(mstop->conf) << 16; in rzg2l_mod_clock_module_set_state()1274 if (criticals && criticals == atomic_read(&mstop->usecnt)) in rzg2l_mod_clock_module_set_state()1277 value |= MSTOP_MASK(mstop->conf); in rzg2l_mod_clock_module_set_state()1280 if (!atomic_read(&mstop->usecnt)) in rzg2l_mod_clock_module_set_state()1283 update = atomic_dec_and_test(&mstop->usecnt); in rzg2l_mod_clock_module_set_state()1285 if (!atomic_read(&mstop->usecnt)) in rzg2l_mod_clock_module_set_state()[all …]
1109 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_mod_clock_mstop_enable() local1116 if (!atomic_read(&mstop[i])) in rzv2h_mod_clock_mstop_enable()1118 atomic_inc(&mstop[i]); in rzv2h_mod_clock_mstop_enable()1130 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_mod_clock_mstop_disable() local1137 if (!atomic_read(&mstop[i]) || in rzv2h_mod_clock_mstop_disable()1138 atomic_dec_and_test(&mstop[i])) in rzv2h_mod_clock_mstop_disable()1317 atomic_t *mstop = &priv->mstop_count[mstop_index * 16]; in rzv2h_cpg_register_mod_clk() local1330 if (atomic_read(&mstop[i])) in rzv2h_cpg_register_mod_clk()1333 atomic_inc(&mstop[i]); in rzv2h_cpg_register_mod_clk()