Lines Matching refs:nr_idle_states
728 int nr_idle_states, i; in pnv_parse_cpuidle_dt() local
739 nr_idle_states = of_property_count_u32_elems(np, in pnv_parse_cpuidle_dt()
742 pnv_idle_states = kcalloc(nr_idle_states, sizeof(*pnv_idle_states), in pnv_parse_cpuidle_dt()
744 temp_u32 = kcalloc(nr_idle_states, sizeof(u32), GFP_KERNEL); in pnv_parse_cpuidle_dt()
745 temp_u64 = kcalloc(nr_idle_states, sizeof(u64), GFP_KERNEL); in pnv_parse_cpuidle_dt()
746 temp_string = kcalloc(nr_idle_states, sizeof(char *), GFP_KERNEL); in pnv_parse_cpuidle_dt()
756 temp_u32, nr_idle_states)) { in pnv_parse_cpuidle_dt()
761 for (i = 0; i < nr_idle_states; i++) in pnv_parse_cpuidle_dt()
766 temp_u32, nr_idle_states)) { in pnv_parse_cpuidle_dt()
771 for (i = 0; i < nr_idle_states; i++) in pnv_parse_cpuidle_dt()
776 temp_u32, nr_idle_states)) { in pnv_parse_cpuidle_dt()
781 for (i = 0; i < nr_idle_states; i++) in pnv_parse_cpuidle_dt()
788 temp_u64, nr_idle_states)) { in pnv_parse_cpuidle_dt()
793 for (i = 0; i < nr_idle_states; i++) in pnv_parse_cpuidle_dt()
798 temp_u64, nr_idle_states)) { in pnv_parse_cpuidle_dt()
803 for (i = 0; i < nr_idle_states; i++) in pnv_parse_cpuidle_dt()
814 temp_string, nr_idle_states) < 0) { in pnv_parse_cpuidle_dt()
819 for (i = 0; i < nr_idle_states; i++) in pnv_parse_cpuidle_dt()
822 nr_pnv_idle_states = nr_idle_states; in pnv_parse_cpuidle_dt()