/freebsd/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/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 -------- [all...] |
/freebsd/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/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/sys/contrib/device-tree/src/arm64/airoha/ |
H A D | en7581.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> 7 interrupt-parent = <&gic>; 8 #address-cells = <2>; 9 #size-cells = <2>; 11 reserved-memory { 12 #address-cells = <2>; 13 #size-cells = <2>; 16 npu-binary@84000000 { [all …]
|
/freebsd/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/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/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/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/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-cells = <2>; 16 #address-cells = <1>; 17 #size-cells = <0>; 19 cpu0: cpu@1 { 21 device_type = "cpu"; [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-cells = <2>; 14 #size-cells = <2>; 17 #address-cells = <1>; 18 #size-cells = <0>; 20 cpu0: cpu@0 { [all …]
|
/freebsd/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/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-motherboard-rs2.dtsi" 22 compatible = "arm,fvp-base-revc", "arm,vexpress"; 23 interrupt-parent = <&gic>; 24 #address-cells = <2>; 25 #size-cells = <2>; [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-parent = <&gic>; 23 #address-cells = <2>; 24 #size-cells = <2>; 27 stdout-path = "serial0:115200n8"; 38 #address-cells = <2>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
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-bindings/dma/qcom-gpi.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/power/qcom-rpmpd.h> 15 interrupt-parent = <&intc>; 16 #address-cells = <2>; [all …]
|
/freebsd/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/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/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/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-controller/arm-gic.h> 10 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | Host.h | 1 //===- llvm/TargetParser/Host.h - Host machine detection -------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 26 /// getDefaultTargetTriple() - Return the default target triple the compiler 30 /// CPU_TYPE-VENDOR-OPERATING_SYSTEM 32 /// CPU_TYPE-VENDOR-KERNEL-OPERATING_SYSTEM 35 /// getProcessTriple() - Return an appropriate target triple for generating 39 /// getHostCPUName - Get the LLVM name for the host CPU. The particular format 40 /// of the name is target dependent, and suitable for passing as -mcpu to the [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCTargetDesc.cpp | 1 //===-- SystemZMCTargetDesc.cpp - SystemZ target descriptions -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 132 static unsigned Map[SystemZ::NUM_TARGET_REGS]; in getFirstReg() local 136 Map[GR32Regs[I]] = I; in getFirstReg() 137 Map[GRH32Regs[I]] = I; in getFirstReg() 138 Map[GR64Regs[I]] = I; in getFirstReg() 139 Map[GR128Regs[I]] = I; in getFirstReg() 140 Map[FP128Regs[I]] = I; in getFirstReg() 141 Map[AR32Regs[I]] = I; in getFirstReg() [all …]
|
/freebsd/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/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | p4080si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 compatible = "fsl,p4080-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|