Lines Matching refs:apic_id
217 static int find_cpu_by_apic_id(int apic_id, struct udevice **devp) in find_cpu_by_apic_id() argument
227 if (plat->cpu_id == apic_id) { in find_cpu_by_apic_id()
243 int apic_id; in ap_init() local
249 apic_id = lapicid(); in ap_init()
250 ret = find_cpu_by_apic_id(apic_id, &dev); in ap_init()
252 debug("Unknown CPU apic_id %x\n", apic_id); in ap_init()
256 debug("AP: slot %d apic_id %x, dev %s\n", cpu_index, apic_id, in ap_init()
546 int apic_id; in get_bsp() local
552 apic_id = lapicid(); in get_bsp()
553 ret = find_cpu_by_apic_id(apic_id, &dev); in get_bsp()
555 printf("Cannot find boot CPU, APIC ID %d\n", apic_id); in get_bsp()