Searched refs:usage_count (Results 1 – 13 of 13) sorted by relevance
40 ret = attr_set->usage_count ? gattr->store(attr_set, buf, count) : -EBUSY; in governor_store()55 attr_set->usage_count = 1; in gov_attr_set_init()63 attr_set->usage_count++; in gov_attr_set_get()75 count = --attr_set->usage_count; in gov_attr_set_put()
27 __field( int , usage_count )38 __entry->usage_count = atomic_read(39 &dev->power.usage_count);51 __entry->usage_count,
72 unsigned int usage_count; member247 if (!priv->usage_count) { in twl_request()263 priv->usage_count |= BIT(offset); in twl_request()279 priv->usage_count &= ~BIT(offset); in twl_free()282 if (!priv->usage_count) in twl_free()315 if (!(priv->usage_count & BIT(offset))) { in twl_get()
244 else if (atomic_read(&dev->power.usage_count) > 0) in rpm_check_suspend_allowed()981 if (!atomic_dec_and_test(&dev->power.usage_count)) in __pm_runtime_idle()1013 if (!atomic_dec_and_test(&dev->power.usage_count)) in __pm_runtime_suspend()1047 atomic_inc(&dev->power.usage_count); in __pm_runtime_resume()1075 && atomic_inc_not_zero(&dev->power.usage_count); in pm_runtime_get_if_in_use()1331 atomic_inc(&dev->power.usage_count); in pm_runtime_forbid()1352 if (atomic_dec_and_test(&dev->power.usage_count)) in pm_runtime_allow()1419 atomic_inc(&dev->power.usage_count); in update_autosuspend()1429 atomic_dec(&dev->power.usage_count); in update_autosuspend()1489 atomic_set(&dev->power.usage_count, 0); in pm_runtime_init()[all …]
514 return sprintf(buf, "%d\n", atomic_read(&dev->power.usage_count)); in runtime_usage_show()
1366 atomic_read(&dev->power.usage_count) > 1 || in __device_suspend_noirq()
38 atomic_t *usage_count; member
71 atomic_inc(&dev->power.usage_count); in pm_runtime_get_noresume()76 atomic_add_unless(&dev->power.usage_count, -1, 0); in pm_runtime_put_noidle()
616 atomic_t usage_count; member
548 int usage_count; member
150 unsigned int usage_count; member
140 unsigned int usage_count; member194 msb->usage_count++; in mspro_block_bd_open()215 if (msb->usage_count) in mspro_block_disk_release()216 msb->usage_count--; in mspro_block_disk_release()218 if (!msb->usage_count) { in mspro_block_disk_release()1225 msb->usage_count = 1; in mspro_block_init_disk()
1955 msb->usage_count++; in msb_bd_open()1979 if (msb->usage_count) in msb_disk_release()1980 msb->usage_count--; in msb_disk_release()1982 if (!msb->usage_count) { in msb_disk_release()2141 msb->usage_count = 1; in msb_init_disk()