| /freebsd/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/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 - 4); in isa_dmastart() 341 outb(waport + 2, --nbytes); in isa_dmastart() 370 /* copy bounce buffer on read */ in isa_dmadone() 382 * (non-contiguous physical pages, outside of bus address space, 392 u_int dma_pgmsk = (chan & 4) ? ~(128*1024-1) : ~(64*1024-1); in isa_dmarangecheck() [all …]
|
| /freebsd/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/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/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 - $ref: /schemas/nvmem/nvmem.yaml 15 - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml 22 - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" 23 - enum: ["microchip,24aa025e48", "microchip,24aa025e64"] 25 - compatible 29 pattern: "^eeprom@[0-9a-f]{1,2}$" [all …]
|
| /freebsd/sys/dev/ice/ |
| H A D | virtchnl_inline_ipsec.h | |
| /freebsd/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 /*- 103 u_long pm_fmod; /* ~0 if fs is modified, this can rollover to 0 */ 114 u_int *pm_inusemap; /* ptr to bitmap of in-use clusters */ 116 void *pm_u2w; /* Local->Unicode iconv handle */ 117 void *pm_w2u; /* Unicode->Local iconv handle */ 118 void *pm_u2d; /* Unicode->DOS iconv handle */ 119 void *pm_d2u; /* DOS->Local iconv handle */ [all …]
|
| /freebsd/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/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/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_dev, DS3231_CONTROL, data); in ds3231_ctrl_write() 105 device_printf(sc->sc_dev, "cannot write to RTC.\n"); in ds3231_ctrl_write() 115 error = ds3231_read1(sc->sc_dev, DS3231_STATUS, &sc->sc_status); in ds3231_status_read() [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/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 ( [all...] |
| /freebsd/crypto/krb5/src/man/ |
| H A D | kdb5_util.man | 4 .nr rst2man-indent-level 0 7 \\$1 \\n[an-margin] 8 level \\n[rst2man-indent-level] 9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 - 11 \\n[rst2man-indent0] 12 \\n[rst2man-indent1] 13 \\n[rst2man-indent2] 18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 . nr rst2man-indent-level +1 [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. 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/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/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/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/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/contrib/unbound/doc/ |
| H A D | Changelog | 2 - Too many quotes for the EDE message debug printout. 5 - Small debug output improvement when attaching an EDE. 8 - Fix to print warning for when so-sndbuf setsockopt is not granted. 11 - version set to 1.24.0 for release. 12 - tag for 1.24.0rc1. 13 - Update contrib/aaaa-filter-iterator.patch so it applies on 1.24.0. 16 - Fix #1332: CNAME chains are sometimes not followed when RPZs add a 20 - Update documentation for using "SET ... EX" in Redis. 21 - Document max buffer sizes for Redis commands. 22 - Update man pages. [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 1 //===--- MemoryBuffer.cpp - Memory Buffer implementation ------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 43 //===----------------------------------------------------------------------===// 45 //===----------------------------------------------------------------------===// 49 /// init - Initialize this MemoryBuffer as a reference to externally allocated 59 //===----------------------------------------------------------------------===// 61 //===----------------------------------------------------------------------===// 63 /// CopyStringRef - Copies contents of a StringRef into a block of memory and [all …]
|
| /freebsd/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/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_rid), PCI_RID2FUNC(softc->pci_rid), in amdvi_pci_read() 136 * If ATS is absent or disabled, return (-1), otherwise ATS 144 int qlen = -1; in amdvi_find_ats_qlen() 150 return (-1); in amdvi_find_ats_qlen() 158 printf("AMD-Vi: PCI device %d.%d.%d ATS %s qlen=%d\n", in amdvi_find_ats_qlen() [all …]
|
| /freebsd/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) = -(-(v) >> (n)); \ 77 ((v) = -((int64_t)(-(a)) << 32)); \ 81 #define L_GINT(v) ((v) < 0 ? -(-(v) >> 32) : (v) >> 32) [all …]
|
| /freebsd/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-days since 71 * If there is no root key in the root.key file, it bootstraps the 72 * RFC5011-tracking with its builtin DS anchors; if that fails it [all …]
|