Searched refs:num_aps (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/arch/x86/cpu/ |
H A D | mp_init.c | 310 static int start_aps(int ap_count, atomic_t *num_aps) in start_aps() argument 351 wait_for_aps(num_aps, ap_count, 200, 15); in start_aps() 364 if (wait_for_aps(num_aps, ap_count, 10000, 50)) { in start_aps() 366 atomic_read(num_aps), ap_count); in start_aps() 379 int num_aps = num_cpus - 1; in bsp_do_flight_plan() local 387 if (wait_for_aps(&rec->cpus_entered, num_aps, in bsp_do_flight_plan() 486 int num_aps; in mp_init() local 543 num_aps = num_cpus - 1; in mp_init() 544 ret = start_aps(num_aps, ap_count); in mp_init() 548 num_aps); in mp_init()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | tboot.c | 320 static int tboot_wait_for_aps(int num_aps) in tboot_wait_for_aps() argument 325 while (atomic_read((atomic_t *)&tboot->num_in_wfs) != num_aps && in tboot_wait_for_aps() 334 return !(atomic_read((atomic_t *)&tboot->num_in_wfs) == num_aps); in tboot_wait_for_aps()
|