Lines Matching refs:cpu_count
506 static unsigned int cpu_count = 1; variable
538 if (is_mpidr_duplicate(cpu_count, hwid)) { in acpi_map_gic_cpu_interface()
555 if (cpu_count >= NR_CPUS) in acpi_map_gic_cpu_interface()
559 set_cpu_logical_map(cpu_count, hwid); in acpi_map_gic_cpu_interface()
561 cpu_madt_gicc[cpu_count] = *processor; in acpi_map_gic_cpu_interface()
572 acpi_set_mailbox_entry(cpu_count, processor); in acpi_map_gic_cpu_interface()
574 cpu_count++; in acpi_map_gic_cpu_interface()
638 if (is_mpidr_duplicate(cpu_count, hwid)) { in of_parse_and_init_cpus()
669 if (cpu_count >= NR_CPUS) in of_parse_and_init_cpus()
673 set_cpu_logical_map(cpu_count, hwid); in of_parse_and_init_cpus()
675 early_map_cpu_to_node(cpu_count, of_node_to_nid(dn)); in of_parse_and_init_cpus()
677 cpu_count++; in of_parse_and_init_cpus()
695 if (cpu_count > nr_cpu_ids) in smp_init_cpus()
697 cpu_count, nr_cpu_ids); in smp_init_cpus()