Searched refs:lcpu (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/arch/powerpc/platforms/cell/ |
D | smp.c | 67 static inline int smp_startup_cpu(unsigned int lcpu) in smp_startup_cpu() argument 75 if (cpumask_test_cpu(lcpu, &of_spin_map)) in smp_startup_cpu() 79 pcpu = get_hard_smp_processor_id(lcpu); in smp_startup_cpu() 82 task_thread_info(paca_ptrs[lcpu]->__current)->preempt_count = 0; in smp_startup_cpu() 92 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, lcpu); in smp_startup_cpu()
|
/Linux-v5.10/arch/arm/mach-shmobile/ |
D | smp-sh73a0.c | 29 unsigned int lcpu = cpu_logical_map(cpu); in sh73a0_boot_secondary() local 31 if (((__raw_readl(PSTR) >> (4 * lcpu)) & 3) == 3) in sh73a0_boot_secondary() 32 __raw_writel(1 << lcpu, WUPCR); /* wake up */ in sh73a0_boot_secondary() 34 __raw_writel(1 << lcpu, SRESCR); /* reset */ in sh73a0_boot_secondary()
|
/Linux-v5.10/drivers/cpuidle/ |
D | cpuidle-tegra.c | 58 unsigned long cpu, lcpu, csr; in tegra_cpuidle_report_cpus_state() local 60 for_each_cpu(lcpu, cpu_possible_mask) { in tegra_cpuidle_report_cpus_state() 61 cpu = cpu_logical_map(lcpu); in tegra_cpuidle_report_cpus_state() 65 cpu, cpu_online(lcpu), csr); in tegra_cpuidle_report_cpus_state() 104 unsigned int cpu, lcpu; in tegra_cpuidle_unpark_secondary_cpus() local 106 for_each_cpu(lcpu, cpu_online_mask) { in tegra_cpuidle_unpark_secondary_cpus() 107 cpu = cpu_logical_map(lcpu); in tegra_cpuidle_unpark_secondary_cpus()
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | smp.c | 87 static inline int smp_startup_cpu(unsigned int lcpu) in smp_startup_cpu() argument 95 if (cpumask_test_cpu(lcpu, of_spin_mask)) in smp_startup_cpu() 99 pcpu = get_hard_smp_processor_id(lcpu); in smp_startup_cpu() 103 cpumask_set_cpu(lcpu, of_spin_mask); in smp_startup_cpu() 108 task_thread_info(paca_ptrs[lcpu]->__current)->preempt_count = 0; in smp_startup_cpu()
|
/Linux-v5.10/arch/powerpc/mm/ |
D | numa.c | 466 static int vphn_get_nid(long lcpu) in vphn_get_nid() argument 482 hwid = cpu_to_phys_id[lcpu]; in vphn_get_nid() 484 hwid = get_hard_smp_processor_id(lcpu); in vphn_get_nid() 504 static int numa_setup_cpu(unsigned long lcpu) in numa_setup_cpu() argument 507 int fcpu = cpu_first_thread_sibling(lcpu); in numa_setup_cpu() 510 if (!cpu_present(lcpu)) { in numa_setup_cpu() 511 set_cpu_numa_node(lcpu, first_online_node); in numa_setup_cpu() 525 map_cpu_to_node(lcpu, nid); in numa_setup_cpu() 529 nid = vphn_get_nid(lcpu); in numa_setup_cpu() 533 cpu = of_get_cpu_node(lcpu, NULL); in numa_setup_cpu() [all …]
|
/Linux-v5.10/arch/s390/kernel/ |
D | topology.c | 123 int lcpu, i; in add_cpus_to_mask() local 126 lcpu = smp_find_processor_id(rcore << smp_cpu_mt_shift); in add_cpus_to_mask() 127 if (lcpu < 0) in add_cpus_to_mask() 130 topo = &cpu_topology[lcpu + i]; in add_cpus_to_mask() 135 topo->thread_id = lcpu + i; in add_cpus_to_mask() 137 cpumask_set_cpu(lcpu + i, &drawer->mask); in add_cpus_to_mask() 138 cpumask_set_cpu(lcpu + i, &book->mask); in add_cpus_to_mask() 139 cpumask_set_cpu(lcpu + i, &socket->mask); in add_cpus_to_mask() 140 smp_cpu_set_polarization(lcpu + i, tl_core->pp); in add_cpus_to_mask()
|
/Linux-v5.10/arch/x86/platform/uv/ |
D | uv_time.c | 54 int lcpu; /* systemwide logical cpu number */ member 163 head->cpu[bcpu].lcpu = cpu; in uv_rtc_allocate_timers() 186 c = head->cpu[bcpu].lcpu; in uv_rtc_find_next_timer()
|
/Linux-v5.10/drivers/misc/sgi-gru/ |
D | grukservices.c | 258 int lcpu; in gru_get_cpu_resources() local 263 lcpu = uv_blade_processor_id(); in gru_get_cpu_resources() 264 *cb = bs->kernel_cb + lcpu * GRU_HANDLE_STRIDE; in gru_get_cpu_resources() 265 *dsr = bs->kernel_dsr + lcpu * GRU_NUM_KERNEL_DSR_BYTES; in gru_get_cpu_resources()
|
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/intel/ |
D | i40e.rst | 603 individual lcpu's, making sure to use a set of cpu's included in the
|