Lines Matching refs:pnv_idle_states
39 struct pnv_idle_states_t *pnv_idle_states; variable
643 struct pnv_idle_states_t *state = &pnv_idle_states[i]; in pnv_power9_idle_init()
716 supported_cpuidle_states |= pnv_idle_states[i].flags; in pnv_probe_idle_states()
742 pnv_idle_states = kcalloc(nr_idle_states, sizeof(*pnv_idle_states), in pnv_parse_cpuidle_dt()
748 if (!(pnv_idle_states && temp_u32 && temp_u64 && temp_string)) { in pnv_parse_cpuidle_dt()
762 pnv_idle_states[i].flags = temp_u32[i]; in pnv_parse_cpuidle_dt()
772 pnv_idle_states[i].latency_ns = temp_u32[i]; in pnv_parse_cpuidle_dt()
782 pnv_idle_states[i].residency_ns = temp_u32[i]; in pnv_parse_cpuidle_dt()
794 pnv_idle_states[i].psscr_val = temp_u64[i]; in pnv_parse_cpuidle_dt()
804 pnv_idle_states[i].psscr_mask = temp_u64[i]; in pnv_parse_cpuidle_dt()
820 strlcpy(pnv_idle_states[i].name, temp_string[i], in pnv_parse_cpuidle_dt()