Lines Matching refs:status_lookup
3069 static const char * const status_lookup[] = { in rtpm_status_str() local
3081 else if (dev->power.runtime_status < ARRAY_SIZE(status_lookup)) in rtpm_status_str()
3082 p = status_lookup[dev->power.runtime_status]; in rtpm_status_str()
3100 static const char * const status_lookup[] = { in genpd_summary_one() local
3114 if (WARN_ON(genpd->status >= ARRAY_SIZE(status_lookup))) in genpd_summary_one()
3118 status_lookup[genpd->status], genpd->state_idx); in genpd_summary_one()
3121 status_lookup[genpd->status]); in genpd_summary_one()
3182 static const char * const status_lookup[] = { in status_show() local
3194 if (WARN_ON_ONCE(genpd->status >= ARRAY_SIZE(status_lookup))) in status_show()
3198 seq_printf(s, "%s-%u\n", status_lookup[genpd->status], in status_show()
3201 seq_printf(s, "%s\n", status_lookup[genpd->status]); in status_show()