Home
last modified time | relevance | path

Searched +full:atomic +full:- +full:threshold +full:- +full:us (Results 1 – 25 of 66) sorted by relevance

123

/freebsd/sys/contrib/device-tree/Bindings/firmware/
H A Darm,scmi.yaml1 # 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 DNVPTXTargetTransformInfo.cpp1 //===-- NVPTXTargetTransformInfo.cpp - NVPTX specific TTI -------
[all...]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_swp.c1 /*-
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 Ddpaa2_swp.h1 /*-
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 Dsanitizer_quarantine.h1 //===-- 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 DTargetLowering.h1 //===- 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 Dti_i2c.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
117 /* { 3200000, 1, 113, 115, 7, 10}, - HS mode */
138 #define TI_I2C_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
139 #define TI_I2C_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx)
141 mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev), \
143 #define TI_I2C_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx)
144 #define TI_I2C_ASSERT_LOCKED(_sc) mtx_assert(&_sc->sc_mtx, MA_OWNED)
145 #define TI_I2C_ASSERT_UNLOCKED(_sc) mtx_assert(&_sc->sc_mtx, MA_NOTOWNED)
149 device_printf((_sc)->sc_dev, fmt, ##args)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp1 //===- 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 DAMDGPULegalizerInfo.cpp1 //===- 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 Dmvs.h1 /*-
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 Dntp_util.c2 * ntp_util.c - stuff I didn't have any other place for
64 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 Dar5416_misc.c1 /*-
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 DLoopIdiomRecognize.cpp1 //===- 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 DJumpThreading.cpp1 //===- 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 Dbackground_thread.c12 /* This option should be opt-in only. */
14 /* Read-only after initialization. */
20 /* Indicates global state. Atomic because decay reads this w/o locking. */
24 /* Thread info per-index. */
74 info->npages_to_purge_new = 0;
76 info->tot_n_runs = 0;
77 nstime_init(&info->tot_sleep_time, 0);
95 /* Threshold for determining when to wake up the background thread. */
106 sum += decay->backlog[i] * h_steps[i];
109 sum += decay->backlog[i] * (h_steps[i] - h_steps[i - interval]);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilderPipelines.cpp1 //===- 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 Dipfw.88 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 DOMPIRBuilder.cpp1 //===- 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 Dvirtio.c1 /*-
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/sys/netinet/
H A Digmp.c1 /*-
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 …]
H A Dtcp_hpts.c1 /*-
2 * Copyright (c) 2016-2018 Netflix, Inc.
93 * knows how to take the input queue of packets from tp->t_inqueue
163 * This gives a range of 10usec - 1024ms to place
166 * when seeing the remainder will re-insert the
174 #define HPTS_MTX_ASSERT(hpts) mtx_assert(&(hpts)->p_mtx, MA_OWNED)
175 #define HPTS_LOCK(hpts) mtx_lock(&(hpts)->p_mtx)
176 #define HPTS_TRYLOCK(hpts) mtx_trylock(&(hpts)->p_mtx)
177 #define HPTS_UNLOCK(hpts) mtx_unlock(&(hpts)->p_mtx)
186 uint32_t p_curtick; /* Tick in 10 us the hpts is going to */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1 //===- 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 DLoopAccessAnalysis.cpp1 //===- 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 Dhsi_struct_def.h1 /*-
34 * Copyright(c) 2001-2024, 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/netinet6/
H A Dmld6.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
33 /*-
152 * * The MLD subsystem lock ends up being system-wide for the moment,
153 * but could be per-VIMAGE later on.
158 * * MLD_LOCK covers per-link state and any global variables in this file.
160 * per-link state iterators.
192 * to a vnet in ifp->if_vnet.
200 (pin6)->s6_addr16[1] = htons((zoneid) & 0xFFFF) \
203 * VIMAGE-wide globals.
[all …]

123