Searched refs:nb_cpus (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/cpufreq/ |
H A D | armada-8k-cpufreq.c | 104 int opps_index, nb_cpus = num_possible_cpus(); in armada_8k_cpufreq_free_table() local 106 for (opps_index = 0 ; opps_index <= nb_cpus; opps_index++) { in armada_8k_cpufreq_free_table() 132 int ret = 0, opps_index = 0, cpu, nb_cpus; in armada_8k_cpufreq_init() local 145 nb_cpus = num_possible_cpus(); in armada_8k_cpufreq_init() 146 freq_tables = kcalloc(nb_cpus, sizeof(*freq_tables), GFP_KERNEL); in armada_8k_cpufreq_init()
|
/openbmc/qemu/hw/intc/ |
H A D | openpic.c | 369 for (i = 0; i < opp->nb_cpus; i++) { in openpic_update_irq() 377 if (i == opp->nb_cpus) { in openpic_update_irq() 452 int crit_shift = IDR_EP_SHIFT - opp->nb_cpus; in write_IRQreg_idr() 474 for (i = 0; i < opp->nb_cpus; i++) { in write_IRQreg_idr() 596 for (idx = 0; idx < opp->nb_cpus; idx++) { in openpic_gbl_write() 977 if (idx < 0 || idx >= opp->nb_cpus) { in openpic_cpu_write_internal() 1119 if (idx < 0 || idx >= opp->nb_cpus) { in openpic_cpu_read_internal() 1296 for (i = 0; i < opp->nb_cpus; i++) { in openpic_reset() 1537 if (opp->nb_cpus > MAX_CPU) { in openpic_realize() 1586 if (opp->nb_cpus != 1) { in openpic_realize() [all …]
|
/openbmc/u-boot/drivers/misc/ |
H A D | qfw.c | 289 uint16_t nb_cpus; in qemu_fwcfg_online_cpus() local 294 qemu_fwcfg_read_entry(FW_CFG_NB_CPUS, 2, &nb_cpus); in qemu_fwcfg_online_cpus() 296 return le16_to_cpu(nb_cpus); in qemu_fwcfg_online_cpus()
|
/openbmc/qemu/tests/qtest/ |
H A D | fw_cfg-test.c | 21 static uint16_t nb_cpus = 1; variable 117 g_assert_cmpint(qfw_cfg_get_u16(fw_cfg, FW_CFG_NB_CPUS), ==, nb_cpus); in test_fw_cfg_nb_cpus()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | mpic.c | 224 uint32_t nb_cpus; member 453 for (i = 0; i < opp->nb_cpus; i++) { in openpic_update_irq() 462 if (i == opp->nb_cpus) in openpic_update_irq() 583 uint32_t normal_mask = (1UL << opp->nb_cpus) - 1; in write_IRQreg_idr() 586 int crit_shift = IDR_EP_SHIFT - opp->nb_cpus; in write_IRQreg_idr() 608 for (i = 0; i < opp->nb_cpus; i++) { in write_IRQreg_idr() 758 retval |= (opp->nb_cpus - 1) << FRR_NCPU_SHIFT; in openpic_gbl_read() 1757 opp->nb_cpus = max(opp->nb_cpus, cpu + 1); in kvmppc_mpic_connect_vcpu()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | openpic.h | 163 uint32_t nb_cpus; member
|
/openbmc/qemu/hw/arm/ |
H A D | boot.c | 1210 int nb_cpus = 0; in arm_load_kernel() local 1220 nb_cpus++; in arm_load_kernel() 1297 info->is_linux && nb_cpus > 1) { in arm_load_kernel()
|