Lines Matching refs:cpu_count
513 static unsigned int cpu_count = 1; variable
599 if (is_mpidr_duplicate(cpu_count, hwid)) { in acpi_map_gic_cpu_interface()
616 if (cpu_count >= NR_CPUS) in acpi_map_gic_cpu_interface()
620 set_cpu_logical_map(cpu_count, hwid); in acpi_map_gic_cpu_interface()
622 cpu_madt_gicc[cpu_count] = *processor; in acpi_map_gic_cpu_interface()
633 acpi_set_mailbox_entry(cpu_count, processor); in acpi_map_gic_cpu_interface()
635 cpu_count++; in acpi_map_gic_cpu_interface()
699 if (is_mpidr_duplicate(cpu_count, hwid)) { in of_parse_and_init_cpus()
730 if (cpu_count >= NR_CPUS) in of_parse_and_init_cpus()
734 set_cpu_logical_map(cpu_count, hwid); in of_parse_and_init_cpus()
736 early_map_cpu_to_node(cpu_count, of_node_to_nid(dn)); in of_parse_and_init_cpus()
738 cpu_count++; in of_parse_and_init_cpus()
756 if (cpu_count > nr_cpu_ids) in smp_init_cpus()
758 cpu_count, nr_cpu_ids); in smp_init_cpus()