/openbmc/qemu/hw/ppc/ |
H A D | ppc_booke.c | 86 static void booke_update_irq(PowerPCCPU *cpu) in booke_update_irq() 202 PowerPCCPU *cpu = opaque; in booke_decr_cb() local 220 PowerPCCPU *cpu = opaque; in booke_fit_cb() local 240 PowerPCCPU *cpu = opaque; in booke_wdt_cb() local 261 PowerPCCPU *cpu = env_archcpu(env); in store_booke_tsr() local 289 PowerPCCPU *cpu = env_archcpu(env); in store_booke_tcr() local 313 PowerPCCPU *cpu = opaque; in ppc_booke_timer_reset_handle() local 331 PowerPCCPU *cpu = opaque; in cpu_state_change_handler() local 344 void ppc_booke_timers_init(PowerPCCPU *cpu, uint32_t freq, uint32_t flags) in ppc_booke_timers_init()
|
/openbmc/linux/arch/powerpc/platforms/85xx/ |
H A D | mpc85xx_pm_ops.c | 23 static void mpc85xx_irq_mask(int cpu) in mpc85xx_irq_mask() 28 static void mpc85xx_irq_unmask(int cpu) in mpc85xx_irq_unmask() 33 static void mpc85xx_cpu_die(int cpu) in mpc85xx_cpu_die() 51 static void mpc85xx_cpu_up_prepare(int cpu) in mpc85xx_cpu_up_prepare()
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-accel-ops.c | 31 CPUState *cpu = arg; in kvm_vcpu_thread_fn() local 65 static void kvm_start_vcpu_thread(CPUState *cpu) in kvm_start_vcpu_thread() 75 static bool kvm_vcpu_thread_is_idle(CPUState *cpu) in kvm_vcpu_thread_is_idle() 86 static int kvm_update_guest_debug_ops(CPUState *cpu) in kvm_update_guest_debug_ops()
|
/openbmc/linux/drivers/hv/ |
H A D | hv.c | 99 int cpu, ret = -ENOMEM; in hv_synic_alloc() local 209 int cpu, ret; in hv_synic_free() local 263 void hv_synic_enable_regs(unsigned int cpu) in hv_synic_enable_regs() 339 int hv_synic_init(unsigned int cpu) in hv_synic_init() 351 void hv_synic_disable_regs(unsigned int cpu) in hv_synic_disable_regs() 444 int hv_synic_cleanup(unsigned int cpu) in hv_synic_cleanup()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | nmi.c | 58 int cpu; in arch_touch_nmi_watchdog() local 130 static inline unsigned int get_nmi_count(int cpu) in get_nmi_count() 141 static void report_broken_nmi(int cpu, int *prev_nmi_count) in report_broken_nmi() 170 int cpu, err; in check_nmi_watchdog() local 290 void watchdog_hardlockup_enable(unsigned int cpu) in watchdog_hardlockup_enable() 311 void watchdog_hardlockup_disable(unsigned int cpu) in watchdog_hardlockup_disable()
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | smp.c | 42 static void boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() 66 struct device_node *cpu; in smp_init_cpus() local 78 unsigned int cpu; in smp_prepare_cpus() local 96 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() 121 unsigned int cpu = smp_processor_id(); in secondary_start_kernel() local 154 unsigned int cpu = smp_processor_id(); in handle_IPI() local 178 void arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule() 207 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-bcm2836.c | 27 int cpu) in bcm2836_arm_irqchip_mask_per_cpu_irq() 36 int cpu) in bcm2836_arm_irqchip_unmask_per_cpu_irq() 139 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_handle_irq() local 156 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_handle_ipi() local 172 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_ipi_ack() local 181 int cpu; in bcm2836_arm_irqchip_ipi_send_mask() local 231 static int bcm2836_cpu_starting(unsigned int cpu) in bcm2836_cpu_starting() 238 static int bcm2836_cpu_dying(unsigned int cpu) in bcm2836_cpu_dying()
|
/openbmc/linux/drivers/base/ |
H A D | arch_numa.c | 64 static void numa_update_cpu(unsigned int cpu, bool remove) in numa_update_cpu() 77 void numa_add_cpu(unsigned int cpu) in numa_add_cpu() 82 void numa_remove_cpu(unsigned int cpu) in numa_remove_cpu() 87 void numa_clear_node(unsigned int cpu) in numa_clear_node() 121 void numa_store_cpu_info(unsigned int cpu) in numa_store_cpu_info() 126 void __init early_map_cpu_to_node(unsigned int cpu, int nid) in early_map_cpu_to_node() 147 int __init early_cpu_to_node(int cpu) in early_cpu_to_node() 160 unsigned int cpu; in setup_per_cpu_areas() local
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | cbe_regs.c | 90 struct cbe_pmd_regs __iomem *cbe_get_cpu_pmd_regs(int cpu) in cbe_get_cpu_pmd_regs() 107 struct cbe_pmd_shadow_regs *cbe_get_cpu_pmd_shadow_regs(int cpu) in cbe_get_cpu_pmd_shadow_regs() 123 struct cbe_iic_regs __iomem *cbe_get_cpu_iic_regs(int cpu) in cbe_get_cpu_iic_regs() 139 struct cbe_mic_tm_regs __iomem *cbe_get_cpu_mic_tm_regs(int cpu) in cbe_get_cpu_mic_tm_regs() 148 u32 cbe_get_hw_thread_id(int cpu) in cbe_get_hw_thread_id() 154 u32 cbe_cpu_to_node(int cpu) in cbe_cpu_to_node() 227 struct device_node *cpu; in cbe_fill_regs_map() local 255 struct device_node *cpu; in cbe_regs_init() local
|
/openbmc/qemu/include/hw/ppc/ |
H A D | ppc.h | 79 static inline void ppc40x_irq_init(PowerPCCPU *cpu) {} in ppc40x_irq_init() 80 static inline void ppc6xx_irq_init(PowerPCCPU *cpu) {} in ppc6xx_irq_init() 81 static inline void ppc970_irq_init(PowerPCCPU *cpu) {} in ppc970_irq_init() 82 static inline void ppcPOWER7_irq_init(PowerPCCPU *cpu) {} in ppcPOWER7_irq_init() 83 static inline void ppcPOWER9_irq_init(PowerPCCPU *cpu) {} in ppcPOWER9_irq_init() 84 static inline void ppce500_irq_init(PowerPCCPU *cpu) {} in ppce500_irq_init() 85 static inline void ppc_irq_reset(PowerPCCPU *cpu) {} in ppc_irq_reset()
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | constant_timer.c | 18 uint64_t cpu_loongarch_get_constant_timer_counter(LoongArchCPU *cpu) in cpu_loongarch_get_constant_timer_counter() 23 uint64_t cpu_loongarch_get_constant_timer_ticks(LoongArchCPU *cpu) in cpu_loongarch_get_constant_timer_ticks() 33 void cpu_loongarch_store_constant_timer_config(LoongArchCPU *cpu, in cpu_loongarch_store_constant_timer_config() 51 LoongArchCPU *cpu = opaque; in loongarch_constant_timer_cb() local
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | topology.h | 32 #define topology_physical_package_id(cpu) (cpu_data[cpu].package) argument 33 #define topology_core_id(cpu) (cpu_data[cpu].core) argument 34 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) argument 35 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu]) argument
|
/openbmc/linux/arch/mips/sibyte/sb1250/ |
H A D | irq.c | 41 void sb1250_mask_irq(int cpu, int irq) in sb1250_mask_irq() 55 void sb1250_unmask_irq(int cpu, int irq) in sb1250_unmask_irq() 73 int i = 0, old_cpu, cpu, int_on; in sb1250_set_affinity() local 145 int cpu; in ack_sb1250_irq() local 273 unsigned int cpu = smp_processor_id(); in dispatch_ip2() local 289 unsigned int cpu = smp_processor_id(); in plat_irq_dispatch() local
|
/openbmc/linux/include/linux/ |
H A D | context_tracking_state.h | 64 static __always_inline int ct_dynticks_cpu(int cpu) in ct_dynticks_cpu() 71 static __always_inline int ct_dynticks_cpu_acquire(int cpu) in ct_dynticks_cpu_acquire() 83 static __always_inline long ct_dynticks_nesting_cpu(int cpu) in ct_dynticks_nesting_cpu() 95 static __always_inline long ct_dynticks_nmi_nesting_cpu(int cpu) in ct_dynticks_nmi_nesting_cpu() 111 static __always_inline bool context_tracking_enabled_cpu(int cpu) in context_tracking_enabled_cpu() 144 static __always_inline bool context_tracking_enabled_cpu(int cpu) { return false; } in context_tracking_enabled_cpu()
|
/openbmc/linux/arch/x86/kernel/apic/ |
H A D | x2apic_cluster.c | 29 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() 41 unsigned int cpu, clustercpu; in __x2apic_send_IPI_mask() local 86 static u32 x2apic_calc_apicid(unsigned int cpu) in x2apic_calc_apicid() 105 static void prefill_clustermask(struct cpumask *cmsk, unsigned int cpu, u32 cluster) in prefill_clustermask() 124 static int alloc_clustermask(unsigned int cpu, u32 cluster, int node) in alloc_clustermask() 176 static int x2apic_prepare_cpu(unsigned int cpu) in x2apic_prepare_cpu()
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 96 static uint64_t kvm_riscv_vector_reg_id(RISCVCPU *cpu, in kvm_riscv_vector_reg_id() 195 RISCVCPU *cpu = RISCV_CPU(obj); in kvm_cpu_get_misa_ext_cfg() local 208 RISCVCPU *cpu = RISCV_CPU(obj); in kvm_cpu_set_misa_ext_cfg() local 235 static void kvm_riscv_update_cpu_misa_ext(RISCVCPU *cpu, CPUState *cs) in kvm_riscv_update_cpu_misa_ext() 330 static void *kvmconfig_get_cfg_addr(RISCVCPU *cpu, KVMCPUConfig *kvmcfg) in kvmconfig_get_cfg_addr() 335 static void kvm_cpu_cfg_set(RISCVCPU *cpu, KVMCPUConfig *multi_ext, in kvm_cpu_cfg_set() 343 static uint32_t kvm_cpu_cfg_get(RISCVCPU *cpu, in kvm_cpu_cfg_get() 356 RISCVCPU *cpu = RISCV_CPU(obj); in kvm_cpu_get_multi_ext_cfg() local 367 RISCVCPU *cpu = RISCV_CPU(obj); in kvm_cpu_set_multi_ext_cfg() local 427 static void kvm_riscv_update_cpu_cfg_isa_ext(RISCVCPU *cpu, CPUState *cs) in kvm_riscv_update_cpu_cfg_isa_ext() [all …]
|
/openbmc/linux/arch/arm/mach-berlin/ |
H A D | platsmp.c | 33 static inline void berlin_perform_reset_cpu(unsigned int cpu) in berlin_perform_reset_cpu() 44 static int berlin_boot_secondary(unsigned int cpu, struct task_struct *idle) in berlin_boot_secondary() 100 static void berlin_cpu_die(unsigned int cpu) in berlin_cpu_die() 107 static int berlin_cpu_kill(unsigned int cpu) in berlin_cpu_kill()
|
/openbmc/qemu/system/ |
H A D | watchpoint.c | 26 int cpu_watchpoint_insert(CPUState *cpu, vaddr addr, vaddr len, in cpu_watchpoint_insert() 65 int cpu_watchpoint_remove(CPUState *cpu, vaddr addr, vaddr len, in cpu_watchpoint_remove() 81 void cpu_watchpoint_remove_by_ref(CPUState *cpu, CPUWatchpoint *watchpoint) in cpu_watchpoint_remove_by_ref() 91 void cpu_watchpoint_remove_all(CPUState *cpu, int mask) in cpu_watchpoint_remove_all()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | smp.c | 199 struct percpu_struct *cpu; in send_secondary_console_msg() local 240 struct percpu_struct *cpu; in recv_secondary_console_msg() local 291 struct percpu_struct *cpu; in secondary_cpu_start() local 402 struct percpu_struct *cpubase, *cpu; in setup_smp() local 476 __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() 486 int cpu; in smp_cpus_done() local 565 arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule() 593 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi() 646 int cpu, this_cpu = smp_processor_id(); in flush_tlb_mm() local 693 int cpu, this_cpu = smp_processor_id(); in flush_tlb_page() local [all …]
|
/openbmc/qemu/target/arm/hvf/ |
H A D | hvf.c | 545 int hvf_get_registers(CPUState *cpu) in hvf_get_registers() 684 int hvf_put_registers(CPUState *cpu) in hvf_put_registers() 810 static void flush_cpu_state(CPUState *cpu) in flush_cpu_state() 818 static void hvf_set_reg(CPUState *cpu, int rt, uint64_t val) in hvf_set_reg() 830 static uint64_t hvf_get_reg(CPUState *cpu, int rt) in hvf_get_reg() 958 void hvf_arm_set_cpu_features_from_host(ARMCPU *cpu) in hvf_arm_set_cpu_features_from_host() 979 void hvf_arch_vcpu_destroy(CPUState *cpu) in hvf_arch_vcpu_destroy() 1002 int hvf_arch_init_vcpu(CPUState *cpu) in hvf_arch_init_vcpu() 1076 void hvf_kick_vcpu_thread(CPUState *cpu) in hvf_kick_vcpu_thread() 1082 static void hvf_raise_exception(CPUState *cpu, uint32_t excp, in hvf_raise_exception() [all …]
|
/openbmc/linux/drivers/ps3/ |
H A D | ps3-lpm.c | 198 u32 ps3_read_phys_ctr(u32 cpu, u32 phys_ctr) in ps3_read_phys_ctr() 242 void ps3_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val) in ps3_write_phys_ctr() 303 u32 ps3_read_ctr(u32 cpu, u32 ctr) in ps3_read_ctr() 324 void ps3_write_ctr(u32 cpu, u32 ctr, u32 val) in ps3_write_ctr() 350 u32 ps3_read_pm07_control(u32 cpu, u32 ctr) in ps3_read_pm07_control() 362 void ps3_write_pm07_control(u32 cpu, u32 ctr, u32 val) in ps3_write_pm07_control() 387 u32 ps3_read_pm(u32 cpu, enum pm_reg_name reg) in ps3_read_pm() 439 void ps3_write_pm(u32 cpu, enum pm_reg_name reg, u32 val) in ps3_write_pm() 509 u32 ps3_get_ctr_size(u32 cpu, u32 phys_ctr) in ps3_get_ctr_size() 528 void ps3_set_ctr_size(u32 cpu, u32 phys_ctr, u32 ctr_size) in ps3_set_ctr_size() [all …]
|
/openbmc/qemu/linux-user/aarch64/ |
H A D | target_prctl.h | 14 ARMCPU *cpu = env_archcpu(env); in do_prctl_sve_get_vl() local 59 ARMCPU *cpu = env_archcpu(env); in do_prctl_sme_get_vl() local 111 ARMCPU *cpu = env_archcpu(env); in do_prctl_reset_keys() local 164 ARMCPU *cpu = env_archcpu(env); in do_prctl_set_tagged_addr_ctrl() local 194 ARMCPU *cpu = env_archcpu(env); in do_prctl_get_tagged_addr_ctrl() local
|
/openbmc/qemu/target/hppa/ |
H A D | int_helper.c | 28 static void eval_interrupt(HPPACPU *cpu) in eval_interrupt() 45 HPPACPU *cpu = opaque; in io_eir_read() local 54 HPPACPU *cpu = opaque; in io_eir_write() local 94 HPPACPU *cpu = HPPA_CPU(cs); in hppa_cpu_do_interrupt() local 266 HPPACPU *cpu = HPPA_CPU(cs); in hppa_cpu_exec_interrupt() local
|
/openbmc/qemu/gdbstub/ |
H A D | gdbstub.c | 202 static uint32_t gdb_get_cpu_pid(CPUState *cpu) in gdb_get_cpu_pid() 234 static GDBProcess *gdb_get_cpu_process(CPUState *cpu) in gdb_get_cpu_process() 241 CPUState *cpu; in find_cpu() local 254 CPUState *cpu; in gdb_get_first_cpu_in_process() local 265 static CPUState *gdb_next_cpu_in_process(CPUState *cpu) in gdb_next_cpu_in_process() 282 static CPUState *gdb_next_attached_cpu(CPUState *cpu) in gdb_next_attached_cpu() 300 CPUState *cpu = first_cpu; in gdb_first_attached_cpu() local 313 CPUState *cpu; in gdb_get_cpu() local 356 CPUState *cpu = gdb_get_first_cpu_in_process(process); in get_feature_xml() local 496 GArray *gdb_get_register_list(CPUState *cpu) in gdb_get_register_list() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | riscv_aclint.c | 59 RISCVCPU *cpu, in riscv_aclint_mtimer_write_timecmp() 133 CPUState *cpu = cpu_by_arch_id(hartid); in riscv_aclint_mtimer_read() local 176 CPUState *cpu = cpu_by_arch_id(hartid); in riscv_aclint_mtimer_write() local 235 CPUState *cpu = cpu_by_arch_id(mtimer->hartid_base + i); in riscv_aclint_mtimer_write() local 296 RISCVCPU *cpu = RISCV_CPU(cpu_by_arch_id(s->hartid_base + i)); in riscv_aclint_mtimer_realize() local 376 CPUState *cpu = cpu_by_arch_id(hartid_base + i); in riscv_aclint_mtimer_create() local 411 CPUState *cpu = cpu_by_arch_id(hartid); in riscv_aclint_swi_read() local 434 CPUState *cpu = cpu_by_arch_id(hartid); in riscv_aclint_swi_write() local 486 RISCVCPU *cpu = RISCV_CPU(qemu_get_cpu(swi->hartid_base + i)); in riscv_aclint_swi_realize() local 549 CPUState *cpu = cpu_by_arch_id(hartid_base + i); in riscv_aclint_swi_create() local
|