Searched refs:cpu (Results 701 - 725 of 2844) sorted by relevance

<<21222324252627282930>>

/linux-master/arch/arm/mach-versatile/
H A Dspc.c14 #include <linux/cpu.h>
52 #define STANDBYWFI_STAT_A15_CPU_MASK(cpu) (1 << (cpu))
53 #define STANDBYWFI_STAT_A7_CPU_MASK(cpu) (1 << (3 + (cpu)))
143 * @cpu: mpidr[7:0] bitfield describing cpu affinity level
150 void ve_spc_cpu_wakeup_irq(u32 cluster, u32 cpu, bool set) argument
157 mask = BIT(cpu);
176 * @cpu
179 ve_spc_set_resume_addr(u32 cluster, u32 cpu, u32 addr) argument
215 standbywfi_cpu_mask(u32 cpu, u32 cluster) argument
234 ve_spc_cpu_in_wfi(u32 cpu, u32 cluster) argument
546 int cpu, cluster; local
[all...]
/linux-master/kernel/trace/
H A Dtrace_irqsoff.c104 int cpu; local
112 cpu = raw_smp_processor_id();
113 if (likely(!per_cpu(tracing_cpu, cpu)))
125 *data = per_cpu_ptr(tr->array_buffer.data, cpu);
162 int cpu; local
169 for_each_possible_cpu(cpu)
170 per_cpu(tracing_cpu, cpu) = 0;
325 int cpu)
332 T1 = ftrace_now(cpu);
357 update_max_tr_single(tr, current, cpu);
322 check_critical_timing(struct trace_array *tr, struct trace_array_cpu *data, unsigned long parent_ip, int cpu) argument
374 int cpu; local
407 int cpu; local
[all...]
/linux-master/drivers/bus/
H A Dmips_cdmm.c13 #include <linux/cpu.h>
75 retval = add_uevent_var(env, "CDMM_CPU=%u", cdev->cpu);
102 CDMM_ATTR(cpu, "%u\n", dev->cpu);
202 _BUILD_RET_##_ret work_on_cpu(cdev->cpu, \
293 unsigned int cpu; local
298 cpu = smp_processor_id();
299 /* Avoid early use of per-cpu primitives before initialised */
300 if (cpu == 0)
304 bus_p = per_cpu_ptr(&mips_cdmm_buses, cpu);
519 unsigned int cpu = smp_processor_id(); local
620 mips_cdmm_cpu_down_prep(unsigned int cpu) argument
652 mips_cdmm_cpu_online(unsigned int cpu) argument
[all...]
/linux-master/arch/powerpc/perf/
H A Dimc-pmu.c339 static struct imc_pmu_ref *get_nest_pmu_ref(int cpu) argument
341 return per_cpu(local_nest_imc_refc, cpu);
357 static int ppc_nest_imc_cpu_offline(unsigned int cpu) argument
364 * Check in the designated list for this cpu. Dont bother
367 if (!cpumask_test_and_clear_cpu(cpu, &nest_imc_cpumask))
384 * Now that this cpu is one of the designated,
385 * find a next cpu a) which is online and b) in same chip.
387 nid = cpu_to_node(cpu);
392 * If this(target) is the last cpu in the cpumask for this chip,
393 * check for any possible online cpu i
421 ppc_nest_imc_cpu_online(unsigned int cpu) argument
599 core_imc_mem_init(int cpu, int size) argument
635 is_core_imc_mem_inited(int cpu) argument
647 ppc_core_imc_cpu_online(unsigned int cpu) argument
673 ppc_core_imc_cpu_offline(unsigned int cpu) argument
945 ppc_thread_imc_cpu_online(unsigned int cpu) argument
950 ppc_thread_imc_cpu_offline(unsigned int cpu) argument
1238 ppc_trace_imc_cpu_online(unsigned int cpu) argument
1243 ppc_trace_imc_cpu_offline(unsigned int cpu) argument
1528 int nid, i, cpu; local
1688 int nr_cores, cpu, res = -ENOMEM; local
[all...]
/linux-master/arch/sh/kernel/cpu/sh3/
H A Dserial-sh7720.c5 #include <cpu/serial.h>
6 #include <cpu/gpio.h>
/linux-master/arch/arm/mach-shmobile/
H A Dsmp-emev2.c24 static int emev2_boot_secondary(unsigned int cpu, struct task_struct *idle) argument
26 arch_send_wakeup_ipi_mask(cpumask_of(cpu_logical_map(cpu)));
/linux-master/arch/arm/mach-alpine/
H A Dalpine_cpu_pm.c18 #define AL_SYSFAB_POWER_CONTROL(cpu) (0x2000 + (cpu)*0x100 + 0x20)
51 np = of_find_compatible_node(NULL, NULL, "al,alpine-cpu-resume");
/linux-master/arch/mips/kernel/
H A Dpm.c41 unsigned int cpu = smp_processor_id(); local
45 write_c0_entryhi(cpu_asid(cpu, current->mm));
/linux-master/arch/csky/mm/
H A Dcontext.c19 void check_and_switch_context(struct mm_struct *mm, unsigned int cpu) argument
21 asid_check_context(&asid_info, &mm->context.asid, cpu, mm);
/linux-master/arch/arm/mach-aspeed/
H A Dplatsmp.c15 static int aspeed_g6_boot_secondary(unsigned int cpu, struct task_struct *idle) argument
27 writel_relaxed((0xABBAAB00 | (cpu & 0xff)), base + BOOT_SIG);
/linux-master/kernel/debug/
H A Ddebug_core.h23 int cpu; member in struct:kgdb_state
33 #define DCPU_WANT_MASTER 0x1 /* Waiting to become a master kgdb cpu */
34 #define DCPU_NEXT_MASTER 0x2 /* Transition from one master cpu to another */
35 #define DCPU_IS_SLAVE 0x4 /* Slave cpu enter exception */
36 #define DCPU_WANT_BT 0x8 /* Slave cpu should backtrace then clear flag */
62 /* Switch from one cpu to another */
79 extern void kdb_dump_stack_on_cpu(int cpu);
/linux-master/tools/perf/python/
H A Dtwatch.py34 for cpu in cpus:
35 event = evlist.read_on_cpu(cpu)
38 print("cpu: {0}, pid: {1}, tid: {2} {3}".format(event.sample_cpu,
50 cpu: 3, pid: 31463, tid: 31593 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31593, switch_out: 1 }
51 cpu: 1, pid: 31463, tid: 31489 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31489, switch_out: 1 }
52 cpu: 2, pid: 31463, tid: 31496 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31496, switch_out: 1 }
53 cpu: 3, pid: 31463, tid: 31491 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31491, switch_out: 0 }
/linux-master/drivers/media/pci/tw68/
H A Dtw68-risc.c154 buf->cpu = dma_alloc_coherent(&pci->dev, buf->size, &buf->dma,
156 if (buf->cpu == NULL)
160 rp = buf->cpu;
170 buf->cpu[1] = cpu_to_le32(buf->dma + 8);
172 BUG_ON((buf->jmp - buf->cpu + 2) * sizeof(buf->cpu[0]) > buf->size);
218 pr_debug("%s: risc_program_dump: risc=%p, buf->cpu=0x%p, buf->jmp=0x%p\n",
219 core->name, buf, buf->cpu, buf->jmp);
220 for (addr = buf->cpu; addr <= buf->jmp; addr += 2)
/linux-master/arch/arm/include/asm/
H A Dcpuidle.h37 int (*init)(struct device_node *, int cpu);
51 extern int arm_cpuidle_init(int cpu);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dperf_buffer.c17 static void on_sample(void *ctx, int cpu, void *data, __u32 size) argument
22 if (cpu_data != cpu)
23 CHECK(cpu_data != cpu, "check_cpu_data",
24 "cpu_data %d != cpu %d\n", cpu_data, cpu);
26 CPU_SET(cpu, cpu_seen);
29 int trigger_on_cpu(int cpu) argument
35 CPU_SET(cpu, &cpu_set);
38 if (err && CHECK(err, "set_affinity", "cpu #%d, err %d\n", cpu, er
[all...]
/linux-master/arch/openrisc/include/asm/
H A Dthread_info.h46 __u32 cpu; /* current CPU */ member in struct:thread_info
66 .cpu = 0, \
/linux-master/arch/hexagon/include/asm/
H A Dthread_info.h34 __u32 cpu; /* current cpu */ member in struct:thread_info
62 .cpu = 0, \
/linux-master/arch/um/include/asm/
H A Dthread_info.h22 __u32 cpu; /* current CPU */ member in struct:thread_info
34 .cpu = 0, \
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_util.h47 #define bpf_percpu(name, cpu) name[(cpu)].v
/linux-master/arch/nios2/include/asm/
H A Dthread_info.h39 __u32 cpu; /* current CPU */ member in struct:thread_info
53 .cpu = 0, \
/linux-master/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_common.h73 struct pci_dev *isst_if_get_pci_dev(int cpu, int bus, int dev, int fn);
76 int isst_store_cmd(int cmd, int sub_command, u32 cpu, int mbox_cmd,
/linux-master/arch/mips/include/asm/
H A Dirq.h29 * | task sp | <- irq_stack[cpu] + IRQ_STACK_START
38 static inline bool on_irq_stack(int cpu, unsigned long sp) argument
40 unsigned long low = (unsigned long)irq_stack[cpu];
/linux-master/arch/powerpc/kernel/
H A Dstacktrace.c160 unsigned int cpu; local
163 for_each_cpu(cpu, mask) {
164 if (cpu == smp_processor_id()) {
171 if (smp_send_safe_nmi_ipi(cpu, handle_backtrace_ipi, delay_us)) {
173 while (cpumask_test_cpu(cpu, mask) && delay_us) {
183 p = paca_ptrs[cpu];
185 cpumask_clear_cpu(cpu, mask);
187 pr_warn("CPU %d didn't respond to backtrace IPI, inspecting paca.\n", cpu);
/linux-master/drivers/macintosh/
H A Dwindfarm_rm31.c202 static int read_one_cpu_vals(int cpu, s32 *temp, s32 *power) argument
208 rc = wf_sensor_get(sens_cpu_temp[cpu], &dtemp);
210 DBG(" CPU%d: temp reading error !\n", cpu);
213 DBG_LOTS(" CPU%d: temp = %d.%03d\n", cpu, FIX32TOPRINT((dtemp)));
217 rc = wf_sensor_get(sens_cpu_volts[cpu], &volts);
219 DBG(" CPU%d, volts reading error !\n", cpu);
222 DBG_LOTS(" CPU%d: volts = %d.%03d\n", cpu, FIX32TOPRINT((volts)));
225 rc = wf_sensor_get(sens_cpu_amps[cpu], &amps);
227 DBG(" CPU%d, current reading error !\n", cpu);
230 DBG_LOTS(" CPU%d: amps = %d.%03d\n", cpu, FIX32TOPRIN
247 int err, cpu, i; local
293 cpu_setup_pid(int cpu) argument
686 struct device_node *cpu; local
[all...]
/linux-master/arch/arc/include/asm/
H A Dthread_info.h42 int cpu; /* current CPU */ member in struct:thread_info
55 .cpu = 0, \

Completed in 482 milliseconds

<<21222324252627282930>>