Lines Matching refs:cpu_count
506 static unsigned int cpu_count = 1; variable
537 if (is_mpidr_duplicate(cpu_count, hwid)) { in acpi_map_gic_cpu_interface()
554 if (cpu_count >= NR_CPUS) in acpi_map_gic_cpu_interface()
558 set_cpu_logical_map(cpu_count, hwid); in acpi_map_gic_cpu_interface()
560 cpu_madt_gicc[cpu_count] = *processor; in acpi_map_gic_cpu_interface()
571 acpi_set_mailbox_entry(cpu_count, processor); in acpi_map_gic_cpu_interface()
573 cpu_count++; in acpi_map_gic_cpu_interface()
637 if (is_mpidr_duplicate(cpu_count, hwid)) { in of_parse_and_init_cpus()
668 if (cpu_count >= NR_CPUS) in of_parse_and_init_cpus()
672 set_cpu_logical_map(cpu_count, hwid); in of_parse_and_init_cpus()
674 early_map_cpu_to_node(cpu_count, of_node_to_nid(dn)); in of_parse_and_init_cpus()
676 cpu_count++; in of_parse_and_init_cpus()
694 if (cpu_count > nr_cpu_ids) in smp_init_cpus()
696 cpu_count, nr_cpu_ids); in smp_init_cpus()