Lines Matching refs:num_aps
431 static int start_aps(int num_aps, atomic_t *ap_count) in start_aps() argument
437 if (num_aps == 0) in start_aps()
449 debug("Attempting to start %d APs\n", num_aps); in start_aps()
472 wait_for_aps(ap_count, num_aps, 200, 15); in start_aps()
485 if (wait_for_aps(ap_count, num_aps, 10000, 50)) { in start_aps()
487 atomic_read(ap_count), num_aps); in start_aps()
505 int num_aps) in bsp_do_flight_plan() argument
518 if (wait_for_aps(&rec->cpus_entered, num_aps, in bsp_do_flight_plan()
619 int num_aps = num_cpus - 1; /* number of non-BSPs to get this message */ in run_ap_work() local
653 cpus_accepted, num_aps); in run_ap_work()
656 } while (cpus_accepted != num_aps); in run_ap_work()
840 int num_aps, num_cpus; in mp_init() local
884 num_aps = num_cpus - 1; in mp_init()
885 ret = start_aps(num_aps, ap_count); in mp_init()
889 num_aps); in mp_init()
894 ret = bsp_do_flight_plan(cpu, &mp_info, num_aps); in mp_init()