Searched refs:IS_SUPPORTED_FLAG (Results 1 – 1 of 1) sorted by relevance
/drivers/devfreq/ |
D | devfreq.c | 36 #define IS_SUPPORTED_FLAG(f, name) ((f & DEVFREQ_GOV_FLAG_##name) ? true : false) macro 487 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_start() 525 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_stop() 564 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_suspend() 585 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_resume() 625 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_update_interval() 1456 } else if (IS_SUPPORTED_FLAG(df->governor->flags, IMMUTABLE) in governor_store() 1457 || IS_SUPPORTED_FLAG(governor->flags, IMMUTABLE)) { in governor_store() 1528 if (IS_SUPPORTED_FLAG(df->governor->flags, IMMUTABLE)) { in available_governors_show() 1539 if (IS_SUPPORTED_FLAG(governor->flags, IMMUTABLE)) in available_governors_show()
|