Home
last modified time | relevance | path

Searched refs:boot_cpu_id (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/arch/sparc/kernel/
H A Dleon_kernel.c86 oldmask = LEON3_BYPASS_LOAD_PA(LEON_IMASK(boot_cpu_id)); in leon_eirq_setup()
87 LEON3_BYPASS_STORE_PA(LEON_IMASK(boot_cpu_id), (oldmask | mask)); in leon_eirq_setup()
113 return boot_cpu_id; in irq_choose_cpu()
118 #define irq_choose_cpu(affinity) boot_cpu_id
288 if (cpu == boot_cpu_id) in leon_percpu_timer_ce_interrupt()
411 icsel = LEON3_BYPASS_LOAD_PA(&leon3_irqctrl_regs->icsel[boot_cpu_id/8]); in leon_init_timers()
412 icsel = (icsel >> ((7 - (boot_cpu_id&0x7)) * 4)) & 0xf; in leon_init_timers()
416 LEON3_BYPASS_STORE_PA(&leon3_irqctrl_regs->mask[boot_cpu_id], 0); in leon_init_timers()
H A Dhead_32.S429 sethi %hi(boot_cpu_id), %g2 ! boot-cpu index
432 ldub [%g2 + %lo(boot_cpu_id)], %g1
442 stub %g1, [%g2 + %lo(boot_cpu_id)]
467 sethi %hi(boot_cpu_id), %g5
468 stb %g4, [%g5 + %lo(boot_cpu_id)]
535 sethi %hi(boot_cpu_id), %g2
536 ldub [%g2 + %lo(boot_cpu_id)], %g3
541 stub %g3, [%g2 + %lo(boot_cpu_id)]
H A Dsetup_32.c108 unsigned char boot_cpu_id = 0xff; /* 0xff will make it into DATA section... */ variable
H A Dsmp_32.c192 smp_store_cpu_info(boot_cpu_id); in smp_prepare_cpus()
H A Dtime_32.c122 BUG_ON(smp_processor_id() != boot_cpu_id); in setup_timer_ce()
H A Dsun4d_smp.c117 if (boot_cpu_id) in smp4d_boot_cpus()
H A Dsun4d_irq.c489 target_cpu = boot_cpu_id; in sun4d_init_sbi_irq()
/openbmc/linux/arch/ia64/kernel/
H A Dsmpboot.c499 int boot_cpu_id = hard_smp_processor_id(); in smp_build_cpu_map() local
505 ia64_cpu_to_sapicid[0] = boot_cpu_id; in smp_build_cpu_map()
510 if (sapicid == boot_cpu_id) in smp_build_cpu_map()
525 int boot_cpu_id = hard_smp_processor_id(); in smp_prepare_cpus() local
536 ia64_cpu_to_sapicid[0] = boot_cpu_id; in smp_prepare_cpus()
538 printk(KERN_INFO "Boot processor id 0x%x/0x%x\n", 0, boot_cpu_id); in smp_prepare_cpus()
/openbmc/linux/arch/loongarch/include/asm/
H A Dbootinfo.h34 int boot_cpu_id; member
/openbmc/linux/arch/sparc/include/asm/
H A Dsetup.h18 extern unsigned char boot_cpu_id;
H A Dsmp_32.h31 extern unsigned char boot_cpu_id;
/openbmc/linux/arch/loongarch/kernel/
H A Dacpi.c73 if (cpuid == loongson_sysconf.boot_cpu_id) in set_processor_mask()
195 loongson_sysconf.boot_cpu_id = read_csr_cpuid(); in acpi_boot_table_init()
H A Dsmp.c263 if (cpuid == loongson_sysconf.boot_cpu_id) { in fdt_smp_setup()
/openbmc/linux/arch/mips/include/asm/mach-loongson64/
H A Dloongson.h27 u16 boot_cpu_id; member
/openbmc/linux/arch/mips/loongson64/
H A Denv.c148 loongson_sysconf.boot_cpu_id = ecpu->cpu_startup_core_id; in prom_lefi_init_env()
/openbmc/linux/drivers/irqchip/
H A Dirq-loongson-liointc.c280 priv->map_cache[i] |= BIT(loongson_sysconf.boot_cpu_id); in liointc_init()
/openbmc/linux/arch/alpha/kernel/
H A Dsmp.c582 if (hard_smp_processor_id() != boot_cpu_id) in smp_send_stop()