| /freebsd/sys/contrib/device-tree/Bindings/firmware/ | 
| H A D | arm,scmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)4 ---
 6 $schema: http://devicetree.org/meta-schemas/core.yaml#
 11   - Sudeep Holla <sudeep.holla@arm.com>
 26   - $ref: /schemas/firmware/nxp,imx95-scmi.yaml
 34       - description: SCMI compliant firmware with mailbox transport
 36           - const: arm,scmi
 37       - description: SCMI compliant firmware with ARM SMC/HVC transport
 39           - const: arm,scmi-smc
 40       - description: SCMI compliant firmware with ARM SMC/HVC transport
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ | 
| H A D | NVPTXTargetTransformInfo.cpp | 1 //===-- NVPTXTargetTransformInfo.cpp - NVPTX specific TTI -------[all...]
 | 
| /freebsd/sys/dev/dpaa2/ | 
| H A D | dpaa2_swp.c | 1 /*-2  * SPDX-License-Identifier: BSD-3-Clause AND BSD-2-Clause
 4  * Copyright © 2014-2016 Freescale Semiconductor, Inc.
 5  * Copyright © 2016-2019 NXP
 35  * drivers/soc/fsl/dpio/qbman-portal.c
 42  * Copyright © 2021-2022 Dmitry Salychev
 85 #include <machine/atomic.h>
 94 #define CMD_SPIN_TIMEOUT		100u	/* us */
 198 	mtx_init(&p->lock, "swp_sleep_lock", NULL, MTX_DEF);  in dpaa2_swp_init_portal()
 200 	p->cfg.mem_backed = false;  in dpaa2_swp_init_portal()
 [all …]
 
 | 
| H A D | dpaa2_swp.h | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 4  * Copyright © 2021-2023 Dmitry Salychev
 46 #define DPAA2_SWP_TIMEOUT		100000	/* in us */
 74 /* Registers in the cache-inhibited area of the software portal. */
 96 /* Registers in the cache-enabled area of the software portal. */
 105 /* Registers in the cache-enabled area of the software portal (memory-backed). */
 218 	mtx_assert(&(__swp)->lock, MA_NOTOWNED);	\
 219 	mtx_lock(&(__swp)->lock);			\
 220 	*(__flags) = (__swp)->flags;			\
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ | 
| H A D | sanitizer_quarantine.h | 1 //===-- sanitizer_quarantine.h ----------------------------------*- C++ -*-===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 10 // Quarantine caches some specified amount of memory in per-thread caches,
 11 // then evicts to global FIFO queue. When the queue reaches specified threshold,
 14 //===----------------------------------------------------------------------===//
 37     this->size = size + sizeof(QuarantineBatch);  // Account for the batch size.  in init()
 42     return size - sizeof(QuarantineBatch);  in quarantined_size()
 48     this->size += size;  in push_back()
 52     return count + from->count <= kSize;  in can_merge()
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ | 
| H A D | TargetLowering.h | 1 //===- llvm/CodeGen/TargetLowering.h - Target Lowering Info -----*- C++ -*-===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 20 //===----------------------------------------------------------------------===//
 128   bool MemcpyStrSrc; // Indicates whether the memcpy source is an in-register
 193 /// This base class for TargetLowering contains the SelectionDAG-independent
 215     TypeScalarizeVector, // Replace this one-element vector with its element.
 224                                  // vector, this is non-trivial at SelectionDAG
 230   /// in order to type-legalize it.
 249   /// Enum that specifies what an atomic load/AtomicRMWInst is expanded
 [all …]
 
 | 
