Lines Matching refs:status_lookup
2594 static const char * const status_lookup[] = { in rtpm_status_str() local
2606 else if (dev->power.runtime_status < ARRAY_SIZE(status_lookup)) in rtpm_status_str()
2607 p = status_lookup[dev->power.runtime_status]; in rtpm_status_str()
2617 static const char * const status_lookup[] = { in genpd_summary_one() local
2631 if (WARN_ON(genpd->status >= ARRAY_SIZE(status_lookup))) in genpd_summary_one()
2635 status_lookup[genpd->status], genpd->state_idx); in genpd_summary_one()
2638 status_lookup[genpd->status]); in genpd_summary_one()
2696 static const char * const status_lookup[] = { in genpd_status_show() local
2708 if (WARN_ON_ONCE(genpd->status >= ARRAY_SIZE(status_lookup))) in genpd_status_show()
2712 seq_printf(s, "%s-%u\n", status_lookup[genpd->status], in genpd_status_show()
2715 seq_printf(s, "%s\n", status_lookup[genpd->status]); in genpd_status_show()