/openbmc/qemu/hw/intc/ |
H A D | slavio_intctl.c | 47 #define MAX_CPUS 16 macro 70 qemu_irq cpu_irqs[MAX_CPUS][MAX_PILS]; 71 SLAVIO_CPUINTCTLState slaves[MAX_CPUS]; 196 s->target_cpu = val & (MAX_CPUS - 1); in slavio_intctlm_mem_writel() 228 for (i = 0; i < MAX_CPUS; i++) { in slavio_check_interrupts() 303 for (i = 0; i < MAX_CPUS; i++) { in slavio_set_irq() 310 for (i = 0; i < MAX_CPUS; i++) { in slavio_set_irq() 367 VMSTATE_STRUCT_ARRAY(slaves, SLAVIO_INTCTLState, MAX_CPUS, 1, 381 for (i = 0; i < MAX_CPUS; i++) { in slavio_intctl_reset() 408 for (i = 0; i < MAX_CPUS; i++) { in slavio_intctl_print_info() [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx6/ |
H A D | mp.c | 15 #define MAX_CPUS 4 macro 18 static uint32_t cpu_reset_mask[MAX_CPUS] = { 25 static uint32_t cpu_ctrl_mask[MAX_CPUS] = {
|
/openbmc/qemu/hw/ppc/ |
H A D | ppce500_spin.c | 40 #define MAX_CPUS 32 macro 57 SpinInfo spin[MAX_CPUS]; 65 for (i = 0; i < MAX_CPUS; i++) { in spin_reset() 174 "e500 spin pv device", sizeof(SpinInfo) * MAX_CPUS); in ppce500_spin_initfn()
|
H A D | prep.c | 50 #define MAX_CPUS 1 macro
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | cpuidle44xx.c | 24 #define MAX_CPUS 2 macro 65 static struct powerdomain *mpu_pd, *cpu_pd[MAX_CPUS]; 66 static struct clockdomain *cpu_clkdm[MAX_CPUS]; 69 static bool cpu_done[MAX_CPUS];
|
/openbmc/linux/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 39 MAX_CPUS = 256 variable 62 last_sec_cpu = [0] * MAX_CPUS 63 last_usec_cpu = [0] * MAX_CPUS 264 cpu_mask = zeros((MAX_CPUS,), dtype=int) 297 if int(p) < MAX_CPUS : 300 for i in range (0, MAX_CPUS):
|
/openbmc/linux/tools/virtio/virtio-trace/ |
H A D | trace-agent.h | 7 #define MAX_CPUS 256 macro 23 struct rw_thread_info *rw_ti[MAX_CPUS];
|
H A D | trace-agent.c | 37 } else if (nr_cpus > MAX_CPUS) { in get_total_cpus() 38 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus() 225 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop()
|
/openbmc/linux/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 44 MAX_CPUS = 256 variable 72 last_sec_cpu = [0] * MAX_CPUS 73 last_usec_cpu = [0] * MAX_CPUS 96 … number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS)) 511 cpu_mask = zeros((MAX_CPUS,), dtype=int) 543 if int(p) < MAX_CPUS : 546 for i in range (0, MAX_CPUS):
|
/openbmc/qemu/hw/timer/ |
H A D | slavio_timer.c | 51 #define MAX_CPUS 16 macro 70 CPUTimerState cputimer[MAX_CPUS + 1]; 363 VMSTATE_STRUCT_ARRAY(cputimer, SLAVIO_TIMERState, MAX_CPUS + 1, 3, 375 for (i = 0; i <= MAX_CPUS; i++) { in slavio_timer_reset() 399 for (i = 0; i <= MAX_CPUS; i++) { in slavio_timer_init()
|
/openbmc/linux/tools/testing/selftests/mqueue/ |
H A D | mq_perf_tests.c | 77 #define MAX_CPUS 64 macro 79 int cpus_to_pin[MAX_CPUS]; 81 pthread_t cpu_threads[MAX_CPUS]; 563 cpus_online = MIN(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main() 593 } while (next_option && num_cpus_to_pin < MAX_CPUS); in main()
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | cpus.py | 22 MAX_CPUS = 4096 variable 30 if tid > (0x100000000 - MAX_CPUS - 2):
|
/openbmc/linux/drivers/scsi/be2iscsi/ |
H A D | be_main.h | 56 #define MAX_CPUS 64U macro 280 char *msi_name[MAX_CPUS]; 370 struct be_aic_obj aic_obj[MAX_CPUS]; 994 struct be_eq_obj be_eq[MAX_CPUS]; 995 struct be_queue_info be_cq[MAX_CPUS - 1];
|
/openbmc/qemu/hw/sparc/ |
H A D | leon3.c | 57 #define MAX_CPUS 4 macro 75 } info[MAX_CPUS]; 442 mc->max_cpus = MAX_CPUS; in leon3_generic_machine_init()
|
H A D | sun4m.c | 85 #define MAX_CPUS 16 macro 361 for (i = 0; i < MAX_CPUS; i++) { in slavio_intctl_init() 367 for (i = 0; i < MAX_CPUS; i++) { in slavio_intctl_init() 391 for (i = 0; i < MAX_CPUS; i++) { in slavio_timer_init_all() 827 qemu_irq *cpu_irqs[MAX_CPUS], slavio_irq[32], slavio_cpu_irq[MAX_CPUS]; in sun4m_hw_init() 852 for (i = smp_cpus; i < MAX_CPUS; i++) in sun4m_hw_init() 876 for (i = 0; i < MAX_CPUS; i++) { in sun4m_hw_init()
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | augmented_raw_syscalls.bpf.c | 23 #define MAX_CPUS 4096 macro 43 __uint(max_entries, MAX_CPUS);
|
H A D | lock_contention.bpf.c | 12 #define MAX_CPUS 1024 macro 443 for (int i = 0; i < MAX_CPUS; i++) { in BPF_PROG()
|
/openbmc/linux/tools/accounting/ |
H A D | procacct.c | 76 #define MAX_CPUS 32 macro 84 char cpumask[100+6*MAX_CPUS];
|
H A D | getdelays.c | 64 #define MAX_CPUS 32 macro 72 char cpumask[100+6*MAX_CPUS];
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | Kconfig | 42 config MAX_CPUS config
|
/openbmc/linux/tools/perf/ |
H A D | builtin-sched.c | 50 #define MAX_CPUS 4096 macro 170 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS); 872 if (cpu >= MAX_CPUS || cpu < 0) in replay_switch_event() 1142 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event() 1213 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event() 1584 BUG_ON(this_cpu.cpu >= MAX_CPUS || this_cpu.cpu < 0); in map_switch_event() 1590 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event() 3218 sched->cpu_last_switched = calloc(MAX_CPUS, sizeof(*(sched->cpu_last_switched))); in setup_cpus_switch_event() 3222 sched->curr_pid = malloc(MAX_CPUS * sizeof(*(sched->curr_pid))); in setup_cpus_switch_event() 3228 for (i = 0; i < MAX_CPUS; i++) in setup_cpus_switch_event() [all …]
|
H A D | builtin-timechart.c | 316 #define MAX_CPUS 4096 macro 1989 cpus_cstate_start_times = calloc(MAX_CPUS, sizeof(*cpus_cstate_start_times)); in cmd_timechart() 1992 cpus_cstate_state = calloc(MAX_CPUS, sizeof(*cpus_cstate_state)); in cmd_timechart() 1997 cpus_pstate_start_times = calloc(MAX_CPUS, sizeof(*cpus_pstate_start_times)); in cmd_timechart() 2002 cpus_pstate_state = calloc(MAX_CPUS, sizeof(*cpus_pstate_state)); in cmd_timechart()
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge.h | 29 #define MAX_CPUS 8 macro 30 #define MAX_TX_RINGS MAX_CPUS 31 #define MAX_RX_RINGS ((MAX_CPUS * 2) + 1) 1777 u32 intr_states[MAX_CPUS];
|
/openbmc/openpower-occ-control/ |
H A D | meson.build | 34 conf_data.set('MAX_CPUS', get_option('max-cpus'))
|
/openbmc/qemu/tests/unit/ |
H A D | test-smp-parse.c | 24 #define MAX_CPUS 4096 /* set the max CPUs supported by the machine as 4096 */ macro 932 mc->max_cpus = MAX_CPUS; in machine_base_class_init() 943 mc->max_cpus = MAX_CPUS - 1; in machine_generic_invalid_class_init()
|