Home
last modified time | relevance | path

Searched defs:cpu (Results 226 – 250 of 2511) sorted by relevance

12345678910>>...101

/openbmc/linux/include/asm-generic/
H A Dtopology.h35 #define cpu_to_node(cpu) ((void)(cpu),0) argument
41 #define set_cpu_numa_node(cpu, node) argument
44 #define cpu_to_mem(cpu) ((void)(cpu),0) argument
72 #define set_cpu_numa_mem(cpu, node) argument
/openbmc/qemu/target/rx/
H A Dcpu.c32 RXCPU *cpu = RX_CPU(cs); in rx_cpu_set_pc() local
39 RXCPU *cpu = RX_CPU(cs); in rx_cpu_get_pc() local
47 RXCPU *cpu = RX_CPU(cs); in rx_cpu_synchronize_from_tb() local
57 RXCPU *cpu = RX_CPU(cs); in rx_restore_state_to_opc() local
141 RXCPU *cpu = opaque; in rx_cpu_set_irq() local
158 static void rx_cpu_disas_set_info(CPUState *cpu, disassemble_info *info) in rx_cpu_disas_set_info()
179 RXCPU *cpu = RX_CPU(obj); in rx_cpu_init() local
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Damd_fam14h_idle.c99 unsigned int cpu) in amd_fam14h_get_pci_info()
124 static int amd_fam14h_init(cstate_t *state, unsigned int cpu) in amd_fam14h_init()
159 static int amd_fam14h_disable(cstate_t *state, unsigned int cpu) in amd_fam14h_disable()
196 unsigned int cpu) in fam14h_nbp1_count()
208 unsigned int cpu) in fam14h_get_count_percent()
230 int num, cpu; in amd_fam14h_start() local
247 int num, cpu; in amd_fam14h_stop() local
H A Dmperf_monitor.c93 static int get_aperf_mperf(int cpu, unsigned long long *aval, in get_aperf_mperf()
130 static int mperf_init_stats(unsigned int cpu) in mperf_init_stats()
143 static int mperf_measure_stats(unsigned int cpu) in mperf_measure_stats()
157 unsigned int cpu) in mperf_get_count_percent()
194 unsigned int cpu) in mperf_get_count_freq()
227 int cpu; in mperf_start() local
240 int cpu; in mperf_stop() local
/openbmc/linux/kernel/
H A Dsmp.c53 int smpcfd_prepare_cpu(unsigned int cpu) in smpcfd_prepare_cpu()
75 int smpcfd_dead_cpu(unsigned int cpu) in smpcfd_dead_cpu()
85 int smpcfd_dying_cpu(unsigned int cpu) in smpcfd_dying_cpu()
112 send_call_function_single_ipi(int cpu) in send_call_function_single_ipi()
217 int cpu = -1; in csd_lock_wait_toolong() local
349 void __smp_call_single_queue(int cpu, struct llist_node *node) in __smp_call_single_queue()
390 static int generic_exec_single(int cpu, struct __call_single_data *csd) in generic_exec_single()
601 int smp_call_function_single(int cpu, smp_call_func_t func, void *info, in smp_call_function_single()
681 int smp_call_function_single_async(int cpu, struct __call_single_data *csd) in smp_call_function_single_async()
721 unsigned int cpu; in smp_call_function_any() local
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dcpu-probe.c196 static inline void set_elf_platform(int cpu, const char *plat) in set_elf_platform()
1037 static inline void cpu_probe_legacy(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_legacy()
1305 static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_mips()
1472 static inline void cpu_probe_alchemy(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_alchemy()
1512 static inline void cpu_probe_sibyte(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_sibyte()
1532 static inline void cpu_probe_sandcraft(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_sandcraft()
1545 static inline void cpu_probe_nxp(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_nxp()
1557 static inline void cpu_probe_broadcom(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_broadcom()
1606 static inline void cpu_probe_cavium(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_cavium()
1678 static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu) in cpu_probe_loongson()
[all …]
H A Dcacheinfo.c20 int init_cache_level(unsigned int cpu) in init_cache_level()
58 static void fill_cpumask_siblings(int cpu, cpumask_t *cpu_map) in fill_cpumask_siblings()
67 static void fill_cpumask_cluster(int cpu, cpumask_t *cpu_map) in fill_cpumask_cluster()
77 int populate_cache_leaves(unsigned int cpu) in populate_cache_leaves()
/openbmc/qemu/target/i386/kvm/
H A Dhyperv.c20 int hyperv_x86_synic_add(X86CPU *cpu) in hyperv_x86_synic_add()
30 void hyperv_x86_synic_reset(X86CPU *cpu) in hyperv_x86_synic_reset()
35 void hyperv_x86_synic_update(X86CPU *cpu) in hyperv_x86_synic_update()
53 int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit) in kvm_hv_handle_exit()
/openbmc/linux/drivers/soc/fsl/qbman/
H A Dqman_portal.c45 static void portal_set_cpu(struct qm_portal_config *pcfg, int cpu) in portal_set_cpu()
127 unsigned int cpu) in qman_portal_update_sdest()
141 static int qman_offline_cpu(unsigned int cpu) in qman_offline_cpu()
159 static int qman_online_cpu(unsigned int cpu) in qman_online_cpu()
187 int irq, cpu, err, i; in qman_portal_probe() local
/openbmc/linux/arch/sparc/kernel/
H A Dsmp_32.c79 int cpu, num = 0; in smp_cpus_done() local
123 void arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule()
137 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi()
145 int cpu; in arch_send_call_function_ipi_mask() local
253 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up()
338 unsigned int cpu; in sparc_start_secondary() local
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-stats.c19 int cpu; in rtrs_clt_update_wc_stats() local
43 int cpu; in rtrs_clt_stats_migration_from_cnt_to_str() local
62 int cpu; in rtrs_clt_stats_migration_to_cnt_to_str() local
85 int cpu; in rtrs_clt_stats_rdma_to_str() local
113 int cpu; in rtrs_clt_reset_rdma_stats() local
129 int cpu; in rtrs_clt_reset_cpu_migr_stats() local
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle-tegra.c53 unsigned long cpu, lcpu, csr; in tegra_cpuidle_report_cpus_state() local
99 unsigned int cpu, lcpu; in tegra_cpuidle_unpark_secondary_cpus() local
112 static int tegra_cpuidle_cc6_enter(unsigned int cpu) in tegra_cpuidle_cc6_enter()
164 int index, unsigned int cpu) in tegra_cpuidle_state_enter()
211 static int tegra_cpuidle_adjust_state_index(int index, unsigned int cpu) in tegra_cpuidle_adjust_state_index()
234 unsigned int cpu = cpu_logical_map(dev->cpu); in tegra_cpuidle_enter() local
/openbmc/linux/arch/mips/cavium-octeon/
H A Dsmp.c100 void octeon_send_ipi_single(int cpu, unsigned int action) in octeon_send_ipi_single()
209 static int octeon_boot_secondary(int cpu, struct task_struct *idle) in octeon_boot_secondary()
290 unsigned int cpu = smp_processor_id(); in octeon_cpu_disable() local
305 static void octeon_cpu_die(unsigned int cpu) in octeon_cpu_die()
345 int cpu = cpu_number_map(cvmx_get_core_num()); in play_dead() local
363 static int octeon_update_boot_vector(unsigned int cpu) in octeon_update_boot_vector()
473 static void octeon_78xx_send_ipi_single(int cpu, unsigned int action) in octeon_78xx_send_ipi_single()
487 unsigned int cpu; in octeon_78xx_send_ipi_mask() local
/openbmc/qemu/target/loongarch/
H A Dcpu.c119 LoongArchCPU *cpu = opaque; in loongarch_cpu_set_irq() local
379 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_la464_initfn() local
477 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_la132_initfn() local
617 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_get_lsx() local
630 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_set_lsx() local
642 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_get_lasx() local
655 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_set_lasx() local
674 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_set_lbt() local
686 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_set_pmu() local
693 LoongArchCPU *cpu = LOONGARCH_CPU(obj); in loongarch_cpu_post_init() local
[all …]
/openbmc/qemu/accel/stubs/
H A Dtcg-stub.c17 void tb_flush(CPUState *cpu) in tb_flush()
21 G_NORETURN void cpu_loop_exit(CPUState *cpu) in cpu_loop_exit()
26 G_NORETURN void cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc) in cpu_loop_exit_restore()
/openbmc/linux/arch/x86/xen/
H A Denlighten.c139 static int xen_cpu_up_online(unsigned int cpu) in xen_cpu_up_online()
164 static void xen_vcpu_setup_restore(int cpu) in xen_vcpu_setup_restore()
185 int cpu; in xen_vcpu_restore() local
213 void xen_vcpu_info_reset(int cpu) in xen_vcpu_info_reset()
224 void xen_vcpu_setup(int cpu) in xen_vcpu_setup()
310 int cpu; in xen_reboot() local
365 void xen_pin_vcpu(int cpu) in xen_pin_vcpu()
/openbmc/linux/drivers/xen/events/
H A Devents_2l.c50 static void evtchn_2l_remove(evtchn_port_t evtchn, unsigned int cpu) in evtchn_2l_remove()
55 static void evtchn_2l_bind_to_cpu(evtchn_port_t evtchn, unsigned int cpu, in evtchn_2l_bind_to_cpu()
89 unsigned int cpu = get_cpu(); in evtchn_2l_unmask() local
147 static inline xen_ulong_t active_evtchns(unsigned int cpu, in active_evtchns()
164 static void evtchn_2l_handle_events(unsigned cpu, struct evtchn_loop_ctrl *ctrl) in evtchn_2l_handle_events()
267 int cpu = smp_processor_id(); in xen_debug_interrupt() local
357 static int evtchn_2l_percpu_deinit(unsigned int cpu) in evtchn_2l_percpu_deinit()
/openbmc/qemu/target/ppc/
H A Dmmu-hash32.h62 static inline hwaddr ppc_hash32_hpt_base(PowerPCCPU *cpu) in ppc_hash32_hpt_base()
67 static inline hwaddr ppc_hash32_hpt_mask(PowerPCCPU *cpu) in ppc_hash32_hpt_mask()
72 static inline target_ulong ppc_hash32_load_hpte0(PowerPCCPU *cpu, in ppc_hash32_load_hpte0()
80 static inline target_ulong ppc_hash32_load_hpte1(PowerPCCPU *cpu, in ppc_hash32_load_hpte1()
88 static inline void ppc_hash32_store_hpte0(PowerPCCPU *cpu, in ppc_hash32_store_hpte0()
96 static inline void ppc_hash32_store_hpte1(PowerPCCPU *cpu, in ppc_hash32_store_hpte1()
104 static inline hwaddr get_pteg_offset32(PowerPCCPU *cpu, hwaddr hash) in get_pteg_offset32()
/openbmc/linux/arch/arm/mach-exynos/
H A Dfirmware.c58 static int exynos_cpu_boot(int cpu) in exynos_cpu_boot()
82 static int exynos_set_cpu_boot_addr(int cpu, unsigned long boot_addr) in exynos_set_cpu_boot_addr()
103 static int exynos_get_cpu_boot_addr(int cpu, unsigned long *boot_addr) in exynos_get_cpu_boot_addr()
241 void exynos_set_boot_flag(unsigned int cpu, unsigned int mode) in exynos_set_boot_flag()
254 void exynos_clear_boot_flag(unsigned int cpu, unsigned int mode) in exynos_clear_boot_flag()
/openbmc/linux/arch/arm/mach-hisi/
H A Dplatsmp.c23 void hi3xxx_set_cpu_jump(int cpu, void *jump_addr) in hi3xxx_set_cpu_jump()
31 int hi3xxx_get_cpu_jump(int cpu) in hi3xxx_get_cpu_jump()
84 static int hi3xxx_boot_secondary(unsigned int cpu, struct task_struct *idle) in hi3xxx_boot_secondary()
117 static int hix5hd2_boot_secondary(unsigned int cpu, struct task_struct *idle) in hix5hd2_boot_secondary()
152 static int hip01_boot_secondary(unsigned int cpu, struct task_struct *idle) in hip01_boot_secondary()
/openbmc/linux/drivers/thermal/intel/
H A Dintel_tcc.c20 int intel_tcc_get_tjmax(int cpu) in intel_tcc_get_tjmax()
47 int intel_tcc_get_offset(int cpu) in intel_tcc_get_offset()
74 int intel_tcc_set_offset(int cpu, int offset) in intel_tcc_set_offset()
114 int intel_tcc_get_temp(int cpu, int *temp, bool pkg) in intel_tcc_get_temp()
/openbmc/linux/arch/riscv/include/asm/
H A Dacpi.h49 #define cpu_physical_id(cpu) cpuid_to_hartid_map(cpu) argument
68 static inline int acpi_numa_get_nid(unsigned int cpu) { return NUMA_NO_NODE; } in acpi_numa_get_nid()
71 static inline struct acpi_madt_rintc *acpi_cpu_get_madt_rintc(int cpu) in acpi_cpu_get_madt_rintc()
77 unsigned int cpu, const char **isa) in acpi_get_riscv_isa()
/openbmc/linux/arch/powerpc/sysdev/xive/
H A Dcommon.c75 static unsigned int xive_ipi_cpu_to_irq(unsigned int cpu) in xive_ipi_cpu_to_irq()
270 notrace void xmon_xive_do_dump(int cpu) in xmon_xive_do_dump()
503 static bool xive_try_pick_target(int cpu) in xive_try_pick_target()
527 static void xive_dec_target_count(int cpu) in xive_dec_target_count()
551 int cpu, first, num, i; in xive_find_target_in_mask() local
600 int cpu = -1; in xive_pick_irq_target() local
1056 static void xive_cause_ipi(int cpu) in xive_cause_ipi()
1182 static int xive_request_ipi(unsigned int cpu) in xive_request_ipi()
1198 static int xive_setup_cpu_ipi(unsigned int cpu) in xive_setup_cpu_ipi()
1244 noinstr static void xive_cleanup_cpu_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_cleanup_cpu_ipi()
[all …]
/openbmc/linux/arch/mips/sibyte/bcm1480/
H A Dirq.c42 void bcm1480_mask_irq(int cpu, int irq) in bcm1480_mask_irq()
59 void bcm1480_unmask_irq(int cpu, int irq) in bcm1480_unmask_irq()
81 int i = 0, old_cpu, cpu, int_on, k; in bcm1480_set_affinity() local
239 unsigned int i, cpu; in arch_init_irq() local
310 unsigned int cpu = smp_processor_id(); in dispatch_ip2() local
334 unsigned int cpu = smp_processor_id(); in plat_irq_dispatch() local
/openbmc/linux/arch/ia64/kernel/
H A Dsmp.c170 unsigned int cpu; in send_IPI_mask() local
209 unsigned int cpu, self_cpu; in kdump_smp_send_init() local
223 arch_smp_send_reschedule (int cpu) in arch_smp_send_reschedule()
233 smp_send_local_flush_tlb (int cpu) in smp_send_local_flush_tlb()
259 int mycpu, cpu, flush_mycpu = 0; in smp_flush_tlb_cpumask() local
318 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi()

12345678910>>...101