/freebsd/sys/contrib/device-tree/Bindings/iio/dac/ |
H A D | adi,ad3552r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nuno Sá <nuno.sa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3541r.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3551r.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf 24 - adi,ad3541r 25 - adi,ad3542r [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 33 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK) 82 #define N(a) (sizeof (a) / sizeof (a[0])) in ar5416Reset() macro 99 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: chip did not wakeup\n", in ar5416Reset() 117 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: invalid operating mode %u\n", in ar5416Reset() 122 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER14_1); in ar5416Reset() 144 * Don't do this for the AR9285 - it breaks RX for single in ar5416Reset() [all …]
|
/freebsd/share/misc/ |
H A D | usb_hid_usages | 4 # - lines that do not start with a white space give the number and name of 6 # - lines that start with a white space give the number and name of 20 0x08 Multi-axis Controller 62 0x90 D-pad Up 63 0x91 D-pad Down 64 0x92 D-pad Right 65 0x93 D-pad Left 107 0xB2 Anti-Torque Control 250 0x11 Keyboard n and N 278 0x2D Keyboard - and (underscore) [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_internal.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 38 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ 41 #define howmany(x, y) (((x)+((y)-1))/(y)) 45 #define offsetof(type, field) ((size_t)(&((type *)0)->field)) 62 * scaling; folks should use the tx power limit interface. 65 HAL_TP_SCALE_MAX = 0, /* no scaling (default) */ 66 HAL_TP_SCALE_50 = 1, /* 50% of max (-3 dBm) */ [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_attach.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2006 Atheros Communications, Inc. 211 #define N(a) (sizeof(a)/sizeof(a[0])) in ar5211Attach() macro 218 HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", in ar5211Attach() 225 "%s: cannot allocate memory for state block\n", __func__); in ar5211Attach() 229 ah = &ahp->ah_priv.h; in ar5211Attach() 231 OS_MEMCPY(&ahp->ah_priv, &ar5211hal, sizeof(struct ath_hal_private)); in ar5211Attach() 232 ah->ah_sc = sc; in ar5211Attach() [all …]
|
H A D | ar5211_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2006 Atheros Communications, Inc. 40 * 16 MHz mode, divider ratio = 198 = NP+S. N=16, S=4 or 6, P=12 50 { 1, 0x46, 96 }, /* 2312 -19 */ 51 { 1, 0x46, 97 }, /* 2317 -18 */ 52 { 1, 0x46, 98 }, /* 2322 -17 */ 53 { 1, 0x46, 99 }, /* 2327 -16 */ 54 { 1, 0x46, 100 }, /* 2332 -15 */ [all …]
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 1 /*- 2 * Copyright (c) 2016-2020 Netflix, Inc. 29 * BBR - Congestion Based Congestion Control 159 /* Should the following be dynamic too -- loss wise */ 173 * How much gain do we need to see to 178 static int32_t bbr_low_start_exit = 25; /* When we are in reduced gain */ 193 * num-measures > min(0) and 221 * is used for both cwnd and hptsi gain's. 227 /* thresholds for reduction on drain in sub-states/drain */ 251 * hptsi gain and thus drainging the packets [all …]
|
H A D | rack.c | 1 /*- 2 * Copyright (c) 2016-2020 Netflix, Inc. 162 * - Matt Mathis's Rate Halving which slowly drops 165 * - Yuchung Cheng's RACK TCP (for which its named) that 168 * - Reorder Detection of RFC4737 and the Tail-Loss probe draft 186 * TCP output is also over-written with a new version since it 191 static int32_t rack_tlp_limit = 2; /* No more than 2 TLPs w-out new data */ 194 static int32_t rack_reorder_fade = 60000000; /* 0 - never fade, def 60,000,000 195 * - 60 seconds */ 199 static uint8_t rack_ssthresh_rest_rto_rec = 0; /* Do we restore ssthresh when we have rec -> rto ->… [all …]
|
/freebsd/share/doc/papers/timecounter/ |
H A D | timecounter.ms | 5 .\" ---------------------------------------------------------------------------- 6 .\" "THE BEER-WARE LICENSE" (Revision 42): 9 .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 10 .\" ---------------------------------------------------------------------------- 16 .A "Poul-Henning Kamp" "The FreeBSD Project" 18 The FreeBSD timecounters are an architecture-independent implementation 21 multiplication to canonical timescales based on micro- or nano-seconds 23 synchronisation. Timecounters are implemented using lock-less 24 stable-storage based primitives which scale efficiently in SMP 73 The current crop of atomic clocks will neither gain nor lose a [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_attach.c | 145 p_counters->uc_receiver_errors = MS(val, RCVD_ERR_MASK); in ar9300_read_pcie_error_monitor() 146 p_counters->uc_bad_tlp_errors = MS(val, BAD_TLP_ERR_MASK); in ar9300_read_pcie_error_monitor() 147 p_counters->uc_bad_dllp_errors = MS(val, BAD_DLLP_ERR_MASK); in ar9300_read_pcie_error_monitor() 151 p_counters->uc_replay_timeout_errors = MS(val, RPLY_TO_ERR_MASK); in ar9300_read_pcie_error_monitor() 152 p_counters->uc_replay_number_rollover_errors= MS(val, RPLY_NUM_RO_ERR_MASK); in ar9300_read_pcie_error_monitor() 370 /* 11n specific functions (NOT applicable to ar9300) */ 566 if (AH_PRIVATE(ah)->ah_devid == AR9300_DEVID_AR9340) { in ar9300_read_revisions() 568 AH_PRIVATE(ah)->ah_macVersion = AR_SREV_VERSION_WASP; in ar9300_read_revisions() 569 } else if(AH_PRIVATE(ah)->ah_devid == AR9300_DEVID_QCA955X) { in ar9300_read_revisions() 571 AH_PRIVATE(ah)->ah_macVersion = AR_SREV_VERSION_SCORPION; in ar9300_read_revisions() [all …]
|
H A D | ar9300_reset.c | 77 * to gain better stability/performance but these registers 103 * tuned to gain better stability/performance. These registers in ar9300_disable_pll_lock_detect() 108 HALDEBUG(ah, HAL_DEBUG_RESET, "%s: called\n", __func__); in ar9300_disable_pll_lock_detect() 121 ahp->ah_hwp = HAL_TRUE_CHIP; in ar9300_attach_hw_platform() 182 HALDEBUG(ah, HAL_DEBUG_RESET, "%s forced to use QOSDATA\n", __func__); in ar9300_init_mfp() 189 HALDEBUG(ah, HAL_DEBUG_RESET, "%s using HW crypto\n", __func__); in ar9300_init_mfp() 196 * Mask used to construct AAD for CCMP-AES in ar9300_init_mfp() 197 * Cisco spec defined bits 0-3 as mask in ar9300_init_mfp() 209 HALDEBUG(ah, HAL_DEBUG_RESET, "%s using passthru\n", __func__); in ar9300_init_mfp() 226 centers->ctl_center = centers->ext_center = in ar9300_get_channel_centers() [all …]
|
H A D | ar9300_eeprom.c | 91 AH9300(ah)->calibration_data_source = source; in ar9300_calibration_data_set() 100 return AH9300(ah)->calibration_data_source; in ar9300_calibration_data_get() 114 AH9300(ah)->calibration_data_source_address = size; in ar9300_calibration_data_address_set() 123 return AH9300(ah)->calibration_data_source_address; in ar9300_calibration_data_address_get() 150 mptr = &ahp->ah_eeprom; in ar9300_eeprom_template_install() 163 return -1; in ar9300_eeprom_template_install() 174 nptr = -1; in ar9300_eeprom_restore_something() 180 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something() 181 AH9300(ah)->calibration_data_source_address = 0; in ar9300_eeprom_restore_something() 194 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 78 #define V(r, c) (ia)->data[((r)*(ia)->cols) + (c)] in write_common() 82 for (r = 0; r < ia->rows; r++) { in write_common() 123 #define N(a) (sizeof (a) / sizeof (a[0])) in ar5212Reset() macro 141 HALASSERT(ah->ah_magic == AR5212_MAGIC); in ar5212Reset() 142 ee = AH_PRIVATE(ah)->ah_eeprom; in ar5212Reset() 148 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: chip did not wakeup\n", in ar5212Reset() [all …]
|
H A D | ar5212_attach.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 202 .totalSizeDesired = { -55, -55, -55, -55, -62 }, in ar5212AniSetup() 203 .coarseHigh = { -14, -14, -14, -14, -12 }, in ar5212AniSetup() 204 .coarseLow = { -64, -64, -64, -64, -70 }, in ar5212AniSetup() 205 .firpwr = { -78, -78, -78, -78, -80 }, in ar5212AniSetup() 218 if (AH_PRIVATE(ah)->ah_macVersion < AR_SREV_VERSION_GRIFFIN) { in ar5212AniSetup() 227 AH5212(ah)->ah_aniControl = ar5212AniControl; in ar5212AniSetup() [all …]
|
/freebsd/sys/netinet/ |
H A D | siftr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2009 6 * Copyright (c) 2009-2010, The FreeBSD Foundation 51 * the "Enhancing the FreeBSD TCP Implementation" project 2008-2009. 190 /* Window scaling for snd window. */ 192 /* Window scaling for recv window. */ 337 if (hash_node->const_info.key == id) { in siftr_find_flow() 360 hash_node->counter = 0; in siftr_new_hash_node() 361 hash_node->const_info = info; in siftr_new_hash_node() [all …]
|
/freebsd/sys/net/altq/ |
H A D | altq_rmclass.c | 1 /*- 2 * Copyright (c) 1991-1997 Regents of the University of California. 65 #define reset_cutoff(ifd) { ifd->cutoff_ = RM_MAXDEPTH; } 108 * now heuristics for setting the top-level variable (cutoff_) becomes: 109 * 1. if a packet arrives for a not-overlimit class, set cutoff 121 * rmc_newclass(...) - Create a new resource management class at priority 147 * limit (this parameter determines the steady-state burst 152 * class is f, we want to allow b packet bursts, and the gain of the 153 * averaging filter is g (= 1 - 2^(-RM_FILTER_GAIN)), then: 155 * ptime = s * nsPerByte * (1 - f) / f [all …]
|
/freebsd/sys/sys/ |
H A D | soundcard.h | 5 /*- 6 * SPDX-License-Identifier: BSD-2-Clause 8 * Copyright by Hannu Savolainen 1993 / 4Front Technologies 1993-2006 55 * snd-sdk-doc-0.1.ps.gz (gzipped postscript). It contains 122 * number of bytes for a write operation to be non-blocking. 146 * format. We extend it by using bit 31 (RO) to indicate full-duplex 153 * o 8 bits for 8-bit formats, mu-law and A-law, 154 * o 16 bits for the 16-bit formats, and 155 * o 32 bits for the 24/32-bit formats. 160 #define AFMT_MU_LAW 0x00000001 /* Logarithmic mu-law */ [all …]
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_opt.c | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 16 #define ZSTD_LITFREQ_ADD 2 /* scaling factor for litFreq, so that frequencies adapt faster to … 19 …REDEF_THRESHOLD, symbols' cost is assumed static, directly determined by pre-defined distributions… 22 /*-************************************* 68 return optPtr->literalCompressionMode != ZSTD_ps_disable; in ZSTD_compressedLiterals() 74 optPtr->litSumBasePrice = WEIGHT(optPtr->litSum, optLevel); in ZSTD_setBasePrices() 75 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices() 76 optPtr->matchLengthSumBasePrice = WEIGHT(optPtr->matchLengthSum, optLevel); in ZSTD_setBasePrices() 77 optPtr->offCodeSumBasePrice = WEIGHT(optPtr->offCodeSum, optLevel); in ZSTD_setBasePrices() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_opt.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only 3 * Copyright (c) 2016-2020, Przemyslaw Skibinski, Yann Collet, Facebook, Inc. 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 17 #define ZSTD_LITFREQ_ADD 2 /* scaling factor for litFreq, so that frequencies adapt faster to … 21 …REDEF_THRESHOLD, symbols' cost is assumed static, directly determined by pre-defined distributions… 24 /*-************************************* 70 return optPtr->literalCompressionMode != ZSTD_lcm_uncompressed; in ZSTD_compressedLiterals() 76 optPtr->litSumBasePrice = WEIGHT(optPtr->litSum, optLevel); in ZSTD_setBasePrices() 77 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | qca-vendor.h | 3 * Copyright (c) 2014-2017, Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2020, The Linux Foundation 5 * Copyright (c) 2021-2023, Qualcomm Innovation Center, Inc. 28 * enum qca_radiotap_vendor_ids - QCA radiotap vendor namespace IDs 41 * Global NSS configuration - Applies to all bands (2.4 GHz and 5/6 GHz) 62 * Per band NSS configuration - Applies to the 2.4 GHz or 5/6 GHz band 79 * Global chain configuration - Applies to all bands (2.4 GHz and 5/6 GHz) 96 * Per band chain configuration - Applies to the 2.4 GHz or 5/6 GHz band 117 * Case 1: CONFIG_NSS + CONFIG_TX_NSS/RX_NSS - Only CONFIG_NSS is applied 120 * Case 2: CONFIG_NSS + CONFIG_TX_NSS + CONFIG_RX_NSS - Same NSS values are [all …]
|
/freebsd/contrib/tcsh/ |
H A D | Fixes | 1 15. V6.22.04 - 20210426 2 14. Don't crash with 'bindkey "^0" clear-screen' (Karl Jeacle) 4 12. V6.22.03 - 20201118 14 4. V6.22.02 - 20191204 16 2. V6.22.01 - 20191201 23 6. V6.22.00 - 20191128 24 5. PR/113: Sobomax: avoid infinite loops for -c commands when stdout is 31 range character instead of the start of range. [l-z]* would match foo 33 12. V6.21.00 - 20190508 48 20. V6.20.00 - 20161124 [all …]
|
/freebsd/sys/contrib/openzfs/man/man4/ |
H A D | zfs.4 | 1 .\" SPDX-License-Identifier: CDDL-1.0 10 .\" usr/src/OPENSOLARIS.LICENSE or https://opensource.org/licenses/CDDL-1.0. 30 .Bl -tag -width Ds 97 Turbo L2ARC warm-up. 174 Percent of ARC size allowed for L2ARC-only headers. 247 of a top-level vdev before moving on to the next top-level vdev. 250 Enable metaslab groups biasing based on their over- or under-utilization 259 Setting to 1 equals to 2 if the pool is write-bound or 0 otherwise. 312 if not page-aligned instead of silently falling back to uncached I/O. 315 When attempting to log an output nvlist of an ioctl in the on-disk history, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
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/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 1 //===-- AArch64ISelLowering.cpp - AArch64 DAG Lowering Implementation ----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 109 #define DEBUG_TYPE "aarch64-lower" 119 "aarch64-elf-ldtls-generation", cl::Hidden, 124 EnableOptimizeLogicalImm("aarch64-enable-logical-imm", cl::Hidden, 134 EnableCombineMGatherIntrinsics("aarch64-enable-mgather-combine", cl::Hidden, 139 static cl::opt<bool> EnableExtToTBL("aarch64-enable-ext-to-tbl", cl::Hidden, 146 static cl::opt<unsigned> MaxXors("aarch64-max-xors", cl::init(16), cl::Hidden, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 1 //===- DAGCombiner.cpp - Implement a DAG node combiner --------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 16 //===----------------------------------------------------------------------===// 88 STATISTIC(PreIndexedNodes , "Number of pre-indexed nodes created"); 89 STATISTIC(PostIndexedNodes, "Number of post-indexed nodes created"); 99 CombinerGlobalAA("combiner-global-alias-analysis", cl::Hidden, 103 UseTBAA("combiner-use-tbaa", cl::Hidden, cl::init(true), 108 CombinerAAOnlyFunc("combiner-aa-only-func", cl::Hidden, 109 cl::desc("Only use DAG-combiner alias analysis in this" [all …]
|