/freebsd/lib/libsys/ |
H A D | ntp_adjtime.2 | 61 to adjust the phase and frequency of the phase- or frequency-lock loop 66 function provides the time, maximum error (sync distance) and 78 .Bd -literal 82 long freq; /* frequency offset (scaled ppm) (rw) */ 88 long tolerance; /* clock frequency tolerance (scaled 91 * The following read-only structure members are implemented 95 long ppsfreq; /* pps frequency (scaled ppm) (ro) */ 98 long stabil; /* pps stability (scaled ppm) (ro) */ 109 .Bl -tag -width tolerance -compact 113 call (write-only). [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | fmt_scaled.c | 32 * fmt_scaled: Format numbers scaled for human comprehension 35 * "Human-readable" output uses 4 digits max, and puts a unit suffix at 36 * the end. Makes output compact and easy-to-read esp. on huge disks. 56 /* These three arrays MUST be in sync! XXX make a struct */ 70 #define MAX_DIGITS (SCALE_LENGTH * 3) /* XXX strlen(sprintf("%lld", -1)? */ 72 /* Convert the given input string "scaled" into numeric in "result". 73 * Return 0 on success, -1 and errno set on error. 76 scan_scaled(char *scaled, long long *result) in scan_scaled() argument 78 char *p = scaled; in scan_scaled() 87 /* Then at most one leading + or - */ in scan_scaled() [all …]
|
/freebsd/sys/dev/videomode/ |
H A D | vesagtf.c | 3 /*- 43 * This has required the use of 64-bit integers in a few places, but 89 * Copyright (c) 1994, 1995, 1996 - Video Electronics Standards 120 * surrounding the addressable video); on most non-overscan type 172 * #define C_PRIME (((C - J) * K/256.0) + J) 180 #define C_PRIME256(p) (((p->C - p->J) * p->K) + (p->J * 256)) 181 #define M_PRIME256(p) (p->K * p->M) 186 * print_value() - print the result of the named computation; this is 195 printf("%2d: %-27s: %u\n", n, name, val); in print_value() 202 * vert_refresh() - as defined by the GTF Timing Standard, compute the [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_eeprom_v3.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 31 #define AR_EEPROM_ATHEROS_BASE 0xc0 /* Base of Atheros-specific data */ 33 #define AR_EEPROM_ATHEROS_MAX (0x400-AR_EEPROM_ATHEROS_BASE) 37 #define AR_EEPROM_SIZE_LOWER 0x1b /* size info -- lower */ 38 #define AR_EEPROM_SIZE_UPPER 0x1c /* size info -- upper */ 43 #define AR_EEPROM_ATHEROS_MAX_OFF (AR_EEPROM_ATHEROS_MAX_LOC-AR_EEPROM_ATHEROS_BASE) 78 /* XXX used to index various EEPROM-derived data structures */ [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_wwv.c | 2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station 43 * kHz and mu-law companding. This is the same standard as used by the 53 * Report 97-8-1, University of Delaware, August 1997, 25 pp., available 61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the 68 * port, where 0 is the mike port (default) and 1 is the line-in port. 74 * CEVNT_PROP propagation failure - no stations heard 82 #define PRECISION (-10) /* precision assumed (about 1 ms) */ 99 #define AUDIO_PHI 5e-6 /* dispersion growth factor */ 120 * on signal loss. SSYNC is set when the second sync puls 480 struct sync { global() struct 482 maxengsync global() argument 483 noiengsync global() argument 486 mepochsync global() argument 488 ampsync global() argument 489 synengsync global() argument 490 synmaxsync global() argument 491 synsnrsync global() argument 504 refidsync global() argument [all...] |
H A D | ntp_proto.c | 2 * ntp_proto.c - NTP version 4 protocol machinery 31 # define BDELAY_DEFAULT (-0.050) 38 x.l_ui &= ~((1 << SRVFUZ_SHIFT) - 1U); \ 50 AUTH_UNKNOWN = -1, /* Unknown */ 99 double synch; /* sync distance */ 167 int sys_ceiling = STRATUM_UNSPEC - 1; /* cluster stratum ceiling */ 179 * Statistics counters - first the good, then the bad 196 * The default way is "on-receipt". If this was a packet from a 197 * well-behaved source, on-receip [all...] |
/freebsd/contrib/libpcap/ |
H A D | pcap-tstamp.manmisc.in | 22 .TH PCAP-TSTAMP @MAN_MISC_INFO@ "14 July 2020" 24 pcap-tstamp \- packet time stamps in libpcap 41 capture device and when the networking stack time-stamps the packet; 48 a high-resolution timer might use a counter that runs at a rate 58 different CPU cores on a multi-core or multi-processor system might be 60 synchronized, so packets time-stamped by different cores might not have 68 the fraction-of-a-second part of the time stamp might roll over past 76 In addition, packets time-stamped by different cores might be 77 time-stamped in one order and added to the queue of packets for libpcap 82 packets; those time stamps are usually high-resolution time stamps, and [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2021 - 2023 Intel Corporation 7 #include "iwl-debug.h" 14 /* The scaled_ppm parameter is ppm (parts per million) with a 16-bit fractional 16 * 2^-16 ppm, and 2^16=65536 is 1 ppm. 28 if (gp2 < mvm->ptp_data.last_gp2 && in iwl_mvm_ptp_update_new_read() 29 mvm->ptp_data.last_gp2 - gp2 < IWL_PTP_WRAP_THRESHOLD_USEC) { in iwl_mvm_ptp_update_new_read() 32 gp2, mvm->ptp_data.last_gp2); in iwl_mvm_ptp_update_new_read() 36 if (gp2 < mvm->ptp_data.last_gp2) { in iwl_mvm_ptp_update_new_read() 37 mvm->ptp_data.wrap_counter++; in iwl_mvm_ptp_update_new_read() [all …]
|
H A D | mvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 26 #include "iwl-o [all...] |
/freebsd/contrib/ntp/include/ |
H A D | ntp_request.h | 2 * ntp_request.h - definitions for the ntpd remote query facility 20 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 22 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 24 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 30 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 32 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 36 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 63 * Request code: An implementation-specific code which specifies the 71 * 0 - no error 72 * 1 - incompatible implementation number [all …]
|
/freebsd/sys/netpfil/pf/ |
H A D | if_pfsync.c | 1 /*- 2 * SPDX-License-Identifier: (BSD-2-Clause AND ISC) 30 /*- 50 * 1.119 - don't m_copydata() beyond the len of mbuf in pfsync_input() 51 * 1.118, 1.124, 1.148, 1.149, 1.151, 1.171 - fixes to bulk updates 52 * 1.120, 1.175 - use monotonic time_uptime 53 * 1.122 - reduce number of updates for non-TCP sessions 54 * 1.125, 1.127 - rewrite merge or stale processing 55 * 1.128 - cleanups 56 * 1.146 - bzero() mbuf before sparsely filling it with data [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 1 //===- BasicAliasAnalysis.cpp - Stateless Alias Analysis Impl -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 69 static cl::opt<bool> EnableRecPhiAnalysis("basic-aa-recphi", cl::Hidden, 72 static cl::opt<bool> EnableSeparateStorageAnalysis("basic-aa-separate-storage", 100 //===----------------------------------------------------------------------===// 102 //===----------------------------------------------------------------------===// 145 // - either rewind the pointer q to the base-address of the object in in isObjectSmallerThan() 147 // - just give up. It is up to caller to make sure the pointer is pointing in isObjectSmallerThan() [all …]
|
/freebsd/sys/contrib/openzfs/man/man4/ |
H A D | zfs.4 | 9 .\" usr/src/OPENSOLARIS.LICENSE or https://opensource.org/licenses/CDDL-1.0. 31 .Bl -tag -width Ds 102 Turbo L2ARC warm-up. 179 Percent of ARC size allowed for L2ARC-only headers. 252 before moving on to the next top-level vdev. 255 Enable metaslab group biasing based on their vdevs' over- or under-utilization 305 When attempting to log an output nvlist of an ioctl in the on-disk history, 310 .Fn zfs_ioc_channel_program Pq cf. Xr zfs-program 8 . 316 Enable/disable segment-based metaslab selection. 319 When using segment-based metaslab selection, continue allocating [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | htt.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 31 /* bits 5-23 currently reserved */ 36 enum htt_h2t_msg_type { /* host-to-target */ 59 u8 pad[sizeof(u32) - sizeof(struct htt_cmd_hdr)]; 76 * but the host shall use the bit-mast + bit-shift defs, to be endian- 178 * htt_data_tx_desc - used for data tx path 181 * ext_tid: for qos-data frames (0-15), see %HTT_DATA_TX_EXT_TID_ 243 #define HTT_RX_RING_FILL_LEVEL (((HTT_RX_RING_SIZE) / 2) - 1) [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 80 for instance transport or consumption of a substance at a well-known [all …]
|
/freebsd/share/misc/ |
H A D | usb_vendors | 6 # http://www.linux-usb.org/usb-ids.html 7 # or send entries as patches (diff -u old new) in the 10 # http://www.linux-usb.org/usb.ids 13 # Date: 2024-07-04 20:34:02 20 # device device_name <-- single tab 21 # interface interface_name <-- two tabs 38 5301 GW-US54ZGL 802.11bg 54 145f NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211] 62 0200 TP-Link 81 120e ASI120MC-S Planetary Camera [all …]
|
/freebsd/share/man/man5/ |
H A D | pf.conf.5 | 10 .\" - Redistributions of source code must retain the above copyright 12 .\" - Redistributions in binary form must reproduce the above 45 .Bl -tag -width xxxx 47 User-defined variables may be defined and used later, simplifying 57 Ethernet filtering provides rule-based blocking or passing of Ethernet packets. 62 Queueing provides rule-based bandwidth control. 67 Packet filtering provides rule-based blocking or passing of packets. 81 .Ar set require-order 91 .Bd -literal -offset indent 105 .Bd -literal -offset indent [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/sys/contrib/openzfs/module/zfs/ |
H A D | zil.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 57 * 2. they are committed to the on-disk ZIL for the dataset being 62 * dataset's on-disk ZIL will be replayed when that dataset is first 66 * As hinted at above, there is one ZIL per dataset (both the in-memory 67 * representation, and the on-disk representation). The on-disk format 70 * - a single, per-dataset, ZIL header; which points to a chain of 71 * - zero or more ZIL blocks; each of which contains 72 * - zero or more ZIL records 133 * power loss if a volatile out-of-order write cache is enabled. 154 const dva_t *dva1 = &((zil_bp_node_t *)x1)->zn_dva; in zil_bp_compare() [all …]
|
/freebsd/contrib/ntp/scripts/monitoring/ |
H A D | ntploopwatch | 1 #!/usr/bin/perl -w 2 ;# --*-perl-*-- 4 ;# /src/NTP/ntp4-dev/scripts/monitoring/ntploopwatch,v 4.7 2004/11/14 16:11:05 kardel RELEASE_20050… 7 ;# - show statistics periodically using gnuplot 8 ;# - or print a single plot 10 ;# Copyright (c) 1992-1998 11 ;# Rainer Pruy, Friedrich-Alexander Universit�t Erlangen-N�rnberg 27 ($a,$b) if 0; # keep -w happy 28 $usage = <<"E-O-P"; 31 $0 [-v[<level>]] [-c <config-file>] [-d <working-dir>] [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineScheduler.cpp | 1 //===- MachineScheduler.cpp - Machine Instruction Scheduler ---------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 51 #include "llvm/Config/llvm-config.h" 74 #define DEBUG_TYPE "machine-scheduler" 80 cl::opt<bool> ForceTopDown("misched-topdown", cl::Hidden, 81 cl::desc("Force top-down list scheduling")); 82 cl::opt<bool> ForceBottomUp("misched-bottomup", cl::Hidden, 83 cl::desc("Force bottom-up list scheduling")); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMAsmPrinter.cpp | 1 //===-- ARMAsmPrinter.cpp - Print machine code to an ARM .s file ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // of machine-dependent LLVM code to GAS-format ARM assembly language. 12 //===----------------------------------------------------------------------===// 51 #define DEBUG_TYPE "asm-printer" 56 MCP(nullptr), InConstantPool(false), OptimizationGoals(-1) {} in ARMAsmPrinter() 64 OutStreamer->emitDataRegion(MCDR_DataRegionEnd); in emitFunctionBodyEnd() 68 if (AFI->isThumbFunction()) { in emitFunctionEntryLabel() 69 OutStreamer->emitAssemblerFlag(MCAF_Code16); in emitFunctionEntryLabel() [all …]
|
/freebsd/sys/netinet/ |
H A D | tcp_var.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 73 * take and shift over by 1 minus the value (1-8). 135 #define SEGQ_EMPTY(tp) TAILQ_EMPTY(&(tp)->t_segq) 151 uint64_t end; /* End if not open-range req */ 176 * - sendmap 177 * - timers 178 * - rack_times 202 * is unfilled. This may mean that a time is off by a micro-second 231 #define SNDMAP_TLP 0x000080/* segment sent as tail-loss-probe */ [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_reset.c | 121 ahp->ah_hwp = HAL_TRUE_CHIP; in ar9300_attach_hw_platform() 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() 226 centers->ctl_center = centers->ext_center = in ar9300_get_channel_centers() 227 centers->synth_center = ichan->channel; in ar9300_get_channel_centers() 238 centers->synth_center = ichan->channel + HT40_CHANNEL_CENTER_SHIFT; in ar9300_get_channel_centers() 241 centers->synth_center = ichan->channel - HT40_CHANNEL_CENTER_SHIFT; in ar9300_get_channel_centers() 242 extoff = -1; in ar9300_get_channel_centers() 245 centers->ctl_center = in ar9300_get_channel_centers() 246 centers->synth_center - (extoff * HT40_CHANNEL_CENTER_SHIFT); in ar9300_get_channel_centers() [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | reg_addr.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 78 …- For ending "endless completion". 0 - When receiving a completion timeout while receiving a compl… 79 …dth:0x4 // 0 - TXCPL sync fifo pop underflow 1 - TXR sync fifo pop underflow 2 - TXW header syn… 80 …DataWidth:0x6 // 0 - RX target read and config sync fifo push overflow 1 - RX header sync fifo … 81 …h:0x14 // 4:0 - TXCPL sync fifo pop status 9:5 - TXR sync fifo pop status 14:10 - TXW header syn… 88 …ffff<<0) // Vendor ID. PCI-SIG assigned Manufacturer Identifier. Note: The access attributes of … 90 …ce Identifier. Note: The access attributes of this field are as follows: - Dbi: if (DBI_RO_WR_E… 116 … (0x1<<9) // Fast back-to-back transaction ena… 128 … (0x1<<23) // Fast back-to-back capable. Not ap… 145 …l has_io_bar=0. Note: The access attributes of this field are as follows: - Dbi: if (DBI_RO_WR_E… [all …]
|