| /freebsd/sys/arm/ti/ | 
| H A D | ti_i2c.c | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 123 #define	TI_I2C_LOCK(_sc)		mtx_lock(&(_sc)->sc_mtx)
 124 #define	TI_I2C_UNLOCK(_sc)		mtx_unlock(&(_sc)->sc_mtx)
 126 	mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev),	\
 128 #define	TI_I2C_LOCK_DESTROY(_sc)	mtx_destroy(&_sc->sc_mtx)
 129 #define	TI_I2C_ASSERT_LOCKED(_sc)	mtx_assert(&_sc->sc_mtx, MA_OWNED)
 130 #define	TI_I2C_ASSERT_UNLOCKED(_sc)	mtx_assert(&_sc->sc_mtx, MA_NOTOWNED)
 134 	device_printf((_sc)->sc_dev, fmt, ##args)
 140  *	ti_i2c_read_2 - reads a 16-bit value from one of the I2C registers
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ | 
| H A D | AMDGPUTargetTransformInfo.cpp | 1 //===- AMDGPUTargetTransformInfo.cpp - AMDGPU specific TTI pass -----------===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 15 //===----------------------------------------------------------------------===//
 36   "amdgpu-unroll-threshold-private",
 37   cl::desc("Unroll threshold for AMDGPU if private memory used in a loop"),
 41   "amdgpu-unroll-threshold-local",
 42   cl::desc("Unroll threshold for AMDGPU if local memory used in a loop"),
 46   "amdgpu-unroll-threshold-if",
 47   cl::desc("Unroll threshold increment for AMDGPU for each if statement inside loop"),
 [all …]
 
 | 
| H A D | AMDGPULegalizerInfo.cpp | 1 //===- AMDGPULegalizerInfo.cpp -----------------------------------*- C++ -*-==//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 12 //===----------------------------------------------------------------------===//
 37 #define DEBUG_TYPE "amdgpu-legalinfo"
 47   "amdgpu-global-isel-new-legality",
 70 /// additional element. This is mostly to handle <3 x s16> -> <4 x s16>. This
 122 // Increase the number of vector elements to reach the next multiple of 32-bit
 135     const int NewNumElts = (32 * NextMul32 + EltSize - 1) / EltSize;  in moreEltsToNext32Bit()
 180     // <2 x s8> -> s16  in getBitcastRegisterType()
 [all …]
 
 | 
| /freebsd/sys/dev/mvs/ | 
| H A D | mvs.h | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 42 #define IC_HC0			 0x000001ff	/* bits 0-8 = HC0 */
 44 #define IC_HC1			 (IC_HC0 << IC_HC_SHIFT) /* 9-17 = HC1 */
 58 #define IC_MAIN_RSVD		 (0xfe000000)	/* bits 31-25 */
 59 #define IC_MAIN_RSVD_5		 (0xfff10000)	/* bits 31-19 */
 60 #define IC_MAIN_RSVD_SOC	 (0xfffffec0)	/* bits 31-9, 7-6 */
 65 #define CHIP_SOC_HC0_MASK(num)	(0xff >> ((4 - (num)) * 2))
 87 #define HC_RQOP			0x4	/* Request Queue Out-Pointer */
 88 #define HC_RQIP			0x8	/* Response Queue In-Pointer */
 [all …]
 
 | 
| /freebsd/contrib/ntp/ntpd/ | 
| H A D | ntp_util.c | 2  * ntp_util.c - stuff I didn't have any other place for64 double	wander_threshold = 1e-7;	/* initial frequency threshold */
 114  * uninit_util - free memory allocated by init_util
 154  * init_util - initialize the util module of ntpd
 168 	 * register with libntp ntp_set_tod() to call us back in init_util()
 179  * hourly_stats - print some interesting stats
 212 	 * CAVEAT: settimeofday() steps the sun clock by about 800 us, in write_stats()
 214 	 *	   case of us resolution in write_stats()
 219 	 * (prr) getpriority returns - in write_stats()
 [all...]
 | 
| /freebsd/sys/dev/ath/ath_hal/ar5416/ | 
| H A D | ar5416_misc.c | 1 /*-2  * SPDX-License-Identifier: ISC
 4  * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
 5  * Copyright (c) 2002-2008 Atheros Communications, Inc.
 44 	HAL_CAPABILITIES *pCap = &ahpriv->ah_caps;  in ar5416GetWirelessModes()
 49 	if (pCap->halHTSupport == AH_TRUE && (mode & HAL_MODE_11A))  in ar5416GetWirelessModes()
 54 	if (pCap->halHTSupport == AH_TRUE && (mode & HAL_MODE_11G))  in ar5416GetWirelessModes()
 89 	/* XXX Blink threshold? */  in ar5416SetLedState()
 111 	/* sync multi-word read */  in ar5416GetTsf64()
 118 		 * then we re-reading AR_TSF_U32 does no good as the  in ar5416GetTsf64()
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ | 
| H A D | LoopIdiomRecognize.cpp | 1 //===- LoopIdiomRecognize.cpp - Loop idiom recognition --------------------===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 10 // non-loop form.  In cases that this kicks in, it can be a significant
 16 // presence of non-idiom instructions. The initial implementation of the
 17 // heuristics applies to idioms in multi-block loops.
 19 //===----------------------------------------------------------------------===//
 29 //===----------------------------------------------------------------------===//
 96 #define DEBUG_TYPE "loop-idiom"
 109     DisableLIRPAll("disable-" DEBUG_TYPE "-all",
 [all …]
 
 | 
| H A D | JumpThreading.cpp | 1 //===- JumpThreading.cpp - Thread control through conditional blocks ------===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 11 //===----------------------------------------------------------------------===//
 82 #define DEBUG_TYPE "jump-threading"
 89 BBDuplicateThreshold("jump-threading-threshold",
 95   "jump-threading-implication-search-threshold",
 101     "jump-threading-phi-threshold",
 106     "jump-threading-across-loop-headers",
 111   DefaultBBDupThreshold = (T == -1) ? BBDuplicateThreshold : unsigned(T);  in JumpThreadingPass()
 [all …]
 
 | 
| /freebsd/contrib/jemalloc/src/ | 
| H A D | background_thread.c | 11 /* This option should be opt-in only. */13 /* Read-only after initialization. */
 19 /* Indicates global state.  Atomic because decay reads this w/o locking. */
 23 /* Thread info per-index. */
 74 	info->npages_to_purge_new = 0;
 76 		info->tot_n_runs = 0;
 77 		nstime_init_zero(&info->tot_sleep_time);
 123 		info->tot_n_runs++;
 125 	info->npages_to_purge_new = 0;
 137 		ret = pthread_cond_wait(&info->con
 [all...]
 | 
| /freebsd/sys/netinet/ | 
| H A D | tcp_hpts.c | 1 /*-2  * Copyright (c) 2016-2018 Netflix, Inc.
 92  * knows how to take the input queue of packets from tp->t_inqueue
 175 #define microuptime pace->funcs->microuptime
 176 #define swi_add pace->funcs->swi_add
 177 #define swi_remove pace->funcs->swi_remove
 178 #define swi_sched pace->funcs->swi_sched
 179 #define intr_event_bind pace->funcs->intr_event_bind
 180 #define intr_event_bind_ithread_cpuset pace->funcs->intr_event_bind_ithread_cpuset
 181 #define callout_init pace->funcs->callout_init
 [all …]
 
 | 
| H A D | igmp.c | 1 /*-2  * SPDX-License-Identifier: BSD-3-Clause
 4  * Copyright (c) 2007-2009 Bruce Simpson.
 157  * System-wide globals.
 160  * queue. The IGMP subsystem lock ends up being system-wide for the moment,
 173  *    per-link state iterators.
 187  * to a vnet in ifp->if_vnet.
 201  * VIMAGE-wide globals.
 203  * The IGMPv3 timers themselves need to run per-image, however, for
 211  * IGMP for IPv4 does not force link-local addresses to be used for each
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/llvm/lib/Passes/ | 
| H A D | PassBuilderPipelines.cpp | 1 //===- Construction of pass pipelines -------------------------------------===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 15 //===----------------------------------------------------------------------===//
 146     "enable-ml-inliner", cl::init(InliningAdvisorMode::Default), cl::Hidden,
 147     cl::desc("Enable ML policy for inliner. Currently trained for -Oz only"),
 149                           "Heuristics-based inliner version"),
 151                           "Use development mode (runtime-loadable model)"),
 153                           "Use release mode (AOT-compiled model)")));
 156     "enable-npm-synthetic-counts", cl::Hidden,
 [all …]
 
 | 
| /freebsd/sbin/ipfw/ | 
| H A D | ipfw.8 | 8 in-kernel NAT.\&19 .Op Ar rule | first-last ...
 49 .Oo Cm set Ar N Oc Cm table Ar name Cm create Ar create-options
 55 .Oo Cm set Ar N Oc Cm table Ar name Cm modify Ar modify-options
 59 .Oo Cm set Ar N Oc Cm table Ar name Cm add Ar table-key Op Ar value
 61 .Oo Cm set Ar N Oc Cm table Ar name Cm add Op Ar table-key Ar value ...
 63 .Oo Cm set Ar N Oc Cm table Ar name Cm atomic add Op Ar table-key Ar value ...
 65 .Oo Cm set Ar N Oc Cm table Ar name Cm delete Op Ar table-key ...
 93 .Ar config-options
 99 .Ss IN-KERNEL NAT
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ | 
| H A D | OMPIRBuilder.cpp | 1 //===- OpenMPIRBuilder.cpp - Builder for LLVM-IR for OpenMP directives ----===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 13 //===----------------------------------------------------------------------===//
 62 #define DEBUG_TYPE "openmp-ir-builder"
 68     OptimisticAttributes("openmp-ir-builder-optimistic-attributes", cl::Hidden,
 70                                   "'as-if' properties of runtime calls."),
 74     "openmp-ir-builder-unroll-threshold-factor", cl::Hidden,
 75     cl::desc("Factor for the unroll threshold to account for code "
 81 /// at position IP1 may change the meaning of IP2 or vice-versa. This is because
 [all …]
 
 | 
| /freebsd/usr.sbin/bhyve/ | 
| H A D | virtio.c | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 33 #include <machine/atomic.h>
 58  * front of virtio-based device softc" constraint, let's use
 76 	vs->vs_vc = vc;  in vi_softc_linkup()
 77 	vs->vs_pi = pi;  in vi_softc_linkup()
 78 	pi->pi_arg = vs;  in vi_softc_linkup()
 80 	vs->vs_queues = queues;  in vi_softc_linkup()
 81 	for (i = 0; i < vc->vc_nvq; i++) {  in vi_softc_linkup()
 88  * Reset device (device-wide).  This erases all queues, i.e.,
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ | 
| H A D | GlobalOpt.cpp | 1 //===- GlobalOpt.cpp - Optimize Global Variables --------------------------===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 13 //===----------------------------------------------------------------------===//
 97     EnableColdCCStressTest("enable-coldcc-stress-test",
 103     "coldcc-rel-freq", cl::Hidden, cl::init(2),
 120   if (GV->hasPrivateLinkage())  in isLeakCheckerRoot()
 124   Types.push_back(GV->getValueType());  in isLeakCheckerRoot()
 129     switch (Ty->getTypeID()) {  in isLeakCheckerRoot()
 135         if (cast<VectorType>(Ty)->getElementType()->isPointerTy())  in isLeakCheckerRoot()
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ | 
| H A D | LoopAccessAnalysis.cpp | 1 //===- LoopAccessAnalysis.cpp - Loop Access Analysis Implementation --------==//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 12 //===----------------------------------------------------------------------===//
 71 #define DEBUG_TYPE "loop-accesses"
 74 VectorizationFactor("force-vector-width", cl::Hidden,
 80 VectorizationInterleave("force-vector-interleave", cl::Hidden,
 88     "runtime-memory-check-threshold", cl::Hidden,
 96     "memory-check-merge-threshold", cl::Hidden,
 104 /// We collect dependences up to this threshold.
 [all …]
 
 | 
| /freebsd/sys/dev/bnxt/bnxt_en/ | 
| H A D | hsi_struct_def.h | 1 /*-34  * Copyright(c) 2001-2025, Broadcom. All rights reserved. The
 71 	 * * 0x0-0xFFF8 - The function ID
 72 	 * * 0xFFF8-0xFFFC, 0xFFFE - Reserved for internal processors
 73 	 * * 0xFFFD - Reserved for user-space HWRM interface
 74 	 * * 0xFFFF - HWRM
 122 /* Engine CKV - The Alias key EC curve and ECC public key information. */
 124 /* Engine CKV - Initialization vector. */
 126 /* Engine CKV - Authentication tag. */
 128 /* Engine CKV - The encrypted data. */
 [all …]
 
 | 
| /freebsd/sys/contrib/dev/iwlwifi/mvm/ | 
| H A D | mac-ctxt.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause3  * Copyright (C) 2012-2014, 2018-2025 Intel Corporation
 4  * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
 5  * Copyright (C) 2015-2017 Intel Deutschland GmbH
 10 #include "iwl-io.h"
 11 #include "iwl-prph.h"
 12 #include "fw-api.h"
 14 #include "time-event.h"
 15 #include "iwl-utils.h"
 63 	if (vif == data->vif)  in iwl_mvm_mac_tsf_id_iter()
 [all …]
 
 |