/freebsd-src/usr.bin/tftp/ |
H A D | tftp.1 | 19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 60 .Bl -tag -width verbose -compact 61 .It Cm \&? Ar command-name ... 71 Sets the TFTP blksize option in TFTP Read Request or Write Request packets 76 If no blocksize is specified, then by default a blocksize of 512 bytes 80 Sets the TFTP blksize2 option in TFTP Read Request or Write Request packets 84 This is a non-standard TFTP option. 145 .It Cm mode Ar transfer-mode 147 .Ar transfer-mode 162 .It Cm put Ar file1 file2 ... fileN Op Oo Ar host : Oc Ns Ar remote-directory [all …]
|
/freebsd-src/sys/x86/isa/ |
H A D | isa_dma.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 25 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 77 /* high byte of address is stored in this port for i-th dma channel */ 307 outb(waport + 1, --nbytes); in isa_dmastart() 334 waport = DMA2_CHN(chan - in isa_dmastart() [all...] |
/freebsd-src/libexec/tftpd/ |
H A D | tftp-transfer.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 18 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 43 #include "tftp-file.h" 44 #include "tftp-io.h" 45 #include "tftp-utils.h" 46 #include "tftp-options.h" 47 #include "tftp-transfer.h" 71 ts->amount = 0; in tftp_send() 86 return -1; in tftp_send() [all …]
|
/freebsd-src/sys/dev/smc/ |
H A D | if_smcreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 63 #define EPHSR_CTR_ROL 0x1000 /* Counter rollover */ 100 #define RPCR_DPLX 0x1000 /* Put PHY in full-duplex mode */ 108 #define RPCR_LED_LINK_FDX 0x3 /* Full-duplex link detected */ 146 #define CTRL_CR_ENABLE 0x0040 /* Ctr rollover causes EPH interrupt */ 154 #define MMUCR_CMD_NOOP (0<<5) /* No operation */ 183 #define PTR_READ 0x2000 /* Set read/write */ 184 #define PTR_AUTO_INCR 0x4000 /* Auto increment on read/write */ [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/eeprom/ |
H A D | at24.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 14 - [all...] |
/freebsd-src/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2004 Atheros Communications, Inc. 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 31 #define AR_GPIOD_MASK 0x2f /* 6-bit mask */ 38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5210GetMacAddress() 46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5210SetMacAddress() 65 * Read 16 bits of data from the specified EEPROM offset. 70 (void) OS_REG_READ(ah, AR_EP_AIR(off)); /* activate read op */ in ar5210EepromRead() [all …]
|
/freebsd-src/sys/fs/msdosfs/ |
H A D | msdosfsmount.h | 3 /*- 4 * SPDX-License-Identifier: BSD-4-Clause 28 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 36 /*- 100 u_long pm_fmod; /* ~0 if fs is modified, this can rollover to 0 */ 111 u_int *pm_inusemap; /* ptr to bitmap of in-use clusters */ 113 void *pm_u2w; /* Local->Unicode iconv handle */ 114 void *pm_w2u; /* Unicode->Local iconv handle */ 115 void *pm_u2d; /* Unicode->DOS iconv handle */ 116 void *pm_d2u; /* DOS->Local iconv handle */ [all …]
|
/freebsd-src/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2006 Atheros Communications, Inc. 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 31 #define AR_GPIOD_MASK 0x2f /* 6-bit mask */ 38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5211GetMacAddress() 46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5211SetMacAddress() 65 * Read 16 bits of data from the specified EEPROM offset. 77 "%s: read failed for entry 0x%x\n", __func__, off); in ar5211EepromRead() [all …]
|
/freebsd-src/sys/dev/iicbus/rtc/ |
H A D | ds3231.c | 1 /*- 2 * Copyright (c) 2014-2015 Luiz Otavio O Souza <loos@FreeBSD.org> 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 29 * Driver for Maxim DS3231[N] real-time clock/calendar. 87 error = ds3231_read1(sc->sc_dev, DS3231_CONTROL, &sc->sc_ctrl); in ds3231_ctrl_read() 89 device_printf(sc->sc_dev, "cannot read from RTC.\n"); in ds3231_ctrl_read() 102 data = sc->sc_ctrl & ~DS3231_CTRL_MASK; in ds3231_ctrl_write() 103 error = ds3231_write1(sc->sc_de in ds3231_ctrl_write() [all...] |
H A D | nxprtc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 30 * Driver for NXP real-time clock/calendar chips: 31 * - PCF8563 = low power, countdown timer 32 * - PCA8565 = like PCF8563, automotive temperature range 33 * - PCF8523 = low power, countdown timer, oscillator freq tuning, 2 timers 34 * - PCF2127 = like PCF8523, industrial, tcxo, tamper/ts, i2c & spi, 512B ram 35 * - PCA2129 = like PCF8523, automotive, tcxo, tamper/ts, i2c & spi, (note 1) 36 * - PCF2129 = like PCF8523, industrial, tcxo, tamper/ts, i2c & spi, (note 1) [all …]
|
/freebsd-src/contrib/ntp/libntp/ |
H A D | systime.c | 2 * systime -- routines to fiddle a UNIX clock. 30 int allow_panic = FALSE; /* allow panic correction (-g) */ 50 * predicted, the low-order unused portion of the time below the minimum 51 * time to read the clock is filled with an unbiased random fuzz. 56 * use a high-resolution counter such that each clock reading is always 57 * at least MINSTEP greater than the prior, sys_tick is the time to read 60 * The sys_fuzz variable measures the minimum time to read the system 63 * ntpd ensures each unprocessed clock reading is no less than sys_fuzz 77 double sys_tick = 0; /* tick size or time to read (s) */ 78 double sys_fuzz = 0; /* min. time to read the clock (s) */ [all …]
|
/freebsd-src/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. 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 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() 111 /* sync multi-word read */ in ar5416GetTsf64() 118 * then we re-reading AR_TSF_U32 does no good as the in ar5416GetTsf64() [all …]
|
/freebsd-src/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 42 But there is no doubt that it happened very early in the development [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 1 //===--- MemoryBuffer.cpp - Memory Buffer implementation ------ [all...] |
/freebsd-src/contrib/ntp/util/ |
H A D | tg.c | 6 * broadcast timecode. Alternatively, it can generate the IRIG-B 24 * over the range 0-255. The signal generator by default uses WWV 26 * switches to IRIG-B format. 29 * for the signal generator is read from the computer system clock when 42 * the transmissionorder is low-order first as the frame is processed 44 * For IRIG the on-time marker M preceeds the first (units) bit, so its 49 * 10, but not yet with other machines. It uses no special features and 64 #define SECOND 8000 /* one second of 125-us samples */ 68 #define IRIG 1 /* IRIG-B encoder */ 82 int c3000[] = {1, 48, 63, 70, 78, 82, 85, 89, 92, 94, /* 0-9 */ [all …]
|
H A D | tg2.c | 6 * broadcast timecode. Alternatively, it can generate the IRIG-B 24 * over the range 0-255. The signal generator by default uses WWV 26 * switches to IRIG-B format. 29 * for the signal generator is read from the computer system clock when 42 * the transmissionorder is low-order first as the frame is processed 44 * For IRIG the on-time marker M preceeds the first (units) bit, so its 49 * 10, but not yet with other machines. It uses no special features and 54 * v0.23 2007-02-12 dmw: 55 * - Changed statistics to include calculated error 60 * v0.22 2007-02-08 dmw: [all …]
|
/freebsd-src/sys/contrib/alpine-hal/ |
H A D | al_hal_pcie.h | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 27 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 43 * - Port initialization 44 * - Link operation 45 * - Interrupts transactions generation (Endpoint mode). 46 * - Configuration Access management functions 47 * - Internal Translation Unit programming 50 * - PCIe transactions generation and reception (except interrupts as mentioned 53 * - Configuration Access: those transactions are generated automatically by [all …]
|
/freebsd-src/sys/powerpc/include/ |
H A D | spr.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 43 /* The following routines allow manipulation of the full 64-bit width 88 * architectures the SPR is valid on - 4 for 4xx series, 95 #define SPR_RTCU_R 0x004 /* .6. 601 RTC Upper - Read */ [all...] |
/freebsd-src/contrib/unbound/doc/ |
H A D | Changelog | 2 - Fix for dnsoverquic and dnstap to use the correct dnstap 6 - Fix for dnstap with dnscrypt and dnstap without dnsoverquic. 9 - Fix to display warning if quic-port is set but dnsoverquic is not 11 - Fix dnsoverquic to extend the number of streams when one is closed. 14 - Fix to disable detection of quic configured ports when quic is 16 - Fix harden-unverified-glue for AAAA cache_fill_missing lookups. 17 - Fi [all...] |
H A D | example.conf | 13 #include-toplevel: "otherfile.conf" 24 # statistics-interval: 0 26 # enable shm for stats, default no. if you enable also enable 27 # statistics-interval, every time it also writes stats to the 28 # shared memory segment keyed with shm-key. 29 # shm-enable: no 32 # shm-key: 11777 35 # statistics-cumulative: no 38 # printed from unbound-control. default off, because of speed. 39 # extended-statistics: no [all …]
|
H A D | example.conf.in | 13 #include-toplevel: "otherfile.conf" 24 # statistics-interval: 0 26 # enable shm for stats, default no. if you enable also enable 27 # statistics-interval, every time it also writes stats to the 28 # shared memory segment keyed with shm-key. 29 # shm-enable: no 32 # shm-key: 11777 35 # statistics-cumulative: no [all...] |
/freebsd-src/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 40 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5212GetMacAddress() 48 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5212SetMacAddress() 57 OS_MEMCPY(mask, ahp->ah_bssidmask, IEEE80211_ADDR_LEN); in ar5212GetBssIdMask() 66 OS_MEMCPY(ahp->ah_bssidmask, mask, IEEE80211_ADDR_LEN); in ar5212SetBssIdMask() 68 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssidmask)); in ar5212SetBssIdMask() [all …]
|
/freebsd-src/sys/amd64/vmm/amd/ |
H A D | amdvi_hw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 63 #define MOD_DEC(a, s, m) (((a) - (s)) % ((m) * (s))) 127 return (pci_cfgregread(softc->pci_seg, PCI_RID2BUS(softc->pci_rid), in amdvi_pci_read() 128 PCI_RID2SLOT(softc->pci_ri in amdvi_pci_read() 448 volatile uint64_t *read; amdvi_cmp_wait() local [all...] |
/freebsd-src/contrib/unbound/smallapp/ |
H A D | unbound-anchor.c | 2 * unbound-anchor.c - update the root anchor if necessary. 26 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 44 * trust anchor. It is a small tool, called "unbound-anchor", that 46 * unbound-anchor; unbound. Thus it is meant to run at system boot time. 48 * Management-Abstract: 53 * * 30-days RFC5011 timer saves a lot of https traffic. 59 * It allows with options to override those. It also takes root-hints (it 64 * RFC5011-tracking of the root key. If that fails (and for 30-day [all...] |
/freebsd-src/sys/kern/ |
H A D | kern_ntptime.c | 1 /*- 4 * Copyright (c) David L. Mills 1993-2001 * 13 * written prior permission. The University of Delaware makes no * 22 * Poul-Henning Kamp <phk@FreeBSD.org>. 57 * Single-precision macros for 64-bit machines 61 #define L_SUB(v, u) ((v) -= (u)) 63 #define L_NEG(v) ((v) = -(v)) 67 (v) = -(-( [all...] |