Home
last modified time | relevance | path

Searched refs:usage_count (Results 1 – 2 of 2) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_runtime_pm.c89 return qdf_atomic_read(&gp_hif_rtpm_ctx->dev->power.usage_count); in hif_rtpm_read_usage_count()
736 int usage_count; in hif_rtpm_put() local
748 usage_count = hif_rtpm_read_usage_count(); in hif_rtpm_put()
749 if (usage_count == 2 && !gp_hif_rtpm_ctx->enable_rpm) { in hif_rtpm_put()
753 } else if (!usage_count || !qdf_atomic_read(&client->active_count)) { in hif_rtpm_put()
832 int usage_count; in __hif_pm_runtime_allow_suspend() local
837 usage_count = hif_rtpm_read_usage_count(); in __hif_pm_runtime_allow_suspend()
843 if (usage_count == 2 && !gp_hif_rtpm_ctx->enable_rpm) { in __hif_pm_runtime_allow_suspend()
847 } else if (!usage_count) { in __hif_pm_runtime_allow_suspend()
/wlan-driver/platform/cnss2/
Dpci.c4375 atomic_read(&dev->power.usage_count)); in cnss_pci_pm_runtime_show_usage_count()
4476 if (atomic_read(&dev->power.usage_count) == 0) { in cnss_pci_pm_runtime_put_autosuspend()
4496 if (atomic_read(&dev->power.usage_count) == 0) { in cnss_pci_pm_runtime_put_noidle()