/freebsd-13-stable/sys/mips/mips/ |
H A D | tlb.c | 271 unsigned ntlb, i, cpu; local 273 cpu = PCPU_GET(cpuid); 278 tlb_state[cpu].wired = mips_rd_wired(); 283 tlb_state[cpu].entry[i].entryhi = mips_rd_entryhi(); 284 tlb_state[cpu].entry[i].pagemask = mips_rd_pagemask(); 285 tlb_state[cpu].entry[i].entrylo0 = mips_rd_entrylo0(); 286 tlb_state[cpu].entry[i].entrylo1 = mips_rd_entrylo1(); 340 unsigned i, cpu, ntlb; local 347 cpu = ((addr >> 4) % 16) * 10 + (addr % 16); 349 cpu [all...] |
/freebsd-13-stable/sys/mips/beri/ |
H A D | beri_mp.c | 61 int cpu; local 63 cpu = beri_get_cpu(); 65 return (cpu); 72 phandle_t cpus, cpu; local 96 if ((cpu = OF_child(cpus)) <= 0) { 102 if (OF_getprop(cpu, "reg", ®, sizeof(reg)) <= 0) { 103 printf("%s: cpu device with no reg property\n", 108 printf("%s: cpu ID too large (%d > %d)\n", __func__, 112 cpu_of_nodes[reg] = cpu; 115 if (OF_getprop(cpu, "enabl 260 phandle_t cpu; local [all...] |
/freebsd-13-stable/sys/arm/arm/ |
H A D | mp_machdep.c | 51 #include <machine/cpu.h> 75 void set_stackptrs(int cpu); 142 init_secondary(int cpu) argument 152 set_stackptrs(cpu); 155 pc = &__pcpu[cpu]; 161 while(mp_naps < (cpu - 1)) 164 pcpu_init(pc, cpu, sizeof(struct pcpu)); 166 dpcpu_init(dpcpu[cpu - 1], cpu); 243 u_int cpu; local 379 ipi_cpu(int cpu, u_int ipi) argument [all...] |
/freebsd-13-stable/sys/powerpc/cpufreq/ |
H A D | mpc85xx_jog.c | 33 #include <sys/cpu.h> 41 #include <machine/cpu.h> 65 int cpu; member in struct:mpc85xx_jog_softc 101 DRIVER_MODULE(mpc85xx_jog, cpu, mpc85xx_jog_driver, mpc85xx_jog_devclass, 0, 0); 184 phandle_t cpu; local 192 cpu = ofw_bus_get_node(device_get_parent(dev)); 194 if (cpu <= 0) { 199 OF_getencprop(cpu, "reg", &sc->cpu, sizeof(sc->cpu)); 243 int cpu; member in struct:jog_rv_args [all...] |
/freebsd-13-stable/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 45 #include <machine/cpu.h> 68 static int powermac_smp_start_cpu(platform_t, struct pcpu *cpu); 239 powermac_smp_fill_cpuref(struct cpuref *cpuref, phandle_t cpu) argument 244 cpuref->cr_hwref = cpu; 245 res = OF_getprop(cpu, "reg", &cpuid, sizeof(cpuid)); 263 phandle_t cpu, dev, root; local 285 cpu = OF_child(dev); 287 while (cpu != 0) { 288 res = OF_getprop(cpu, "device_type", buf, sizeof(buf)); 289 if (res > 0 && strcmp(buf, "cpu") 303 phandle_t cpu; local 342 phandle_t cpu; local [all...] |
/freebsd-13-stable/contrib/bearssl/T0/ |
H A D | OpcodeCall.cs | 49 internal override void Run(CPU cpu) argument 51 target.Run(cpu);
|
H A D | TPointerBase.cs | 49 internal virtual void Execute(T0Comp ctx, CPU cpu) argument
|
/freebsd-13-stable/sys/powerpc/pseries/ |
H A D | xics.c | 112 int cpu; member in struct:xicp_intvec 168 xicp_mem_for_cpu(int cpu) argument 176 if (cpu >= sc->cpu_range[0] && cpu < sc->cpu_range[1]) 177 return (sc->mem[cpu - sc->cpu_range[0]]); 326 cell_t status, cpu; local 340 CPU_FOREACH(cpu) 341 if (CPU_ISSET(cpu, &cpumask)) ncpus++; 345 CPU_FOREACH(cpu) { 346 if (!CPU_ISSET(cpu, 437 cell_t status, cpu; local 498 xicp_ipi(device_t dev, u_int cpu) argument [all...] |
/freebsd-13-stable/sys/arm/ti/ |
H A D | ti_smc.S | 30 .cpu cortex-a8
|
/freebsd-13-stable/sys/arm64/coresight/ |
H A D | coresight_cmd.c | 97 coresight_init_event(int cpu, struct coresight_event *event) argument 105 cs_dev->pdata->cpu == cpu) { 115 cs_dev->pdata->cpu == cpu) 129 coresight_enable(int cpu, struct coresight_event *event) argument 141 coresight_disable(int cpu, struct coresight_event *event) argument 153 coresight_read(int cpu, struct coresight_event *event) argument
|
/freebsd-13-stable/sys/x86/iommu/ |
H A D | iommu_intrmap.h | 36 int iommu_map_msi_intr(device_t src, u_int cpu, u_int vector, u_int cookie, 39 int iommu_map_ioapic_intr(u_int ioapic_id, u_int cpu, u_int vector, bool edge,
|
/freebsd-13-stable/sys/powerpc/powernv/ |
H A D | platform_powernv.c | 42 #include <machine/cpu.h> 77 static int powernv_smp_start_cpu(platform_t, struct pcpu *cpu); 140 phandle_t cpu; local 190 cpu = OF_peer(0); 191 cpu = OF_child(cpu); 192 while (cpu != 0) { 193 res = OF_getprop(cpu, "name", buf, sizeof(buf)); 196 cpu = OF_peer(cpu); 288 phandle_t cpu, dev, root; local 321 phandle_t cpu, dev; local 450 phandle_t cpu, dev, root; local [all...] |
/freebsd-13-stable/sys/riscv/riscv/ |
H A D | identcpu.c | 46 #include <machine/cpu.h> 150 /* Skip any non-CPU nodes, such as cpu-map. */ 189 u_int cpu; local 197 cpu = PCPU_GET(cpuid); 203 cpu_desc[cpu].cpu_impl = impl_id; 204 cpu_desc[cpu].cpu_impl_name = cpu_implementers[i].impl_name; 214 cpu_desc[cpu].cpu_part_num = part_id; 215 cpu_desc[cpu].cpu_part_name = cpu_partsp[i].part_name; 221 if (cpu == 0 || bootverbose) { 222 printf("CPU(%d): %s %s\n", cpu, [all...] |
/freebsd-13-stable/usr.sbin/pmcstudy/ |
H A D | pmcstudy.c | 170 int cpu; /* CPU we are on */ member in struct:counters 475 allocstall1(struct counters *cpu, int pos) argument 482 unhalt = find_counter(cpu, "CPU_CLK_UNHALTED.THREAD_P"); 483 partial = find_counter(cpu, "PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW"); 497 allocstall2(struct counters *cpu, int pos) argument 504 unhalt = find_counter(cpu, "CPU_CLK_UNHALTED.THREAD_P"); 505 partial = find_counter(cpu, "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP"); 519 br_mispredict(struct counters *cpu, int pos) argument 528 unhalt = find_counter(cpu, "CPU_CLK_UNHALTED.THREAD_P"); 529 brctr = find_counter(cpu, "BR_MISP_RETIRE 543 br_mispredictib(struct counters *cpu, int pos) argument 597 br_mispredict_broad(struct counters *cpu, int pos) argument 638 splitloadib(struct counters *cpu, int pos) argument 672 splitload(struct counters *cpu, int pos) argument 697 splitload_sb(struct counters *cpu, int pos) argument 722 splitstore_sb(struct counters *cpu, int pos) argument 746 splitstore(struct counters *cpu, int pos) argument 769 contested(struct counters *cpu, int pos) argument 793 contested_has(struct counters *cpu, int pos) argument 817 contestedbroad(struct counters *cpu, int pos) argument 847 blockstoreforward(struct counters *cpu, int pos) argument 871 cache2(struct counters *cpu, int pos) argument 907 datasharing(struct counters *cpu, int pos) argument 935 datasharing_has(struct counters *cpu, int pos) argument 963 cache2ib(struct counters *cpu, int pos) argument 989 cache2has(struct counters *cpu, int pos) argument 1027 cache2broad(struct counters *cpu, int pos) argument 1054 cache1(struct counters *cpu, int pos) argument 1078 cache1ib(struct counters *cpu, int pos) argument 1103 cache1broad(struct counters *cpu, int pos) argument 1128 dtlb_missload(struct counters *cpu, int pos) argument 1155 dtlb_missstore(struct counters *cpu, int pos) argument 1185 itlb_miss(struct counters *cpu, int pos) argument 1209 itlb_miss_broad(struct counters *cpu, int pos) argument 1237 icache_miss(struct counters *cpu, int pos) argument 1265 icache_miss_has(struct counters *cpu, int pos) argument 1291 lcp_stall(struct counters *cpu, int pos) argument 1316 frontendstall(struct counters *cpu, int pos) argument 1340 clears(struct counters *cpu, int pos) argument 1375 clears_broad(struct counters *cpu, int pos) argument 1412 microassist(struct counters *cpu, int pos) argument 1437 microassist_broad(struct counters *cpu, int pos) argument 1469 aliasing(struct counters *cpu, int pos) argument 1493 aliasing_broad(struct counters *cpu, int pos) argument 1518 fpassists(struct counters *cpu, int pos) argument 1541 otherassistavx(struct counters *cpu, int pos) argument 1565 otherassistsse(struct counters *cpu, int pos) argument 1590 efficiency1(struct counters *cpu, int pos) argument 1615 efficiency2(struct counters *cpu, int pos) argument 2056 do_expression(struct counters *cpu, int pos) argument 2731 user_expr(struct counters *cpu, int pos) argument [all...] |
/freebsd-13-stable/lib/libc/powerpc64/string/ |
H A D | strcpy_resolver.c | 32 #include <machine/cpu.h>
|
H A D | strncpy_resolver.c | 32 #include <machine/cpu.h>
|
/freebsd-13-stable/sys/i386/include/ |
H A D | cputypes.h | 69 extern int cpu;
|
/freebsd-13-stable/sys/powerpc/powerpc/ |
H A D | mp_machdep.c | 55 #include <machine/cpu.h> 150 struct cpuref bsp, cpu; local 157 error = platform_smp_first_cpu(&cpu); 159 if (cpu.cr_cpuid >= MAXCPU) { 160 printf("SMP: cpu%d: skipped -- ID out of range\n", 161 cpu.cr_cpuid); 164 if (CPU_ISSET(cpu.cr_cpuid, &all_cpus)) { 165 printf("SMP: cpu%d: skipped - duplicate ID\n", 166 cpu.cr_cpuid); 171 domain = cpu 378 ipi_cpu(int cpu, u_int ipi) argument [all...] |
/freebsd-13-stable/sys/riscv/include/ |
H A D | smp.h | 52 void ipi_cpu(int cpu, u_int ipi);
|
/freebsd-13-stable/sys/arm64/include/ |
H A D | smp.h | 49 void ipi_cpu(int cpu, u_int ipi);
|
/freebsd-13-stable/usr.sbin/pmcstat/ |
H A D | pmcpl_calltree.h | 39 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
H A D | pmcpl_gprof.h | 43 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
/freebsd-13-stable/sys/x86/x86/ |
H A D | mp_x86.c | 74 #include <machine/cpu.h> 147 static void cpustop_handler_post(u_int cpu); 1107 int cpu; local 1109 for (cpu = 1; cpu < mp_ncpus; cpu++) { 1110 pc = pcpu_find(cpu); 1113 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * 1238 ipi_bitmap_set(int cpu, u_int ipi) argument 1244 cpu_bitmap = &cpuid_to_pcpu[cpu] 1260 ipi_send_cpu(int cpu, u_int ipi) argument 1279 int cpu = PCPU_GET(cpuid); local 1333 int cpu; local 1355 ipi_cpu(int cpu, u_int ipi) argument 1377 int cpu, c; local 1442 int cpu; local 1469 u_int cpu; local 1512 cpustop_handler_post(u_int cpu) argument 1541 u_int cpu; local [all...] |
/freebsd-13-stable/sys/arm/allwinner/ |
H A D | aw_mp.c | 41 #include <machine/cpu.h> 42 #include <machine/cpu-v6.h> 77 #define CPU_PWR_CLAMP(cpu) ((cpu * 4) + CPU_PWR_CLAMP_REG) 92 #define PRCM_CL_PWR_CLAMP(cl, cpu) (0x140 + (cl) * 0x4 + (cpu) * 0x4) 185 /* De-assert cpu core reset */ 205 bus_space_handle_t prcm, int cluster, int cpu) 212 val &= ~(1 << cpu); 217 val &= ~(1 << cpu); 204 aw_mc_mp_start_cpu(bus_space_handle_t cpuscfg, bus_space_handle_t cpuxcfg, bus_space_handle_t prcm, int cluster, int cpu) argument 253 int cluster, cpu; local [all...] |
/freebsd-13-stable/lib/libkvm/ |
H A D | kvm_pcpu.c | 155 kvm_getpcpu(kvm_t *kd, int cpu) argument 168 if (cpu >= maxcpu || pcpu_data[cpu] == NULL) 176 if (kvm_read(kd, (uintptr_t)pcpu_data[cpu], buf, 211 _kvm_dpcpu_setcpu(kvm_t *kd, u_int cpu, int report_error) argument 220 if (cpu >= kd->dpcpu_maxcpus) { 223 __func__, cpu); 226 if (kd->dpcpu_off[cpu] == 0) { 229 __func__, cpu); 232 kd->dpcpu_curcpu = cpu; 329 kvm_dpcpu_setcpu(kvm_t *kd, u_int cpu) argument 349 kvm_read_zpcpu(kvm_t *kd, u_long base, void *buf, size_t size, int cpu) argument [all...] |