/freebsd-src/sys/contrib/device-tree/Bindings/cpu/ |
H A D | cpu-topology.txt | 2 CPU topology binding description 6 1 - Introduction 12 - socket 13 - cluster 14 - core 15 - thread 18 symmetric multi-threading (SMT) is supported or not. 20 For instance in a system where CPUs support SMT, "cpu" nodes represent all 21 threads existing in the system and map to the hierarchy level "thread" above. 22 In systems where SMT is not supported "cpu" nodes represent all cores present [all …]
|
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TraceIntelPTJSONStructs.cpp | 1 //===-- TraceIntelPTJSONStructs.cpp ---------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 28 for (const JSONCpu &cpu : *cpus) in GetCpuIds() 29 cpu_ids.push_back(cpu.id); in GetCpuIds() 46 return o && o.map("systemPath", module.system_path) && in fromJSON() 47 o.map("file", module.file) && in fromJSON() 48 o.map("loadAddress", module.load_address) && in fromJSON() 49 o.map("uuid", module.uuid); in fromJSON() 61 return o && o.map("tid", thread.tid) && o.map("iptTrace", thread.ipt_trace); in fromJSON() [all …]
|
H A D | DecodedThread.h | 1 //===-- DecodedThread.h -----------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 #include "intel-pt.h" 82 /// the same non-interpolated timestamps in nanoseconds. 107 /// The tsc -> nanos conversion utility 123 /// A count for each individual event kind. We use an unordered map instead 142 // libipt error -> count 173 /// Get the most recent CPU id before or at the given trace item index. 179 /// The requested cpu id, or \a LLDB_INVALID_CPU_ID if not available. [all …]
|
/freebsd-src/sys/kern/ |
H A D | subr_smp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 47 #include <machine/cpu.h> 77 /* Array of CPU contexts saved during a panic. */ 85 "Max CPU ID."); 98 int smp_cpus = 1; /* how many cpu's running */ 106 int mp_ncores = -1; /* how many physical cores running */ 140 KASSERT(mp_ncpus >= 1, ("%s: CPU count < 1", __func__)); in mp_setmaxid() 142 ("%s: one CPU but mp_maxid is not zero", __func__)); in mp_setmaxid() 143 KASSERT(mp_maxid >= mp_ncpus - 1, in mp_setmaxid() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/ |
H A D | numa.txt | 6 1 - Introduction 18 2 - numa-node-id 23 a node id is a 32-bit integer. 26 numa-node-id property which contains the node id of the device. 30 numa-node-id = <0>; 33 numa-node-id = <1>; 36 3 - distance-map 39 The optional device tree node distance-map describes the relative 42 - compatible : Should at least contain "numa-distance-map-v1". 44 - distance-matrix [all …]
|
/freebsd-src/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_processor_tbl.c | 1 /*- 2 * Copyright (c) 2005-2006 The FreeBSD Project 5 * Author: Victor Cruceru <soc-victor@freebsd.org> 50 * for HOST-RESOURCES-MIB's hrProcessorTable. 57 int32_t load; /* average cpu usage */ 61 u_char cpu_no; /* which cpu, counted from 0 */ 83 /* periodic timer used to get cpu load stats */ 87 * Returns the CPU usage of a given processor entry. 102 if (e->sample_cnt <= 1) in get_avg_load() 106 if (e->sample_cnt == MAX_CPU_SAMPLES) in get_avg_load() [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/exynos/google/ |
H A D | gs101.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2019-2023 Google LLC 6 * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org> 9 #include <dt-bindings/clock/google,gs101.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controlle [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm/airoha/ |
H A D | en7523.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/clock/en7523-clk.h> 9 interrupt-parent = <&gic>; 10 #address-cells = <1>; 11 #size-cells = <1>; 13 reserved-memory { 14 #address-cells = <1>; [all …]
|
/freebsd-src/share/man/man9/ |
H A D | bus_dma.9 | 119 .Fn bus_dmamap_destroy "bus_dma_tag_t dmat" "bus_dmamap_t map" 121 .Fn bus_dmamap_load "bus_dma_tag_t dmat" "bus_dmamap_t map" "void *buf" \ 125 .Fn bus_dmamap_load_bio "bus_dma_tag_t dmat" "bus_dmamap_t map" \ 129 .Fn bus_dmamap_load_ccb "bus_dma_tag_t dmat" "bus_dmamap_t map" \ 133 .Fn bus_dmamap_load_crp "bus_dma_tag_t dmat" "bus_dmamap_t map" \ 137 .Fn bus_dmamap_load_crp_buffer "bus_dma_tag_t dmat" "bus_dmamap_t map" \ 141 .Fn bus_dmamap_load_mbuf "bus_dma_tag_t dmat" "bus_dmamap_t map" \ 145 .Fn bus_dmamap_load_mbuf_sg "bus_dma_tag_t dmat" "bus_dmamap_t map" \ 148 .Fn bus_dmamap_load_uio "bus_dma_tag_t dmat" "bus_dmamap_t map" \ 152 .Fn bus_dmamap_unload "bus_dma_tag_t dmat" "bus_dmamap_t map" [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sdx75.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/clock/qcom,rpmh.h> 10 #include <dt-bindings/clock/qcom,sdx75-gcc.h> 11 #include <dt-bindings/dma/qcom-gpi.h> 12 #include <dt-binding [all...] |
H A D | x1e80100.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 8 #include <dt-bindings/clock/qcom,x1e80100-dispcc.h> 9 #include <dt-binding [all...] |
H A D | sm6125.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,dispcc-sm6125.h> 7 #include <dt-bindings/clock/qcom,gcc-sm6125.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-binding [all...] |
/freebsd-src/sys/arm/allwinner/ |
H A D | aw_mp.c | 1 /*- 38 #include <machine/cpu.h> 47 /* Register for all dual-core SoC */ 49 /* Register for all quad-core SoC */ 54 /* Register for multi-cluster SoC */ 73 #define CPU_PWR_CLAMP(cpu) ((cpu * 4) + CPU_PWR_CLAMP_REG) argument 88 #define PRCM_CL_PWR_CLAMP(cl, cpu) (0x140 + (cl) * 0x4 + (cpu) * 0x4) argument 103 mp_maxid = ncpu - 1; in aw_mp_setmaxid() 118 panic("Couldn't map the CPUCFG\n"); in aw_mp_start_ap() 122 panic("Couldn't map the CPUCFG\n"); in aw_mp_start_ap() [all …]
|
/freebsd-src/usr.sbin/pmccontrol/ |
H A D | pmccontrol.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 56 #define PMCC_CPU_ALL -1 59 #define PMCC_PMC_ALL -1 90 " " PMCC_PROGRAM_NAME " -L\n" 91 " " PMCC_PROGRAM_NAME " -l\n" 92 " " PMCC_PROGRAM_NAME " -s\n" 93 " " PMCC_PROGRAM_NAME " [-e pmc | -d pmc | -c cpu] ..."; 129 unsigned char *map; in pmcc_do_enable_disable() local 131 int cpu, pmc; in pmcc_do_enable_disable() local [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/arm/ |
H A D | fvp-base-revc.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Architecture Envelope Model (AEM) ARMv8-A 11 /dts-v1/; 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 #include "rtsm_ve-motherboard.dtsi" 18 #include "rtsm_ve-motherboar [all...] |
H A D | rtsm_ve-aemv8a.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Architecture Envelope Model (AEM) ARMv8-A 11 /dts-v1/; 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 #include "rtsm_ve-motherboard.dtsi" 22 interrupt-paren [all...] |
/freebsd-src/sys/contrib/device-tree/src/loongarch/ |
H A D | loongson-2k2000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/clock/loongson,ls2k-clk.h> 12 #address-cells = <2>; 13 #size-cell [all...] |
H A D | loongson-2k1000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/clock/loongson,ls2k-clk.h> 10 #include <dt-bindings/gpio/gpio.h> 13 #address-cell [all...] |
/freebsd-src/sys/dts/arm/ |
H A D | annapurna-alpine.dts | 1 /*- 28 /dts-v1/; 32 #address-cells = <1>; 33 #size-cells = <1>; 40 #address-cells = <1>; 41 #size-cells = <0>; 43 cpu@0 { 44 device_type = "cpu"; 45 compatible = "arm,cortex-a15"; 47 d-cache-line-size = <64>; // 64 bytes [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/marvell/ |
H A D | armada-xp-mv78460.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 #include "armada-xp.dtsi" 17 compatible = "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; 27 #address-cells = <1>; 28 #size-cells = <0>; 29 enable-method = "marvell,armada-xp-smp"; 31 cpu@0 { 32 device_type = "cpu"; 33 compatible = "marvell,sheeva-v7"; [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/apple/ |
H A D | t8112.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/apple-aic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/pinctrl/apple.h> 14 #include <dt-bindings/spmi/spmi.h> 17 compatible = "apple,t8112", "apple,arm-platform"; 19 #address-cells = <2>; 20 #size-cells = <2>; 23 #address-cells = <2>; [all …]
|
H A D | t8103.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/apple-aic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/pinctrl/apple.h> 16 compatible = "apple,t8103", "apple,arm-platform"; 18 #address-cells = <2>; 19 #size-cells = <2>; 22 #address-cells = <2>; 23 #size-cells = <0>; [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | fsl-lx2160a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 // Device Tree Include file for Layerscape-LX2160A family SoC. 5 // Copyright 2018-2020 NXP 7 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controlle [all...] |
/freebsd-src/sys/powerpc/powerpc/ |
H A D | platform_if.m | 1 #- 41 * @defgroup PLATFORM platform - KObj methods for PowerPC platform 45 * map, etc. 62 cpuref->cr_hwref = -1; 63 cpuref->cr_cpuid = 0; 110 * so the platform module can install its own high-priority MMU module at 119 * @brief Return the system's physical memory map. 140 * @brief Return the system's physical memory map. 164 * @brief Get the CPU's timebase frequency, in ticks per second. 166 * @param _cpu CPU whose timebase to query [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCTargetDesc.cpp | 1 //===-- SystemZMCTargetDesc.cpp - SystemZ target descriptions ------- 132 static unsigned Map[SystemZ::NUM_TARGET_REGS]; getFirstReg() local 180 createSystemZMCSubtargetInfo(const Triple & TT,StringRef CPU,StringRef FS) createSystemZMCSubtargetInfo() argument 214 emitMachine(StringRef CPU) emitMachine() argument 222 emitMachine(StringRef CPU) emitMachine() argument [all...] |