| /freebsd/contrib/ntp/libntp/ |
| H A D | adjtime.c | 8 * a sub-second accuracy bug documented in SR 5003462838 which prevents ntpd 10 * implementation as used by ntpd has a side-effect of screwing up the hardware 18 * The one-time clock adjustment functionality of ntpdate and ntp_timeset can 24 int adjtime(struct timeval *delta, struct timeval *olddelta); 26 int adjtime(struct timeval *delta, struct timeval *olddelta) in adjtime() argument 46 if (delta != NULL) { in adjtime() 47 /* Adjustment required. Convert delta to 64-bit microseconds. */ in adjtime() 48 big_sec = (long)delta->tv_se in adjtime() 136 abs(x) global() argument 163 adjtime(register struct timeval * delta,register struct timeval * olddelta) adjtime() argument 211 _adjtime(register struct timeval * delta,register struct timeval * olddelta) _adjtime() argument 279 adjtime(struct timeval * delta,struct timeval * olddelta) adjtime() argument [all...] |
| /freebsd/sys/contrib/device-tree/Bindings/input/rmi4/ |
| H A D | rmi_2d_sensor.txt | 12 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf 16 - touchscreen-inverted-x 17 - touchscreen-inverted-y 18 - touchscreen-swapped-x-y 19 - touchscreen-x-mm 20 - touchscreen-y-mm 23 - syna,clip-x-low: Sets a minimum value for X. 24 - syna,clip-y-low: Sets a minimum value for Y. 25 - syna,clip-x-high: Sets a maximum value for X. 26 - syna,clip-y-high: Sets a maximum value for Y. [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
| H A D | imx8mq-zii-ultra-rmb3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include "imx8mq-zii-ultra.dtsi" 12 compatible = "zii,imx8mq-ultra-rmb3", "zii,imx8mq-ultra", "fsl,imx8mq"; 15 compatible = "simple-audio-card"; 16 simple-audio-card,name = "front"; 17 simple-audio-card,format = "i2s"; 18 simple-audio-card,bitclock-master = <&sound1_codec>; 19 simple-audio-card,frame-master = <&sound1_codec>; 20 simple-audio-card,widgets = [all …]
|
| /freebsd/usr.bin/netstat/ |
| H A D | mroute.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 81 struct timeval now, end, delta; in print_bw_meter() local 86 xo_open_list("bandwidth-meter"); in print_bw_meter() 88 xo_emit(" {T:/%-30s}", "Measured(Start|Packets|Bytes)"); in print_bw_meter() 90 xo_emit(" {T:/%-30s}", "Thresh(Interval|Packets|Bytes)"); in print_bw_meter() 96 xo_open_instance("bandwidth-meter"); in print_bw_meter() 99 if (bw_meter->bm_flags & BW_METER_UNIT_PACKETS) { in print_bw_meter() 101 (uintmax_t)bw_meter->bm_measured.b_packets); in print_bw_meter() 102 xo_emit("{e:measured-packets/%ju}", in print_bw_meter() [all …]
|
| /freebsd/sys/dev/sound/pcm/ |
| H A D | channel.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org> 5 * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006 7 * Portions Copyright (c) Luigi Rizzo <luigi@FreeBSD.org> - 1997-99 9 * Copyright (c) 2024-2025 The FreeBSD Foundation 47 &report_soft_formats, 0, "report software-emulated formats"); 51 &report_soft_matrix, 0, "report software-emulated channel matrixing"); 62 if (err != 0 || req->newptr == NULL) in sysctl_hw_snd_latency() 85 if (err != 0 || req->newptr == NULL) in sysctl_hw_snd_latency_profile() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ArrayBoundCheckerV2.cpp | 1 //== ArrayBoundCheckerV2.cpp ------------------------------------*- C++ -*--==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines ArrayBoundCheckerV2, which is a path-sensitive check 10 // which looks for an out-of-bound array element access. 12 //===----------------------------------------------------------------------===// 47 const MemRegion *SubscriptBaseReg = C.getSVal(ASE->getBase()).getAsRegion(); in determineElementType() 53 if (isa<ElementRegion>(SubscriptBaseReg->StripCasts())) in determineElementType() 56 return ASE->getType(); in determineElementType() 105 /// sub-expressions of each other (but `getSimplifiedOffsets` is smart enough [all …]
|
| /freebsd/sys/x86/x86/ |
| H A D | mca.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 74 * corrected machine check interrupt threshold. 102 static int mca_banks; /* Number of per-CPU register banks. */ 103 static int mca_maxcount = -1; /* Limit on records stored. (-1 = unlimited) */ 142 "Should the system send non-fatal machine check errors to the log " 180 if (error != 0 || req->newptr == NULL) in sysctl_mca_log_interval() 251 static int amd_elvt = -1; 260 * The RASCap register is wholly reserved in families 0x10-0x15 (through model 1F). in amd_thresholding_supported() 313 if (error || req->newptr == NULL) in sysctl_positive_int() [all …]
|
| /freebsd/contrib/ntp/html/ |
| H A D | huffpuff.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 6 <title>The Huff-n'-Puff Filter</title> 10 <h3>The Huff-n'-Puff Filter</h3> 12 <!-- #BeginDate format:En2m -->10-Mar-2014 05:09<!-- #EndDate --> 15 … many cases the apparent time errors are so large as to exceed the step threshold and a step corre… 16 <p>The huff-n'-puff filter is designed to correct the apparent time offset in these cases. It depen… 19 <p>Figure 1. Huff-n'-Puff Wedge Scattergram</p> 21 …-n'-puff filter works. Recall from the <a href="filter.html">Clock Filter Algorithm</a> page that … 23 …<p> θ = <em>y</em> <font face="symbol">-</font> (<em>x </em><font face="symbol">- </font><i… [all …]
|
| /freebsd/sys/dev/nvme/ |
| H A D | nvme_private.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2012-2014 Intel Corporation 66 * having IO_ENTRIES > IO_TRACKERS is for debugging purposes - when dumping 76 #define NVME_INT_COAL_THRESHOLD (0) /* 0-based */ 234 * The NVMe spec allows for the MSI-X table to be placed in BAR 4/5, 269 /** Page size and log2(page_size) - 12 that we're currently using */ 276 /** interrupt coalescing threshold */ 336 bus_space_read_4((sc)->bus_tag, (sc)->bus_handle, \ 340 bus_space_write_4((sc)->bus_tag, (sc)->bus_handle, \ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/input/ |
| H A D | iqs62x-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 17 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 23 further details and examples. Sensor hardware configuration (self-capacitive 24 vs. mutual-inductive, etc.) is selected based on the device's firmware. [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 1 //===- InlineCost.cpp - Cost analysis for inliner -------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 31 #include "llvm/Config/llvm-config.h" 52 #define DEBUG_TYPE "inline-cost" 57 DefaultThreshold("inlinedefault-threshold", cl::Hidden, cl::init(225), 60 // We introduce this option since there is a minor compile-time win by avoiding 61 // addition of TTI attributes (target-features in particular) to inline 66 "ignore-tti-inline-compatible", cl::Hidden, cl::init(false), [all …]
|
| H A D | DependenceAnalysis.cpp | 1 //===-- DependenceAnalysis.cpp - DA Implementation --------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 19 // or a more-or-less detailed description of the dependence between them. 22 // coupled RDIV subscripts and lacks a multi-subscript MIV test. 27 // analysis is using SCEV->delinearize to recover the representation of multiple 29 // delinearization is controlled by the flag -da-delinearize. 35 // Some non-linear subscript pairs can be handled by the GCD test 46 //===----------------------------------------------------------------------===// 48 // In memory of Ken Kennedy, 1945 - 2007 // [all …]
|
| /freebsd/crypto/heimdal/lib/wind/ |
| H A D | rfc3492.txt | 33 literally, and non-ASCII characters are represented by ASCII 50 3.3 Generalized variable-length integers..................5 75 A. Mixed-case annotation.....................................22 84 domain names. Labels containing non-ASCII characters can be 134 strings are case-folded prior to encoding, the basic string can use 135 mixed case to tell how to convert the folded string into a mixed-case 136 string. See appendix A "Mixed-case annotation". 159 The operators div and mod perform integer division; (x div y) is the 160 quotient of x divided by y, discarding the remainder, and (x mod y) 161 is the remainder, so (x div y) * y + (x mod y) == x. Bootstring uses [all …]
|
| /freebsd/sys/dev/usb/input/ |
| H A D | atp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 42 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de) 44 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch) 56 * I'm grateful to Stephan Scheunig, Angela Naegele, and Nokia IT-support 105 /* Threshold for small movement noise (in mickeys) */ 110 /* Threshold of instantaneous deltas beyond which movement is considered fast.*/ 132 * A double-tap followed by a single-finger slide is treated as a 134 * virtual button-press for the lifetime of the slide. The following [all …]
|
| H A D | wsp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 68 #define WSP_CLAMP(x,low,high) do { \ argument 69 if ((x) < (low)) \ 70 (x) = (low); \ 71 else if ((x) > (high)) \ 72 (x) = (high); \ 89 &wsp_debug, WSP_LLEVEL_ERROR, "WSP debug level (0-3)"); 133 WSP_CLAMP(ptun->scale_factor, 1, 63); in wsp_running_rangecheck() 134 WSP_CLAMP(ptun->scroll_finger_count, 0, 3); in wsp_running_rangecheck() [all …]
|
| /freebsd/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_health.c | 1 /*- 2 * Copyright (c) 2013-2019, Mellanox Technologies, Ltd. All rights reserved. 73 ret = -mlx5_vsc_lock(dev); in lock_sem_sw_reset() 79 ret = -mlx5_vsc_lock_addr_space(dev, MLX5_SEMAPHORE_SW_RESET); in lock_sem_sw_reset() 81 if (ret == -EBUSY) in lock_sem_sw_reset() 100 ret = -mlx5_vsc_lock(dev); in unlock_sem_sw_reset() 106 ret = -mlx5_vsc_unlock_addr_space(dev, MLX5_SEMAPHORE_SW_RESET); in unlock_sem_sw_reset() 116 return (ioread32be(&dev->iseg->cmdq_addr_l_sz) >> 8) & 7; in mlx5_get_nic_state() 123 cur_cmdq_addr_l_sz = ioread32be(&dev->iseg->cmdq_addr_l_sz); in mlx5_set_nic_state() 126 &dev->iseg->cmdq_addr_l_sz); in mlx5_set_nic_state() [all …]
|
| /freebsd/sys/cam/ |
| H A D | cam_iosched.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 60 * Default I/O scheduler for FreeBSD. This implementation is just a thin-vineer 85 * alpha_bits = -log_2(alpha) 86 * alpha = 2^-alpha_bits 103 * published read-only since at present they are compile time constants. 130 #define LAT_BUCKETS 20 /* < 20us < 40us ... < 2^(n-1)*20us >= 2^(n-1)*20us */ 254 int l_value1; /* per-limiter scratch value 1. */ 255 int l_value2; /* per-limiter scratch value 2. */ 263 int total; /* Total for all time -- wraps */ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/thermal/ |
| H A D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. 27 The polling-delay properties of a thermal-zone are bound to the maximum dT/dt [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | dsl_pool.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 57 * ------------------ 62 * for short periods and would lead to highly lumpy performance. On a per-pool 66 * predetermined threshold further modifications are blocked until the amount 78 * As buffers are modified dsl_pool_willuse_space() increments both the per- 82 * relevant, the per-txg value is useful for debugging. The tunable 86 * The zfs_dirty_data_sync_percent tunable dictates the threshold at which we 137 * handle between 10x and 1/10th this number. 155 * that are pre-populated when the taskq is first created (via the [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
| H A D | imx6qdl-zii-rdu2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/sound/fsl-imx-audmux.h> 11 stdout-path = &uart1; 15 mdio-gpio0 = &mdio1; 20 compatible = "virtual,mdio-gpio"; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 pinctrl-names = "default"; [all …]
|
| /freebsd/usr.sbin/pmcstat/ |
| H A D | pmcstat_log.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2007, Joseph Koshy 90 * - program executables, 91 * - shared libraries loaded by the runtime loader, 92 * - dlopen()'ed objects loaded by the program, 93 * - the runtime loader itself, 94 * - the kernel and kernel modules. 102 * segments and shared libraries loaded at process-specific locations. 106 * pmcstat_pcmap structures track per-image mappings. [all …]
|
| /freebsd/sys/dev/iwx/ |
| H A D | if_iwxreg.h | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 7 /*- 8 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 19 * Copyright(c) 2018 - 2019 Intel Corporation 33 * Copyright(c) 2018 - 2019 Intel Corporation 71 * enum iwx_context_info_flags - Context information control flags 77 * exponent, the actual size is 2**value, valid sizes are 8-2048. 80 * default is short format - not supported by the driver) 114 * struct iwx_context_info_version - version structure [all …]
|
| /freebsd/sys/netinet/ |
| 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, 130 #define VIFI_INVALID ((vifi_t) -1) 183 VNET_DEFINE_STATIC(u_char *, nexpire); /* 0..mfchashsize-1 */ 205 #define EXPIRE_TIMEOUT (hz / 4) /* 4x / second */ 387 if (in_hosteq(rt->mfc_origin, *o) && in mfc_find() 388 in_hosteq(rt->mfc_mcastgrp, *g) && in mfc_find() 389 buf_ring_empty(rt->mfc_stall_ring)) in mfc_find() 404 rt->mfc_stall_ring = buf_ring_alloc(MAX_UPQ, M_MRTABLE, in mfc_alloc() [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/sys/dev/iwm/ |
| H A D | if_iwmreg.h | 10 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 31 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 35 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 73 * BEGIN iwl-csr.h 81 * low power states due to driver-invoked device resets 82 * (e.g. IWM_CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 95 #define IWM_CSR_INT_COALESCING (0x004) /* accum ints, 32-usec units */ 109 * 31-16: Reserved 110 * 15- 1379 IWM_SCD_CONTEXT_QUEUE_OFFSET(x) global() argument 1382 IWM_SCD_TX_STTS_QUEUE_OFFSET(x) global() argument 1385 IWM_SCD_TRANS_TBL_OFFSET_QUEUE(x) global() argument 2357 IWM_NVM_RF_CFG_DASH_MSK(x) global() argument 2358 IWM_NVM_RF_CFG_STEP_MSK(x) global() argument 2359 IWM_NVM_RF_CFG_TYPE_MSK(x) global() argument 2360 IWM_NVM_RF_CFG_PNUM_MSK(x) global() argument 2361 IWM_NVM_RF_CFG_TX_ANT_MSK(x) global() argument 2362 IWM_NVM_RF_CFG_RX_ANT_MSK(x) global() argument 2364 IWM_NVM_RF_CFG_PNUM_MSK_8000(x) global() argument 2365 IWM_NVM_RF_CFG_DASH_MSK_8000(x) global() argument 2366 IWM_NVM_RF_CFG_STEP_MSK_8000(x) global() argument 2367 IWM_NVM_RF_CFG_TYPE_MSK_8000(x) global() argument 2368 IWM_NVM_RF_CFG_TX_ANT_MSK_8000(x) global() argument 2369 IWM_NVM_RF_CFG_RX_ANT_MSK_8000(x) global() argument 5363 IWM_SCAN_CHANNEL_NSSIDS(x) global() argument 5852 IWM_SCAN_CHANNEL_UMAC_NSSIDS(x) global() argument [all...] |