/freebsd/sys/contrib/device-tree/Bindings/w1/ |
H A D | w1-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/w1/w1-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UART 1-Wire Bus 10 - Christoph Winklhofer <cj.winklhofer@gmail.com> 13 UART 1-wire bus. Utilizes the UART interface via the Serial Device Bus 14 to create the 1-Wire timing patterns. 16 The UART peripheral must support full-duplex and operate in open-drain 18 baud-rate and transmitted byte, which corresponds to a 1-Wire read bit, [all …]
|
/freebsd/sbin/bsdlabel/ |
H A D | bsdlabel.8 | 10 .\" 1. Redistributions of source code must retain the above copyright 36 .Nd read and write BSD label 76 .Pa freebsd-bsdlabel 146 To write a standard label, use the form 202 .Bl -tag -width ".Pa /etc/disktab" -compact 217 .Bd -literal -offset 4n 220 # size offset fstype [fsize bsize bps/cpg] 229 .Bd -literal -offset 4n 242 interleave: 1 246 track-to-track seek: 0 # milliseconds [all …]
|
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | BEGEMOT-MIB2-MIB.txt | 1 -- 2 -- Copyright (c) 2006 3 -- Hartmut Brandt 4 -- All rights reserved. 5 -- 6 -- Author: Harti Brandt <harti@freebsd.org> 7 -- 8 -- Redistribution and use in source and binary forms, with or without 9 -- modification, are permitted provided that the following conditions 10 -- are met: [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zvol.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 23 * Copyright (C) 2008-2010 Lawrence Livermore National Security, LLC. 26 * LLNL-CODE-403049. 48 * (DMU_OST_ZVOL) and the device "minor" (some OS-specific representation of a 53 * It should not be used for anything not name-relateds, and you should avoid 60 * read, write, flush) so this lock is rarely taken during general IO. It 65 * half should held for the duration of an IO operation. The write half should 71 * - take zvol_state_lock if necessary, to protect zvol_state_list 72 * - take zv_suspend_lock if necessary, by the code path in question [all …]
|
H A D | zfs_vnops.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 69 int zfs_bclone_enabled = 1; 72 * When set to 1 the FICLONE and FICLONERANGE ioctls will wait for any dirty 79 int zfs_bclone_wait_dirty = 1; 92 static int zfs_dio_enabled = 1; 97 * if not page-aligned instead of silently falling back to uncached I/O. 117 if (zfsvfs->z_os->os_sync != ZFS_SYNC_DISABLED) { in zfs_fsync() 120 error = zil_commit(zfsvfs->z_log, zp->z_id); in zfs_fsync() 141 file_sz = zp->z_size; in zfs_holey_common() [all …]
|
H A D | zfs_log.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 53 * of 2 contexts depending on zilog->z_replay: 56 * --------------- 61 * a sequence number and inserted in the in-memory list anchored in the zilog. 64 * ----------- 73 int isxvattr = (vap->va_mask & ATTR_XVATTR); in zfs_log_create_txtype() 117 lrattr->lr_attr_masksize = xvap->xva_mapsize; in zfs_log_xvattr() 118 uint32_t *bitmap = &lrattr->lr_attr_bitmap; in zfs_log_xvattr() 119 for (int i = 0; i != xvap->xva_mapsize; i++, bitmap++) in zfs_log_xvattr() [all …]
|
H A D | dmu.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 69 static int zfs_nopwrite_enabled = 1; 86 static int zfs_dmu_offset_next_sync = 1; 182 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread_by_dnode() 185 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread_by_dnode() 192 *dbp = &db->db; in dmu_buf_hold_noread_by_dnode() 208 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread() 211 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread() 219 *dbp = &db->db; in dmu_buf_hold_noread() [all …]
|
H A D | bpobj.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 46 ASSERT0(dp->dp_empty_bpobj); in bpobj_alloc_empty() 47 dp->dp_empty_bpobj = in bpobj_alloc_empty() 51 DMU_POOL_EMPTY_BPOBJ, sizeof (uint64_t), 1, in bpobj_alloc_empty() 52 &dp->dp_empty_bpobj, tx) == 0); in bpobj_alloc_empty() 55 ASSERT(dp->dp_empty_bpobj != 0); in bpobj_alloc_empty() 56 return (dp->dp_empty_bpobj); in bpobj_alloc_empty() 70 VERIFY3U(0, ==, zap_remove(dp->dp_meta_objset, in bpobj_decr_empty() 73 VERIFY3U(0, ==, dmu_object_free(os, dp->dp_empty_bpobj, tx)); in bpobj_decr_empty() [all …]
|
H A D | brt.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 55 * - Deduplication is automatic and Block Cloning is not - one has to use a 57 * - Deduplication keeps all data blocks in its table, even those referenced 62 * - Deduplication needs data to work - one needs to pass real data to the 63 * write(2) syscall, so hash can be calculated. Block Cloning doesn't require 65 * neither the cost of reading the data, nor the cost of writing the data - 67 * - If the D (dedup) bit is not set in the block pointer, it means that 75 * - The BRT entry is much smaller than the DDT entry - for BRT we only store 77 * - Dedup keys are cryptographic hashes, so two blocks that are close to each [all …]
|
/freebsd/tools/tools/ioat/ |
H A D | ioatcontrol.c | 1 /*- 8 * 1. Redistributions of source code must retain the above copyright 50 printf("Usage: %s [-c period] [-EefmVxXz] channel-number num-txns [<bufsize> " in usage() 51 "[<chain-len> [duration]]]\n", getprogname()); in usage() 52 printf(" %s -r [-c period] [-vVwz] channel-number address [<bufsize>]\n\n", in usage() 54 printf(" -c period - Enable interrupt coalescing (us) (default: 0)\n"); in usage() 55 printf(" -E - Test contiguous 8k copy.\n"); in usage() 56 printf(" -e - Test non-contiguous 8k copy.\n"); in usage() 57 printf(" -f - Test block fill.\n"); in usage() 58 printf(" -m - Test memcpy instead of DMA.\n"); in usage() [all …]
|
/freebsd/contrib/ntp/html/drivers/ |
H A D | driver20.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 3 …<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Generic NMEA GPS Rec… 4 <!-- Changed by: Pearly &, 04-Feb-2019 --> 7 table.dlstable { font-size:85%; } 8 td.ttf{ font-family:Courier; font-weight:bold; } 16 <!-- #BeginDate format:En2m -->17-Oct-2020 16:00<!-- #EndDate --> 25 Serial Port: <tt>/dev/gps<i>u</i></tt>; 4800 - 115200 bps, 8-bits, no parity<br> 46 IDs</a> when using non-GPS or multi-system receivers. 55 1 μs or better relative to the broadcast 63 1 enables its use. [all …]
|
H A D | driver40.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 6 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 8 <meta http-equiv="Content-Style-Type" content="text/css"> 9 <meta http-equiv="Content-Script-Type" content="text/javascript"> 11 <link rev="made" href="http://www.bea.hi-ho.ne.jp/abetakao/"> 19 <!-- #BeginDate format:En2m -->12-Oct-2017 09:05<!-- #EndDate --> 20 …p; <a href="driver40.html">ENGLISH</a> <a href="driver40-ja.html">JAPANESE</a>… 32 <td width="50%" style="vertical-align:top;"> 33 <a href="#mode-1">Tristate Ltd. TS-JJY01, TS-JJY02</a><br> 34 <a href="#mode-2">C-DEX Co.,Ltd. JST2000</a><br> [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | vc_vchi_audioserv_defs.h | 7 * 1. Redistributions of source code must retain the above copyright 31 #define VC_AUDIOSERV_MIN_VER 1 42 * All message types supported for HOST->VC direction 54 VC_AUDIO_MSG_TYPE_WRITE, /* write samples */ 77 uint32_t bps; member 121 /* Generic result for a request (VC->HOST) */ 128 /* Generic result for a request (VC->HOST) */ 136 /* Message header for all messages in HOST->VC direction */ 148 VC_AUDIO_WRITE_T write; member
|
/freebsd/sys/dev/sound/pci/ |
H A D | cmi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 32 * by Takuya Shiozaki <AoiMoe@imou.to>. Chen-Li Tien 39 * SPDIF contributed by Gerhard Gonter <gonter@whisky.wu-wien.ac.at>. 41 * This card/code does not always manage to sample at 44100 - actual 42 * rate drifts slightly between recordings (usually 0-3%). No 96 /* ------------------------------------------------------------------------- */ 105 u_int32_t fmt, spd, phys_buf, bps; member 106 u_int32_t dma_active:1, dma_was_active:1; [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dsl_scan.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 77 DSF_VISIT_DS_AGAIN = 1<<0, 78 DSF_SCRUB_PAUSED = 1<<1, 100 * in-memory information about the scan and a pointer to the on-disk 102 * is contained on-disk to allow the scan to resume in the event of a reboot 108 * scn_suspending - a scan that cannot be completed in a single txg or 111 * the pool and write out the current state to disk. 113 * scn_restart_txg - directs the scanner to either restart or start a 116 * scn_done_txg - when a scan completes its traversal it will set [all …]
|
H A D | zil_impl.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 59 * After the lwb's write zio completes, it transitions into the "write 62 * "issued" to "write done", and then from "write done" to "flush done", 95 * Log write block (lwb) 104 LWB_FLAG_SLIM = (1<<0), /* log block has slim format */ 105 LWB_FLAG_SLOG = (1<<1), /* lwb_blk is on SLOG device */ 106 LWB_FLAG_CRASHED = (1<<2), /* lwb is on the crash list */ 120 char *lwb_buf; /* log write buffer */ 123 zio_t *lwb_root_zio; /* root zio for lwb write and flushes */ [all …]
|
H A D | dmu.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 98 * Allocating a new byteswap type number makes the on-disk format 162 * These object types use bp_fill != 1 for their L0 bp's. Therefore they can't 164 * is repurposed for embedded BPs. 238 * Do not allocate new object types here. Doing so makes the on-disk 293 * full, or the write throttle is active, block until the next 297 DMU_TX_WAIT = (1 << 0), 299 /* If the write throttle would prevent the assignment, ignore it. */ 300 DMU_TX_NOTHROTTLE = (1 << 1), [all …]
|
/freebsd/sys/arm/ti/ |
H A D | ti_i2c.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * 1. Redistributions of source code must retain the above copyright 109 * AM335x i2c bus clock is 48MHZ / ((psc + 1) * (scll + 7 + sclh + 5)) 113 { 100000, 1, 111, 117, 0, 0}, 114 { 400000, 1, 23, 25, 0, 0}, 115 { 1000000, 1, 5, 7, 0, 0}, 123 #define TI_I2C_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) 124 #define TI_I2C_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) 126 mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev), \ [all …]
|
/freebsd/sys/dev/usb/serial/ |
H A D | umcs.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 33 #define UMCS7840_READ_LENGTH 1 /* bytes */ 47 #define MCS7840_DEV_REG_SP1 0x00 /* Options for UART 1, R/W */ 48 #define MCS7840_DEV_REG_CONTROL1 0x01 /* Control bits for UART 1, 50 #define MCS7840_DEV_REG_PINPONGHIGH 0x02 /* High bits of ping-pong 52 #define MCS7840_DEV_REG_PINPONGLOW 0x03 /* Low bits of ping-pong 67 #define MCS7840_DEV_REG_PLL_DIV_M 0x0e /* Pre-diviedr for PLL, R/W */ 73 #define MCS7840_DEV_REG_CLOCK_SELECT12 0x13 /* Clock source for ports 1 & [all …]
|
/freebsd/tools/tools/netmap/ |
H A D | nmreplay.c | 7 * 1. Redistributions of source code must retain the above copyright 49 * --- Main functions of the program --- 59 * q->cur_pkt points to the buffer containing the packet 60 * q->cur_len packet length, excluding CRC 61 * q->cur_caplen available packet length (may be shorter than cur_len) 62 * q->cur_tt transmission time for the packet, computed from the trace. 66 * q->c_loss (set with the -L command line option) decides 69 * The function is supposed to set q->c_drop = 1 if the 72 * q->c_bw (set with the -B command line option) is used to 74 * in q->cur_tt the transmission time (in nanoseconds) of [all …]
|
/freebsd/usr.sbin/lpr/common_source/ |
H A D | common.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 15 * 1. Redistributions of source code must retain the above copyright 41 #include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ 78 * new-line to null and leaves it in line. 88 while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) { in get_line() 95 } while ((linel & 07) != 0 && (size_t)(linel+1) < in get_line() 122 if ((dirp = opendir(pp->spool_dir)) == NULL) { in getq() 124 return (-1); in getq() 143 if (d->d_name[0] != 'c' || d->d_name[1] != 'f') in getq() [all …]
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_da.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * 1. Redistributions of source code must retain the above copyright 139 TAILQ_HEAD(, bio) bps; 166 #define NDA_DEFAULT_SEND_ORDERED 1 185 static int nda_enable_biospeedup = 1; 186 static int nda_nvd_compat = 1; 193 &nda_nvd_compat, 1, "Enable creation of nvd aliases."); 196 * All NVMe media is non-rotational, so all nvme device instances 228 nvme_ns_flush_cmd(&nvmeio->cmd, softc->nsid); in nda_nvme_flush() [all …]
|
/freebsd/contrib/ntp/html/ |
H A D | audio.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 11 <img src="pic/radio2.jpg" alt="jpg" align="left">ICOM R-72 shortwave receiver and Sure audio mixer 13 <!-- #BeginDate format:En2m -->11-Sep-2010 05:55<!-- #EndDate --> 31 and decoding techniques, including maximum-likelihood and soft-decision methods. 32 The documentation page for each driver contains an in-depth discussion on 38 …e flag 2</tt> command selects the microphone port if set to zero or the line-in port if set to one… 40 …l shortwave radio with the radio output - speaker or headphone jack - connected to either the micr… 41 …- even 15 feet is enough if it is located outside of a metal frame building, preferably on the roo… 42 … house wiring, which can also be used to power the radio. A couple of center-tapped audio transfor… [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_chronolog.c | 2 * refclock_chronolog - clock driver for Chronolog K-series WWVB receiver. 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>. 37 * Our Chronolog writes time out at 2400 bps 8/N/1, but it can be configured 49 #define PRECISION (-1 [all...] |
/freebsd/sys/dev/sound/pcm/ |
H A D | feeder_rate.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org> 10 * 1. Redistributions of source code must retain the above copyright 36 * - http://ccrma.stanford.edu/~jos/resample/ 39 * + all out fixed point integer operations, no soft-float or anything like 48 * - The z, z_, and Z_ . Due to mental block (or maybe just 0x7a69), I 69 #define Z_DIAGNOSTIC 1 103 #define Z_PARANOID 1 105 #define Z_MULTIFORMAT 1 [all …]
|