/freebsd-src/contrib/ntp/ntpd/ |
H A D | refclock_gpsdjson.c | 2 * refclock_gpsdjson.c - clock driver as GPSD JSON client 9 * Special thanks to Gary Miller and Hal Murray for their comments and 12 * Note: This will currently NOT work with Windows due to some 15 * - There is no GPSD for Windows. (There is an unofficial port to 18 * - To work properly, this driver needs PPS and TPV/TOFF sentences 22 * - The device name matching must be done in a different way for 25 * Apart from those minor hickups, once GPSD has been fully ported to 26 * Windows, there's no reason why this should not work there ;-) If this 27 * is ever to happen at all is a different question. 29 * --------------------------------------------------------------------- [all …]
|
H A D | refclock_irig.c | 2 * refclock_irig - audio IRIG-B/E demodulator/decoder 26 * Audio IRIG-B/E demodulator/decoder 29 * IRIG-B/E signals commonly produced by GPS receivers and other timing 30 * devices. The IRIG signal is an amplitude-modulated carrier with 31 * pulse-width modulated data bits. For IRIG-B, the carrier frequency is 32 * 1000 Hz and bit rate 100 b/s; for IRIG-E, the carrier frequenchy is 37 * kHz and mu-law companding. This is the same standard as used by the 43 * The program processes 8000-Hz mu-law companded samples using separate 44 * signal filters for IRIG-B and IRIG-E, a comb filter, envelope 46 * to the corrected slice level determine the width of each pulse and [all …]
|
H A D | refclock_chu.c | 2 * refclock_chu - clock driver for Canadian CHU time/frequency station 26 #define ICOM 1 /* undefine to suppress ICOM code */ 38 * ordinary shortwave receiver can be tuned manually to one of these 44 * kHz and mu-law companding. This is the same standard as used by the 50 * The driver can be compiled to use a Bell 103 compatible modem or 51 * modem chip to receive the radio signal and demodulate the data. 52 * Alternatively, the driver can be compiled to use the audio codec of 55 * the radio can be connected directly to either the microphone on line 57 * maximum-likelihood technique which exploits the considerable degree 58 * of redundancy available to maximize accuracy and minimize errors. [all …]
|
H A D | refclock_wwv.c | 2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station 37 * ordinary AM shortwave receiver can be tuned manually to one of these 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 55 * in this report have been modified somewhat to improve performance 56 * under weak signal conditions and to provide an automatic station 61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the 66 * Fudge flag4 causes the debugging output described above to be 68 * port, where 0 is the mike port (default) and 1 is the line-in port. 69 * It does not seem useful to select the compact disc player port. Fudge [all …]
|
H A D | refclock_jupiter.c | 17 * 4. The name of the University may not be used to endorse or promote 22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 38 /* This clock *REQUIRES* the PPS API to be available */ 66 * adapted to precision timing applications. It requires the 69 * gadget box and 1-PPS level converter, such as described in the 70 * Pulse-per-second (PPS) Signal Interfacing page. 85 #define PRECISION (-18) /* precision assumed (about 4 us) */ 94 * since 0000-12-31 to 1980-01-06 in the proleptic Gregorian Calendar. 98 /* Double short to unsigned int */ [all …]
|
H A D | refclock_true.c | 2 * refclock_true - clock driver for the Kinemetrics/TrueTime receivers 3 * Receiver Version 3.0C - tested plain, with CLKLDISC 5 * - Support TL-3 WWV TOD receiver 23 /* This should be an atom clock but those are very hard to build. 26 * of TTL input and output pins, all brought out to the back panel. If you 28 * Kinemetrics/Truetime clock) to the 8253's GATE0, and then also wire the 29 * 8253's OUT0 to the PCL720's INPUT3.BIT0, then we can read CTR0 to get the 31 * to find out if the counter has wrapped around (this happens if more than 46 * GOES: (468-DC, usable with GPS->GOES converting antenna) 47 * GPS/TM-TMD: [all …]
|
H A D | refclock_as2201.c | 2 * refclock_as2201 - clock driver for the Austron 2201A GPS 22 * Buffered RS-232-C Interface Module. Note that the original 2200/2201 26 * The program sends a "*toc\r" to the radio and expects a response of 29 * second. Then, it sends statistics commands to the radio and expects 30 * a multi-line reply showing the corresponding statistics or other 32 * a vector of commands; these might have to be changed with different 33 * radio options. If flag4 of the fudge configuration command is set to 34 * 1, the statistics data are written to the clockstats file for later 37 * In order for this code to work, the radio must be placed in non- 44 * default configuration is used with stock kernels and serial-line [all …]
|
H A D | refclock_neoclock4x.c | 4 * - NeoClock4X driver for DCF77 or FIA Timecode 6 * Date: 2009-12-04 v1.16 57 * NTP version 4.20 change the pp->msec field to pp->nsec. 58 * To allow to support older ntp versions with this sourcefile 59 * you can define NTP_PRE_420 to allow this driver to compile 60 * with ntp version back to 4.1.2. 68 * If you want the driver for whatever reason to not use 69 * the TX line to send anything to your NeoClock4X 73 * If you want to enable this feature change the "#if 0" 74 * line to "#if 1" and make sure that the defined firmware [all …]
|
H A D | refclock_mx4200.c | 3 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66. 20 * 4. The name of the University may not be used to endorse or promote 25 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 41 * copied from the Oncore driver (Thanks, Poul-Henning Kamp). 42 * This code runs on SunOS 4.1.3 with ppsclock-1.6a1 and Solaris 7. 87 * adapted to precision timing applications. It requires the 90 * gadget box and 1-PPS level converter, such as described in the 91 * Pulse-per-second (PPS) Signal Interfacing page. 111 #define PRECISION (-18) /* precision assumed (about 4 us) */ [all …]
|
H A D | refclock_wwvb.c | 2 * refclock_wwvb - clock driver for Spectracom WWVB and GPS receivers 29 * WWVB clocks have proven vulnerable to high ambient conductive RF 31 * relative to the broadcast signal, while the claimed accuracy of the 36 * The WWVB and GPS clocks should be configured for 24-hour display, 38 * baud rate 9600. If the clock is to used as the source for the IRIG 41 * signature control). The GPS clock can be configured either to respond 42 * to a 'T' poll character or left running continuously. 53 * on-time = first <cr> 65 * on-time = <cr> 80 * but is set to 'L' early in the month of an upcoming UTC leap second [all …]
|
H A D | refclock_acts.c | 2 * refclock_acts - clock driver for the NIST/USNO/PTB/NPL Computer Time 30 * use as backup when neither a radio clock nor connectivity to Internet 33 * This driver requires a modem with a Hayes-compatible command set and 35 * modem setup string is hard-coded in the driver and may require 41 * followed by the number itself, including the long-distance prefix 50 * The driver is transparent to each of the modem time services and 66 * Ordinarily, the serial port is connected to a modem and the phones 68 * connected directly to a device or another computer. In this case the 70 * fudge flag2 is enabled, port locking allows the modem to be shared 76 * Phone: (303) 494-4774 (Boulder, CO); (808) 335-4721 (Hawaii) [all …]
|
H A D | refclock_chronolog.c | 2 * refclock_chronolog - clock driver for Chronolog K-series WWVB receiver. 6 * Must interpolate back to local time. Very annoying. 26 * This driver supports the Chronolog K-series WWVB receiver. 33 * YY/MM/DD -- what you'd expect. This arrives a few seconds before the 35 * hh:mm:ss -- what you'd expect. We take time on the <cr>. 38 * otherwise. The clock seems to appear every 60 seconds, which doesn't make 49 #define PRECISION (-13) /* precision assumed (about 100 us) */ 51 #define DESCRIPTION "Chrono-log K" /* WRU */ 56 * Chrono-log unit control structure 62 int year; /* Y2K-adjusted year */ [all …]
|
H A D | refclock_hpgps.c | 2 * refclock_hpgps - clock driver for HP 58503A GPS receiver 30 * Comments and/or questions to: Dave Vitanye 33 * (408) 553-2856 35 * Thanks to the author of the PST driver, which was the starting point for 39 * This receiver uses HP SmartClock (TM) to implement an Enhanced GPS receiver. 40 * The receiver accuracy when locked to GPS in normal operation is better 47 * That is selected by adding "mode 1" to the server line in ntp.conf 52 * Initial driver operation: expects the receiver to be already locked 53 * to GPS, configured and able to output timecode format 2 messages. 55 * The driver uses the poll sequence :PTIME:TCODE? to get a response from [all …]
|
H A D | refclock_palisade.c | 19 * 4. The name of Trimble Navigation Ltd. may not be used to endorse or 24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 37 * refclock_palisade - clock driver for the Trimble Palisade GPS 40 * For detailed information on this program, please refer to the html 46 * Sven-Thorsten Dietrich 49 * Sunnyvale, CA 94088-3642 57 * E-mail: fernandoph@iar.unlp.edu.ar 101 palisade_start, /* start up driver */ 113 #define CLK_TYPE(x) ((int)(((x)->ttl) & 0x7F)) [all …]
|
/freebsd-src/contrib/bmake/ |
H A D | ChangeLog | 1 2024-07-13 Simon J Gerraty <sjg@beast.crufty.net> 7 2024-07-12 Simon J Gerraty <sjg@beast.crufty.net> 9 * Apply some patches from NetBSD pkgsrc to reduce divergence 14 * configure.in: use *ksh* rather than just *ksh to match 17 * unit-tests/Makefile: expand BROKEN_TESTS for ksh and 20 2024-07-11 Simon J Gerraty <sjg@beast.crufty.net> 23 Merge with NetBSD make, pick up [all...] |
/freebsd-src/sys/dev/usb/ |
H A D | usb_process.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 16 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 82 /*--- 90 struct usb_process *up = arg; usb_process() local 204 usb_proc_create(struct usb_process * up,struct mtx * p_mtx,const char * pmesg,uint8_t prio) usb_proc_create() argument 239 usb_proc_free(struct usb_process * up) usb_proc_free() argument 266 usb_proc_msignal(struct usb_process * up,void * _pm0,void * _pm1) usb_proc_msignal() argument 350 usb_proc_is_gone(struct usb_process * up) usb_proc_is_gone() argument 372 usb_proc_mwait(struct usb_process * up,void * _pm0,void * _pm1) usb_proc_mwait() argument 414 usb_proc_drain(struct usb_process * up) usb_proc_drain() argument 468 usb_proc_rewakeup(struct usb_process * up) usb_proc_rewakeup() argument 492 usb_proc_is_called_from(struct usb_process * up) usb_proc_is_called_from() argument [all...] |
/freebsd-src/tests/sys/netpfil/pf/ |
H A D | pfsync.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 16 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 56 jexec one ifconfig ${epair_sync}a 192.0.2.1/24 up 57 jexec one ifconfig ${epair_one}a 198.51.100.1/24 up 62 up 63 jexec two ifconfig ${epair_two}a 198.51.100.2/24 up [all...] |
H A D | route_to.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 16 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 34 atf_set descr 'Basic route-to test' 43 ifconfig ${epair_send}a 192.0.2.1/24 up 45 ifconfig ${epair_route}a 203.0.113.1/24 up [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 1 //===- LoopUnroll.cpp - Loop unroller pass -------- 191 TargetTransformInfo::UnrollingPreferences UP; gatherUnrollingPreferences() local 691 getUnrolledLoopSize(const TargetTransformInfo::UnrollingPreferences & UP,unsigned CountOverwrite) const getUnrolledLoopSize() argument 762 shouldPragmaUnroll(Loop * L,const PragmaInfo & PInfo,const unsigned TripMultiple,const unsigned TripCount,unsigned MaxTripCount,const UnrollCostEstimator UCE,const TargetTransformInfo::UnrollingPreferences & UP) shouldPragmaUnroll() argument 794 shouldFullUnroll(Loop * L,const TargetTransformInfo & TTI,DominatorTree & DT,ScalarEvolution & SE,const SmallPtrSetImpl<const Value * > & EphValues,const unsigned FullUnrollTripCount,const UnrollCostEstimator UCE,const TargetTransformInfo::UnrollingPreferences & UP) shouldFullUnroll() argument 823 shouldPartialUnroll(const unsigned LoopSize,const unsigned TripCount,const UnrollCostEstimator UCE,const TargetTransformInfo::UnrollingPreferences & UP) shouldPartialUnroll() argument 882 computeUnrollCount(Loop * L,const TargetTransformInfo & TTI,DominatorTree & DT,LoopInfo * LI,AssumptionCache * AC,ScalarEvolution & SE,const SmallPtrSetImpl<const Value * > & EphValues,OptimizationRemarkEmitter * ORE,unsigned TripCount,unsigned MaxTripCount,bool MaxOrZero,unsigned TripMultiple,const UnrollCostEstimator & UCE,TargetTransformInfo::UnrollingPreferences & UP,TargetTransformInfo::PeelingPreferences & PP,bool & UseUpperBound) computeUnrollCount() argument 1167 TargetTransformInfo::UnrollingPreferences UP = gatherUnrollingPreferences( tryToUnrollLoop() local [all...] |
H A D | LoopUnrollAndJamPass.cpp | 1 //===- LoopUnrollAndJam.cpp - Loop unroll and jam pass -------- 144 getUnrollAndJammedLoopSize(unsigned LoopSize,TargetTransformInfo::UnrollingPreferences & UP) getUnrollAndJammedLoopSize() argument 158 computeUnrollAndJamCount(Loop * L,Loop * SubLoop,const TargetTransformInfo & TTI,DominatorTree & DT,LoopInfo * LI,AssumptionCache * AC,ScalarEvolution & SE,const SmallPtrSetImpl<const Value * > & EphValues,OptimizationRemarkEmitter * ORE,unsigned OuterTripCount,unsigned OuterTripMultiple,const UnrollCostEstimator & OuterUCE,unsigned InnerTripCount,unsigned InnerLoopSize,TargetTransformInfo::UnrollingPreferences & UP,TargetTransformInfo::PeelingPreferences & PP) computeUnrollAndJamCount() argument 283 TargetTransformInfo::UnrollingPreferences UP = gatherUnrollingPreferences( tryToUnrollAndJamLoop() local [all...] |
/freebsd-src/tests/sys/net/ |
H A D | if_lagg_test.sh | 12 # substantially similar to the "NO WARRANTY" disclaimer below 20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 23 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 43 # Configure the lagg interface to use an RFC5737 nonrouteable addresses 52 ifconfig $TAP0 up 53 ifconfig $TAP1 up 54 atf_check ifconfig $LAGG up laggport $TAP0 laggport $TAP1 \ 56 atf_check -o match:"inet ${ADDR}" ifconfig $LAGG 57 atf_check -o match:"laggport: ${TAP0}" ifconfig $LAGG 58 atf_check -o match:"laggport: ${TAP1}" ifconfig $LAGG [all …]
|
/freebsd-src/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_uar.c | 1 /*- 2 * Copyright (c) 2013-2020, Mellanox Technologies. All rights reserved. 14 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 #include <linux/io-mapping.h> 73 system_page_index = index >> (PAGE_SHIFT - MLX5_ADAPTER_PAGE_SHIFT); in uar2pfn() 77 return (pci_resource_start(mdev->pdev, 0) >> PAGE_SHIFT) + system_page_index; in uar2pfn() 82 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); in up_rel_func() local 84 list_del(&up->list); in up_rel_func() 85 iounmap(up->map); in up_rel_func() [all …]
|
/freebsd-src/contrib/sendmail/src/ |
H A D | udb.c | 2 * Copyright (c) 1998-2003, 2006 Proofpoint, Inc. and its suppliers. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 8 * By using this file, you agree to the terms and conditions set 18 SM_RCSID("@(#)$Id: udb.c,v 8.166 2013-11-22 20:51:57 ca Exp $ (with USERDB)") 20 SM_RCSID("@(#)$Id: udb.c,v 8.166 2013-11-22 20:51:57 ca Exp $ (without USERDB)") 32 void *data; /* pointer to data */ 38 ** UDB.C -- interface between sendmail and Berkeley User Data Base. 52 /* type UE_REMOTE -- do remote call for lookup */ 62 /* type UE_FORWARD -- forward message to remote */ 70 /* type UE_FETCH -- look up in local database */ [all …]
|
/freebsd-src/share/doc/papers/bufbio/ |
H A D | bio.ms | 1 .\" ---------------------------------------------------------------------------- 2 .\" "THE BEER-WARE LICENSE" (Revision 42): 5 .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 6 .\" ---------------------------------------------------------------------------- 13 - or - 17 Poul-Henning Kamp <phk@FreeBSD.org> 22 they they left the file-system layer were logical sub disk implementation 25 and operating system have done it their own way. As FreeBSD migrates to 26 other platforms it needs to understand these local conventions to be 27 able to co-exist with other operating systems on the same disk. [all …]
|
/freebsd-src/sys/kern/ |
H A D | subr_unit.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2004 Poul-Henning Kamp 17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * These functions implement a mixed run-length/bitmap management of unit 36 * A return value of -1 signals that no more unit numbers are available. 39 * the resource really is finite, specify INT_MAX to new_unrhdr() and 43 * default global mutex is used. The advantage to passing a mutex in, is 51 * sleep so the free_unr() function does not come in a pre-locked variant. [all …]
|