Lines Matching refs:enable_count
30 * the enable_count of devfreq-event dev.
33 * Note that this function increase the enable_count and enable the
46 && edev->enable_count == 0) {
51 edev->enable_count++;
61 * the enable_count of the devfreq-event dev.
64 * Note that this function decrease the enable_count and disable the
77 if (edev->enable_count <= 0) {
78 dev_warn(&edev->dev, "unbalanced enable_count\n");
84 && edev->enable_count == 1) {
89 edev->enable_count--;
115 if (edev->enable_count > 0)
326 edev->enable_count = 0;
360 WARN_ON(edev->enable_count);
459 return sprintf(buf, "%d\n", edev->enable_count);
461 static DEVICE_ATTR_RO(enable_count);