Lines Matching defs:usecnt
1195 * @usecnt: Usage counter for MSTOP settings (when zero the settings
1200 atomic_t usecnt;
1238 /* Need to be called with a lock held to avoid concurrent access to mstop->usecnt. */
1275 if (criticals && criticals == atomic_read(&mstop->usecnt))
1280 /* Allow updates on probe when usecnt = 0. */
1281 if (!atomic_read(&mstop->usecnt))
1284 update = atomic_dec_and_test(&mstop->usecnt);
1286 if (!atomic_read(&mstop->usecnt))
1288 atomic_inc(&mstop->usecnt);
1318 __clk_get_enable_count(hw->clk), atomic_read(&clk->mstop->usecnt),
1600 atomic_set(&mstop->usecnt, 0);