/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_uncore.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 41 #include <machine/cpu.h> 80 uncore_pcpu_noop(struct pmc_mdep *md, int cpu) in uncore_pcpu_noop() argument 83 (void) cpu; in uncore_pcpu_noop() 88 uncore_pcpu_init(struct pmc_mdep *md, int cpu) in uncore_pcpu_init() argument 95 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in uncore_pcpu_init() 96 ("[ucf,%d] insane cpu number %d", __LINE__, cpu)); in uncore_pcpu_init() 98 PMCDBG1(MDP,INI,1,"uncore-init cpu=%d", cpu); in uncore_pcpu_init() [all …]
|
H A D | hwpmc_core.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 42 #include <machine/cpu.h> 57 #define IAF_RI_TO_MSR(RI) ((RI) + (1 << 30)) 64 #define EV_IS_ARCH_SUPP 1 65 #define EV_IS_ARCH_NOTSUPP -1 75 CORE_AE_INSTRUCTION_RETIRED = 1, 108 core_pcpu_noop(struct pmc_mdep *md, int cpu) in core_pcpu_noop() argument 111 (void) cpu; in core_pcpu_noop() [all …]
|
H A D | hwpmc_powerpc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * 1. Redistributions of source code must retain the above copyright 42 #include <machine/cpu.h> 61 void (*powerpc_set_pmc)(int cpu, int ri, int config); 85 pc = sp[1]; in pmc_save_kernel_callchain() 106 powerpc_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) in powerpc_describe() argument 110 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in powerpc_describe() 111 ("[powerpc,%d], illegal CPU %d", __LINE__, cpu)); in powerpc_describe() 113 phw = &powerpc_pcpu[cpu]->pc_ppcpmcs[ri]; in powerpc_describe() [all …]
|
H A D | hwpmc_armv7.c | 1 /*- 6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) 12 * 1. Redistributions of source code must retain the above copyright 37 #include <machine/cpu.h> 49 * Per-processor information. 65 reg = (1 << pmc); in armv7_interrupt_enable() 77 reg = (1 << pmc); in armv7_interrupt_disable() 89 reg = (1 << pmc); in armv7_counter_enable() 101 reg = (1 << pmc); in armv7_counter_disable() 135 armv7_allocate_pmc(int cpu, int ri, struct pmc *pm, in armv7_allocate_pmc() argument [all …]
|
H A D | hwpmc_dmc620.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003-2008 Joseph Koshy 14 * 1. Redistributions of source code must retain the above copyright 33 /* Support for ARM DMC-620 Memory Controller PMU */ 46 #define DMC620_TYPE_CLK 1 47 #define CLASS2TYPE(c) ((c) - PMC_CLASS_DMC620_PMU_CD2) 127 dmc620_npmcs--; in dmc620_pmc_unregister() 140 dmc620desc(int class, int cpu, int ri) in dmc620desc() argument 145 KASSERT((c & 0xfffffffe) == 0, ("[dmc620,%d] 'c' can only be 0 or 1. " in dmc620desc() [all …]
|
H A D | hwpmc_arm64.c | 1 /*- 11 * 1. Redistributions of source code must retain the above copyright 36 #include <machine/cpu.h> 50 * Per-processor information. 66 reg = (1 << pmc); in arm64_interrupt_enable() 80 reg = (1 << pmc); in arm64_interrupt_disable() 94 reg = (1 << pmc); in arm64_counter_enable() 108 reg = (1 << pmc); in arm64_counter_disable() 165 arm64_allocate_pmc(int cpu, int ri, struct pmc *pm, in arm64_allocate_pmc() argument 171 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in arm64_allocate_pmc() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/cpu/ |
H A D | cpu-capacity.txt | 2 CPU capacity bindings 6 1 - Introduction 15 2 - CPU capacity definition 18 CPU capacity is a number that provides the scheduler information about CPUs 19 heterogeneity. Such heterogeneity can come from micro-architectural differences 23 capture a first-order approximation of the relative performance of CPUs. 25 CPU capacities are obtained by running a suitable benchmark. This binding makes 29 * A "single-threaded" or CPU affine benchmark 30 * Divided by the running frequency of the CPU executing the benchmark 31 * Not subject to dynamic frequency scaling of the CPU [all …]
|
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 22 In systems where SMT is not supported "cpu" nodes represent all cores present 25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups [all …]
|
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 20 from simple wfi to power gating) according to OS PM policies. The CPU states [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | cpu-capacity.txt | 6 1 - Introduction 15 2 - CPU capacity definition 18 CPU capacity is a number that provides the scheduler information about CPUs 19 heterogeneity. Such heterogeneity can come from micro-architectural differences 23 capture a first-order approximation of the relative performance of CPUs. 25 CPU capacities are obtained by running a suitable benchmark. This binding makes 29 * A "single-threaded" or CPU affine benchmark 30 * Divided by the running frequency of the CPU executing the benchmark 31 * Not subject to dynamic frequency scaling of the CPU 36 CPU capacities are obtained by running the Dhrystone benchmark on each CPU at [all …]
|
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 14 1 - Introduction 18 where cores can be put in different low-power states (ranging from simple wfi 19 to power gating) according to OS PM policies. The CPU states representing the 20 range of dynamic idle states that a processor can enter at run-time, can be 25 power states an ARM CPU can be put into are identified by the following list: [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/cavium/ |
H A D | thunder-88xx.dtsi | 2 * Cavium Thunder DTS file - Thunder SoC description 6 * This file is dual-licensed: you can use it either under the terms 24 * MA 02110-1301 USA 51 compatible = "cavium,thunder-88xx"; 52 interrupt-parent = <&gic0>; 53 #address-cells = <2>; 54 #size-cells = <2>; 57 compatible = "arm,psci-0.2"; 62 #address-cells = <2>; 63 #size-cells = <0>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/hisilicon/ |
H A D | hip07.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip07-d05"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/opp/ |
H A D | opp-v2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 - $ref: opp-v2-base.yaml# 17 const: operating-points-v2 22 - | 24 * Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states 28 #address-cells = <1>; [all …]
|
/freebsd/contrib/bearssl/T0/ |
H A D | T0Comp.cs | 38 * Command-line entry point. 52 if (!a.StartsWith("-")) { in Main() 56 if (a == "--") { in Main() 65 while (a.StartsWith("-")) { in Main() 66 a = a.Substring(1); in Main() 74 pval2 = (i + 1) < args.Length in Main() 75 ? args[i + 1] : null; in Main() 79 pval = a.Substring(j + 1); in Main() 151 .GetManifestResourceStream("t0-kernel"))) in Main() 164 Environment.Exit(1); in Main() [all …]
|
/freebsd/crypto/openssh/ |
H A D | config.sub | 3 # Copyright 1992-2022 Free Software Foundation, Inc. 7 timestamp='2022-09-17' 30 # Please send patches to <config-patches@gnu.org>. 34 # If it is invalid, we print an error message on stderr and exit with code 1. 41 # and recognize all the CPU types, system types and aliases 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still [all …]
|
/freebsd/crypto/krb5/src/config/ |
H A D | config.sub | 3 # Copyright 1992-2023 Free Software Foundation, Inc. 7 timestamp='2023-01-21' 30 # Please send patches to <config-patches@gnu.org>. 34 # If it is invalid, we print an error message on stderr and exit with code 1. 41 # and recognize all the CPU types, system types and aliases 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still [all …]
|
/freebsd/contrib/libevent/build-aux/ |
H A D | config.sub | 3 # Copyright 1992-2020 Free Software Foundation, Inc. 5 timestamp='2020-01-01' 28 # Please send patches to <config-patches@gnu.org>. 32 # If it is invalid, we print an error message on stderr and exit with code 1. 39 # and recognize all the CPU types, system types and aliases 48 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 49 # or in some cases, the newer four-part form: 50 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 53 me=`echo "$0" | sed -e 's,.*/,,'` 56 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS [all …]
|
/freebsd/contrib/ldns/ |
H A D | config.sub | 3 # Copyright 1992-2022 Free Software Foundation, Inc. 7 timestamp='2022-01-03' 30 # Please send patches to <config-patches@gnu.org>. 34 # If it is invalid, we print an error message on stderr and exit with code 1. 41 # and recognize all the CPU types, system types and aliases 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/hisilicon/ |
H A D | hip04.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013-2014 HiSilicon Ltd. 6 * Copyright (C) 2013-2014 Linaro Ltd. 12 /* memory bus is 64-bit */ 13 #address-cells = <2>; 14 #size-cells = <2>; 21 compatible = "hisilicon,hip04-bootwrapper"; 22 boot-method = <0x10c00000 0x10000>, <0xe0000100 0x1000>; 26 #address-cells = <1>; 27 #size-cells = <0>; [all …]
|
/freebsd/contrib/unbound/ |
H A D | config.sub | 3 # Copyright 1992-2024 Free Software Foundation, Inc. 7 timestamp='2024-05-27' 30 # Please send patches to <config-patches@gnu.org>. 34 # If it is invalid, we print an error message on stderr and exit with code 1. 41 # and recognize all the CPU types, system types and aliases 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still [all …]
|
/freebsd/contrib/sqlite3/autosetup/ |
H A D | autosetup-config.sub | 3 # Copyright 1992-2024 Free Software Foundation, Inc. 7 timestamp='2024-05-27' 30 # Please send patches to <config-patches@gnu.org>. 34 # If it is invalid, we print an error message on stderr and exit with code 1. 41 # and recognize all the CPU types, system types and aliases 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still [all …]
|
/freebsd/contrib/libpcap/ |
H A D | config.sub | 3 # Copyright 1992-2024 Free Software Foundation, Inc. 7 timestamp='2024-01-01' 30 # Please send patches to <config-patches@gnu.org>. 34 # If it is invalid, we print an error message on stderr and exit with code 1. 41 # and recognize all the CPU types, system types and aliases 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still [all …]
|
/freebsd/contrib/ncurses/ |
H A D | config.sub | 3 # Copyright 1992-2023 Free Software Foundation, Inc. 7 timestamp='2023-12-02' 30 # Please send patches to <config-patches@gnu.org>. 34 # If it is invalid, we print an error message on stderr and exit with code 1. 41 # and recognize all the CPU types, system types and aliases 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | config.sub | 3 # Copyright 1992-2024 Free Software Foundation, Inc. 7 timestamp='2024-01-01' 30 # Please send patches to <config-patches@gnu.org>. 34 # If it is invalid, we print an error message on stderr and exit with code 1. 41 # and recognize all the CPU types, system types and aliases 50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 51 # or in some cases, the newer four-part form: 52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 58 # variety of pre-POSIX systems that do not have POSIX shells at all, and 59 # even some reasonably current systems (Solaris 10 as case-in-point) still [all …]
|