Searched refs:cpu (Results 1 - 25 of 1425) sorted by relevance

1234567891011>>

/arch/sh/include/cpu-sh2a/cpu/
H A Dwatchdog.h1 #include <cpu-sh2/cpu/watchdog.h>
/arch/arm/mach-tegra/
H A Dcommon.h3 extern int tegra_cpu_kill(unsigned int cpu);
4 extern void tegra_cpu_die(unsigned int cpu);
H A Dplatsmp.c39 static void tegra_secondary_init(unsigned int cpu) argument
41 cpumask_set_cpu(cpu, &tegra_cpu_init_mask);
45 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) argument
47 cpu = cpu_logical_map(cpu);
57 tegra_put_cpu_in_reset(cpu);
65 flowctrl_write_cpu_halt(cpu, 0);
67 tegra_enable_cpu_clock(cpu);
68 flowctrl_write_cpu_csr(cpu, 0); /* Clear flow controller CSR. */
69 tegra_cpu_out_of_reset(cpu);
73 tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle) argument
142 tegra114_boot_secondary(unsigned int cpu, struct task_struct *idle) argument
171 tegra_boot_secondary(unsigned int cpu, struct task_struct *idle) argument
[all...]
/arch/arm/plat-versatile/include/plat/
H A Dplatsmp.h13 extern void versatile_secondary_init(unsigned int cpu);
14 extern int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle);
/arch/mips/include/asm/
H A Dr4k-timer.h15 extern void synchronise_count_master(int cpu);
16 extern void synchronise_count_slave(int cpu);
20 static inline void synchronise_count_master(int cpu) argument
24 static inline void synchronise_count_slave(int cpu) argument
H A Dtopology.h15 #define topology_physical_package_id(cpu) (cpu_data[cpu].package)
16 #define topology_core_id(cpu) (cpu_data[cpu].core)
17 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
18 #define topology_thread_cpumask(cpu) (&cpu_sibling_map[cpu])
H A Damon.h10 int amon_cpu_avail(int cpu);
11 int amon_cpu_start(int cpu, unsigned long pc, unsigned long sp,
/arch/arm/mach-nomadik/
H A DMakefile11 obj-$(CONFIG_NOMADIK_8815) += cpu-8815.o
/arch/arm64/include/asm/
H A Dcpuidle.h5 extern int cpu_init_idle(unsigned int cpu);
7 static inline int cpu_init_idle(unsigned int cpu) argument
H A Dtopology.h18 #define topology_physical_package_id(cpu) (cpu_topology[cpu].cluster_id)
19 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
20 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling)
21 #define topology_thread_cpumask(cpu) (&cpu_topology[cpu].thread_sibling)
25 const struct cpumask *cpu_coregroup_mask(int cpu);
/arch/arm/mach-hisi/
H A Dcore.h6 extern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr);
7 extern int hi3xxx_get_cpu_jump(int cpu);
11 extern void hi3xxx_cpu_die(unsigned int cpu);
12 extern int hi3xxx_cpu_kill(unsigned int cpu);
13 extern void hi3xxx_set_cpu(int cpu, bool enable);
17 extern void hix5hd2_set_cpu(int cpu, bool enable);
18 extern void hix5hd2_cpu_die(unsigned int cpu);
/arch/arm/mach-shmobile/
H A Dplatsmp.c22 void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) argument
24 shmobile_smp_fn[cpu] = 0;
27 shmobile_smp_mpidr[cpu] = cpu_logical_map(cpu);
28 shmobile_smp_fn[cpu] = fn;
29 shmobile_smp_arg[cpu] = arg;
34 int shmobile_smp_cpu_disable(unsigned int cpu) argument
/arch/powerpc/platforms/pseries/
H A Doffline_states.h13 extern enum cpu_state_vals get_cpu_current_state(int cpu);
14 extern void set_cpu_current_state(int cpu, enum cpu_state_vals state);
15 extern void set_preferred_offline_state(int cpu, enum cpu_state_vals state);
16 extern void set_default_offline_state(int cpu);
18 static inline enum cpu_state_vals get_cpu_current_state(int cpu) argument
23 static inline void set_cpu_current_state(int cpu, enum cpu_state_vals state) argument
27 static inline void set_preferred_offline_state(int cpu, enum cpu_state_vals state) argument
31 static inline void set_default_offline_state(int cpu) argument
36 extern enum cpu_state_vals get_preferred_offline_state(int cpu);
/arch/arm/boot/dts/
H A Daxm5516-cpus.dtsi17 cpu-map {
20 cpu = <&CPU0>;
23 cpu = <&CPU1>;
26 cpu = <&CPU2>;
29 cpu = <&CPU3>;
34 cpu = <&CPU4>;
37 cpu = <&CPU5>;
40 cpu = <&CPU6>;
43 cpu = <&CPU7>;
48 cpu
[all...]
/arch/s390/include/asm/
H A Dtopology.h7 struct cpu;
21 #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id)
22 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
23 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_mask)
24 #define topology_book_id(cpu) (cpu_topology[cpu].book_id)
25 #define topology_book_cpumask(cpu) (
39 topology_cpu_init(struct cpu *cpu) argument
[all...]
/arch/tile/include/asm/
H A Dtopology.h22 /* Mappings between logical cpu number and node number. */
26 /* Returns the number of the node containing CPU 'cpu'. */
27 static inline int cpu_to_node(int cpu) argument
29 return cpu_2_node[cpu];
55 #define topology_physical_package_id(cpu) ((void)(cpu), 0)
56 #define topology_core_id(cpu) (cpu)
57 #define topology_core_cpumask(cpu) ((void)(cpu), cpu_online_mas
[all...]
/arch/parisc/include/asm/
H A Dsmp.h25 #define cpu_number_map(cpu) (cpu)
26 #define cpu_logical_map(cpu) (cpu)
30 extern void arch_send_call_function_single_ipi(int cpu);
35 #define raw_smp_processor_id() (current_thread_info()->cpu)
48 static inline void __cpu_die (unsigned int cpu) { argument
/arch/arm/include/asm/
H A Dtopology.h18 #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id)
19 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
20 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling)
21 #define topology_thread_cpumask(cpu) (&cpu_topology[cpu].thread_sibling)
25 const struct cpumask *cpu_coregroup_mask(int cpu);
H A Dcpu.h2 * arch/arm/include/asm/cpu.h
14 #include <linux/cpu.h>
17 struct cpu cpu; member in struct:cpuinfo_arm
H A Dhardirq.h19 #define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++
20 #define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member)
23 u64 smp_irq_stat_cpu(unsigned int cpu);
25 #define smp_irq_stat_cpu(cpu) 0
/arch/sh/include/asm/
H A Dsmp.h15 #define raw_smp_processor_id() (current_thread_info()->cpu)
17 /* Map from cpu id to sequential logical cpu number. */
19 #define cpu_number_map(cpu) __cpu_number_map[cpu]
21 /* The reverse map from sequential logical cpu number to cpu id. */
23 #define cpu_logical_map(cpu) __cpu_logical_map[cpu]
40 void local_timer_setup(unsigned int cpu);
54 __cpu_die(unsigned int cpu) argument
[all...]
/arch/sparc/include/asm/
H A Dtopology_64.h8 static inline int cpu_to_node(int cpu) argument
10 return numa_cpu_lookup_table[cpu];
41 #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
42 #define topology_core_id(cpu) (cpu_data(cpu).core_id)
43 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
44 #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu))
48 cpu_coregroup_mask(int cpu) argument
[all...]
/arch/arm/mach-imx/
H A Dhotplug.c46 void imx_cpu_die(unsigned int cpu) argument
50 * We use the cpu jumping argument register to sync with
52 * the register being cleared to kill the cpu.
54 imx_set_cpu_arg(cpu, ~0);
60 int imx_cpu_kill(unsigned int cpu) argument
64 while (imx_get_cpu_arg(cpu) == 0)
67 imx_enable_cpu(cpu, false);
68 imx_set_cpu_arg(cpu, 0);
/arch/arm64/kernel/
H A Dcpuidle.c18 int cpu_init_idle(unsigned int cpu) argument
21 struct device_node *cpu_node = of_cpu_device_node_get(cpu);
26 if (cpu_ops[cpu] && cpu_ops[cpu]->cpu_init_idle)
27 ret = cpu_ops[cpu]->cpu_init_idle(cpu_node, cpu);
/arch/microblaze/kernel/cpu/
H A Dcpuinfo-static.c23 void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu) argument
28 (fcpu(cpu, "xlnx,use-barrel") ? PVR0_USE_BARREL_MASK : 0) |
29 (fcpu(cpu, "xlnx,use-msr-instr") ? PVR2_USE_MSR_INSTR : 0) |
30 (fcpu(cpu, "xlnx,use-pcmp-instr") ? PVR2_USE_PCMP_INSTR : 0) |
31 (fcpu(cpu, "xlnx,use-div") ? PVR0_USE_DIV_MASK : 0);
43 ci->use_mult = fcpu(cpu, "xlnx,use-hw-mul");
51 ci->use_fpu = fcpu(cpu, "xlnx,use-fpu");
59 (fcpu(cpu, "xlnx,unaligned-exceptions") ?
61 (fcpu(cpu, "xlnx,ill-opcode-exception") ?
63 (fcpu(cpu, "xln
[all...]

Completed in 835 milliseconds

1234567891011>>