/freebsd-src/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 - Sudee [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.cpp | 1 //===-- NVPTXTargetTransformInfo.cpp - NVPTX specific TTI -----------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 26 switch (II->getIntrinsicID()) { in readsThreadIndex() 36 return II->getIntrinsicID() == Intrinsic::nvvm_read_ptx_sreg_laneid; in readsLaneId() 39 // Whether the given intrinsic is an atomic instruction in PTX. 41 switch (II->getIntrinsicID()) { in isNVVMAtomic() 73 // Without inter-procedural analysis, we conservatively assume that arguments in isSourceOfDivergence() 76 return !isKernelFunction(*Arg->getParent()); in isSourceOfDivergence() 82 unsigned AS = LI->getPointerAddressSpace(); in isSourceOfDivergence() [all …]
|
/freebsd-src/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-src/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-src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 1 //===- llvm/CodeGen/TargetLowering.h - Target Lowering Info -----*- C++ -*- [all...] |
/freebsd-src/sys/arm/ti/ |
H A D | ti_i2c.c | 1 /*- 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_de [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 1 //===- AMDGPUTargetTransformInfo.cpp - AMDGPU specific TTI pass -------- 184 unsigned Threshold = 0; getUnrollingPreferences() local 1266 unsigned Threshold = adjustInliningThresholdUsingCallee(CB, TLI, this); adjustInliningThreshold() local 1300 unsigned Threshold = ArgAllocaCost * getInliningThresholdMultiplier(); getCallerAllocaCost() local [all...] |
H A D | AMDGPULegalizerInfo.cpp | 1 //===- AMDGPULegalizerInfo.cpp --------- 1593 auto &Atomic = getActionDefinitionsBuilder(G_ATOMICRMW_FADD); AMDGPULegalizerInfo() local 3472 auto Threshold = B.buildFConstant(Ty, -0x1.5d58a0p+6f); legalizeFExpUnsafe() local [all...] |
/freebsd-src/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-src/contrib/ntp/ntpd/ |
H A D | ntp_util.c | 2 * 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 -1 on error, but -1 is also a valid in write_stats() 221 * call and check it for non-zero afterwards. in write_stats() [all …]
|
/freebsd-src/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-src/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. [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 1 //===- JumpThreading.cpp - Thread control through conditional blocks ------===// 5 // SPDX-License-Identifie 430 getJumpThreadDuplicationCost(const TargetTransformInfo * TTI,BasicBlock * BB,Instruction * StopAt,unsigned Threshold) getJumpThreadDuplicationCost() argument [all...] |
/freebsd-src/contrib/jemalloc/src/ |
H A D | background_thread.c | 12 /* 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-src/contrib/llvm-project/llvm/lib/Passes/ |
H A D | PassBuilderPipelines.cpp | 1 //===- Construction of pass pipelines --------- [all...] |
/freebsd-src/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-option [all...] |
/freebsd-src/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_ar in vi_softc_linkup() [all...] |
/freebsd-src/sys/netinet/ |
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_vne [all...] |
H A D | tcp_hpts.c | 1 /*- 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 th [all...] |
H A D | ip_mroute.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 53 * and PIM-SMv2 and PIM-DM support, advanced API support, 101 #include <machine/atomic.h> 130 #define VIFI_INVALID ((vifi_t) -1) 176 VNET_DEFINE_STATIC(u_char *, nexpire); /* 0..mfchashsize- [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LoopAccessAnalysis.cpp | 1 //===- LoopAccessAnalysis.cpp - Loop Access Analysis Implementation -------- [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1 //===- GlobalOpt.cpp - Optimize Global Variables -------- 1379 const unsigned Threshold = 100; isPointerValueDeadOnEntryToFunction() local [all...] |
/freebsd-src/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 1 /*- 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-src/sys/netinet6/ |
H A D | mld6.c | 1 /*- 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 …]
|