/freebsd/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-H 312 struct irigunit *up; irig_start() local 388 struct irigunit *up; irig_shutdown() local 412 struct irigunit *up; irig_receive() local 512 struct irigunit *up; irig_rf() local 591 struct irigunit *up; irig_base() local 750 struct irigunit *up; irig_baud() local 839 struct irigunit *up; irig_decode() local 1018 struct irigunit *up; irig_gain() local [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-i 636 struct wwvunit *up; wwv_start() local 761 struct wwvunit *up; wwv_shutdown() local 792 struct wwvunit *up; wwv_receive() local 880 struct wwvunit *up; wwv_poll() local 928 struct wwvunit *up; wwv_rf() local 1302 struct wwvunit *up; wwv_qrz() local 1389 struct wwvunit *up; wwv_endpoc() local 1619 struct wwvunit *up; wwv_epoch() local 1755 struct wwvunit *up; wwv_rsec() local 2054 struct wwvunit *up; wwv_clock() local 2124 struct wwvunit *up; wwv_corr4() local 2220 struct wwvunit *up; wwv_tsec() local 2400 struct wwvunit *up; wwv_newchan() local 2493 struct wwvunit *up; wwv_newgame() local 2574 struct wwvunit *up; wwv_qsy() local 2617 timecode(struct wwvunit * up,char * tc,size_t tcsiz) timecode() argument 2681 struct wwvunit *up; wwv_gain() local [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-1 179 struct instance * up; jupiter_start() local 250 struct instance * const up = pp->unitptr; jupiter_shutdown() local 269 jupiter_config(struct instance * const up) jupiter_config() argument 313 jupiter_checkpps(struct refclockproc * const pp,struct instance * const up) jupiter_checkpps() argument 348 struct instance * const up = pp->unitptr; jupiter_ticker() local 371 jupiter_ppsapi(struct instance * const up) jupiter_ppsapi() argument 429 jupiter_pps(struct instance * const up) jupiter_pps() argument 475 struct instance * const up = pp->unitptr; jupiter_poll() local 507 struct instance * const up = pp->unitptr; jupiter_control() local 534 struct instance * const up = pp->unitptr; jupiter_receive() local 658 jupiter_parse_t(struct instance * const up,u_short * sp,l_fp rcvtime) jupiter_parse_t() argument 725 jupiter_parse_gpos(struct instance * const up,u_short * sp) jupiter_parse_gpos() argument 796 jupiter_send(struct instance * const up,struct jheader * hp) jupiter_send() argument 840 jupiter_reqmsg(struct instance * const up,u_int id,u_int interval) jupiter_reqmsg() argument 867 jupiter_canmsg(struct instance * const up,u_int id) jupiter_canmsg() argument 889 jupiter_reqonemsg(struct instance * const up,u_int id) jupiter_reqonemsg() argument 915 jupiter_platform(struct instance * const up,u_int platform) jupiter_platform() argument 947 jupiter_recv(struct instance * const up) jupiter_recv() argument [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 fin 219 struct true_unit *up; true_debug() local 269 register struct true_unit *up; true_start() local 331 register struct true_unit *up; true_shutdown() local 351 register struct true_unit *up; true_receive() local 654 struct true_unit *up; true_doevent() local 927 struct true_unit *up; true_poll() local [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 wor 160 register struct as2201unit *up; as2201_start() local 211 register struct as2201unit *up; as2201_shutdown() local 231 register struct as2201unit *up; as2201_receive() local [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 compil 164 struct neoclock4x_unit *up; neoclock4x_start() local 394 struct neoclock4x_unit *up; neoclock4x_shutdown() local 446 struct neoclock4x_unit *up; neoclock4x_receive() local 662 struct neoclock4x_unit *up; neoclock4x_poll() local 678 struct neoclock4x_unit *up; neoclock4x_control() local [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-secon 211 register struct mx4200unit *up; mx4200_start() local 262 register struct mx4200unit *up; mx4200_shutdown() local 284 register struct mx4200unit *up; mx4200_config() local 482 register struct mx4200unit *up; mx4200_ref() local 603 register struct mx4200unit *up; mx4200_poll() local 664 register struct mx4200unit *up; mx4200_receive() local 952 struct mx4200unit *up; mx4200_parse_t() local 1234 struct mx4200unit *up; mx4200_parse_p() local 1455 struct mx4200unit *up; mx4200_parse_s() local 1499 struct mx4200unit *up; mx4200_pps() local 1563 struct mx4200unit *up; mx4200_debug() local 1597 struct mx4200unit *up; global() local [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 ' 183 register struct wwvbunit *up; wwvb_start() local 233 struct wwvbunit * up; wwvb_shutdown() local 252 struct wwvbunit *up; wwvb_receive() local 455 register struct wwvbunit *up; wwvb_timer() local 502 register struct wwvbunit *up; wwvb_poll() local 565 register struct wwvbunit *up; wwvb_control() local [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-477 247 struct actsunit *up; acts_start() local 290 struct actsunit *up; acts_shutdown() local 311 struct actsunit *up; acts_receive() local 360 struct actsunit *up; acts_message() local 460 struct actsunit *up; acts_timeout() local 593 struct actsunit *up; acts_close() local 634 struct actsunit *up; acts_poll() local 688 struct actsunit *up; acts_timer() local 720 struct actsunit *up; acts_timecode() local [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 (-1 98 register struct chronolog_unit *up; chronolog_start() local 153 register struct chronolog_unit *up; chronolog_shutdown() local 173 struct chronolog_unit *up; chronolog_receive() local [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 outpu 156 register struct hpgpsunit *up; hpgps_start() local 228 register struct hpgpsunit *up; hpgps_shutdown() local 248 register struct hpgpsunit *up; hpgps_receive() local 602 register struct hpgpsunit *up; hpgps_poll() local [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)->tt 302 struct palisade_unit *up; palisade_start() local 447 struct palisade_unit *up; palisade_shutdown() local 549 struct palisade_unit *up; TSIP_decode() local 1137 struct palisade_unit *up; palisade_receive() local 1205 struct palisade_unit *up; palisade_poll() local 1253 struct palisade_unit *up; praecis_parse() local 1309 struct palisade_unit *up; palisade_io() local 1416 struct palisade_unit *up; HW_poll() local [all...] |
/freebsd/contrib/bmake/ |
H A D | ChangeLog | 1 2025-03-08 Simon J Gerraty <sjg@beast.crufty.net> 3 * bsd.after-import.mk: by default generate makefiles 4 closer to BSD style. 7 Merge with NetBSD make, pick up 8 o clean up comments and code for parallel mode 11 2025-02-27 Simon J Gerraty <sjg@beast.crufty.net> 14 Merge with NetBSD make, pick up 16 by passing signal to childre [all...] |
/freebsd/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 /*------------------------------------------------------------------------* 86 *------------------------------------------------------------------------*/ 90 struct usb_process *up = arg; in usb_process() local 100 sched_prio(td, up->up_prio); in usb_process() 103 USB_MTX_LOCK(up->up_mtx); in usb_process() 105 up->up_curtd = td; in usb_process() [all …]
|
/freebsd/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 64 jexec two ifconfig ${epair_sync}b 192.0.2.2/24 up 69 up 72 jexec one pfctl -e [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 48 jexec alcatraz ifconfig ${epair_send}b 192.0.2.2/24 up 49 jexec alcatraz ifconfig ${epair_route}b 203.0.113.2/24 up 50 jexec alcatraz route add -net 198.51.100.0/24 192.0.2.1 51 jexec alcatraz pfctl -e [all …]
|
H A D | nat64.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 36 ifconfig ${epair}a inet6 2001:db8::2/64 up no_dad 37 route -6 add default 2001:db8::1 40 jexec rtr ifconfig ${epair}b inet6 2001:db8::1/64 up no_dad 41 jexec rtr ifconfig ${epair_link}a 192.0.2.1/24 up 44 jexec dst ifconfig ${epair_link}b 192.0.2.2/24 up 48 atf_check -s exit:0 -o ignore \ 49 ping6 -c 1 2001:db8::1 [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 1 //===- LoopUnroll.cpp - Loop unroller pass --------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // been canonicalized by the -indvars pass, allowing it to determine the trip 12 //===----------------------------------------------------------------------===// 74 #define DEBUG_TYPE "loop-unroll" 77 "forget-scev-loop-unroll", cl::init(false), cl::Hidden, 79 " the current top-most loop. This is sometimes preferred to reduce" 83 UnrollThreshold("unroll-threshold", cl::Hidden, 88 "unroll-optsize-threshold", cl::init(0), cl::Hidden, [all …]
|
H A D | LoopUnrollAndJamPass.cpp | 1 //===- LoopUnrollAndJam.cpp - Loop unroll and jam pass --------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 54 #define DEBUG_TYPE "loop-unroll-and-jam" 71 AllowUnrollAndJam("allow-unroll-and-jam", cl::Hidden, 72 cl::desc("Allows loops to be unroll-and-jammed.")); 75 "unroll-and-jam-count", cl::Hidden, 80 "unroll-and-jam-threshold", cl::init(60), cl::Hidden, 81 cl::desc("Threshold to use for inner loop when doing unroll and jam.")); [all …]
|
/freebsd/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 - [all...] |
/freebsd/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/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/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 …]
|