| /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 | 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] 223 c: 1173930 0 unused 0 0 # "raw" part, don't edit 229 .Bd -literal -offset 4n 243 trackskew: 0 244 cylinderskew: 0 [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. 65 * Enables access to the block cloning feature. If this setting is 0, then even 76 * the file. When set to 0 the clone operation will immediately fail if it 82 * Enable Direct I/O. If this setting is 0, then all I/O requests will be 90 static int zfs_dio_enabled = 0; 97 * if not page-aligned instead of silently falling back to uncached I/O. 99 static int zfs_dio_strict = 0; 114 int error = 0; in zfs_fsync() 117 if (zfsvfs->z_os->os_sync != ZFS_SYNC_DISABLED) { in zfs_fsync() [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() 96 ASSERT(0); 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() [all …]
|
| H A D | dmu.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 100 * Override copies= for dedup state objects. 0 means the traditional behaviour 103 uint_t dmu_ddt_copies = 0; 182 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread_by_dnode() 183 blkid = dbuf_whichblock(dn, 0, offset); 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() 193 return (0); in dmu_buf_hold_noread_by_dnode() 208 rw_enter(&dn->dn_struct_rwlock, RW_READER); 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() 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() 74 dp->dp_empty_bpobj = 0; 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 /*- 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() 59 printf(" -r - Issue DMA to or from a specific address.\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. 114 <td>Day of the month (1-31)</td> 123 <td>Position Fix Mode (0 = Invalid, >0 = Valid)</td> [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/dev/sound/pci/ |
| H A D | cmi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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 65 #define CMI8338A_PCI_ID 0x010013f6 66 #define CMI8338B_PCI_ID 0x010113f6 67 #define CMI8738_PCI_ID 0x011113f6 68 #define CMI8738B_PCI_ID 0x011213f6 [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, 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 159 uint64_t scn_visited_this_txg; /* total bps visited this txg */ [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 */ 120 char *lwb_buf; /* log write buffer */ 123 zio_t *lwb_root_zio; /* root zio for lwb write and flushes */ 125 uint64_t lwb_issued_txg; /* the txg when the write is issued */ 128 list_node_t lwb_node; /* zilog->zl_lwb_list linkage */ [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 107 #define DMU_OT_NEWTYPE 0x80 108 #define DMU_OT_METADATA 0x40 109 #define DMU_OT_ENCRYPTED 0x20 110 #define DMU_OT_BYTESWAP_MASK 0x1f 120 ((metadata) ? DMU_OT_METADATA : 0) | \ 121 ((encrypted) ? DMU_OT_ENCRYPTED : 0) | \ 141 (((ot) & DMU_OT_METADATA) != 0) : \ [all …]
|
| /freebsd/sys/arm/ti/ |
| H A D | ti_i2c.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 113 { 100000, 1, 111, 117, 0, 0}, 114 { 400000, 1, 23, 25, 0, 0}, 115 { 1000000, 1, 5, 7, 0, 0}, 116 { 0 /* Table terminator */ } 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), \ 128 #define TI_I2C_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx) [all …]
|
| /freebsd/sys/dev/usb/serial/ |
| H A D | umcs.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 37 #define MCS7840_RDREQ 0x0d 38 #define MCS7840_WRREQ 0x0e 41 #define MCS7840_EEPROM_RW_WVALUE 0x0900 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 55 #define MCS7840_DEV_REG_GPIO 0x07 /* GPIO_0 and GPIO_1 bits, [all …]
|
| /freebsd/tools/tools/netmap/ |
| H A D | nmreplay.c | 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 70 * packet should be dropped, or leave it to 0 otherwise. 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/sys/cam/nvme/ |
| H A D | nvme_da.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 73 NDA_FLAG_OPEN = 0x0001, 74 NDA_FLAG_DIRTY = 0x0002, 75 NDA_FLAG_SCTX_INIT = 0x0004, 84 NDA_Q_4K = 0x01, 85 NDA_Q_NONE = 0x00, 90 "\001Bit 0" 93 NDA_CCB_BUFFER_IO = 0x01, 94 NDA_CCB_DUMP = 0x02, [all …]
|
| /freebsd/usr.sbin/lpr/common_source/ |
| H A D | common.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 41 #include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ 78 * new-line to null and leaves it in line. 79 * Returns 0 at EOF or the number of characters read. 84 register int linel = 0; in get_line() 90 return(0); in get_line() 95 } while ((linel & 07) != 0 && (size_t)(linel+1) < in get_line() 102 *lp++ = '\0'; in get_line() 122 if ((dirp = opendir(pp->spool_dir)) == NULL) { in getq() [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 36 … to cause the AGC to set the gain somewhere in the middle of the range from 0 to 255, as indicated… 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… [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 (-13) /* precision assumed (about 100 us) */ 51 #define DESCRIPTION "Chrono-lo [all...] |
| H A D | refclock_pst.c | 2 * refclock_pst - clock driver for PSTI/Traconex WWV/WWVH receivers 25 * The DIPswitches should be set for 9600 bps line speed, 24-hour day- 26 * of-year format and UTC time zone. Automatic correction for DST should 41 * on-time = first <cr> 43 * a = AM/PM indicator (' ' for 24-hour mode) 46 * s = daylight-saving indicator (' ' for 24-hour mode) 50 * z = time zone (0 [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> 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 81 #define Z_SINC_MAX 0x3fffff 124 int32_t bps; /* bytes-per-sample */ member 164 &feeder_rate_presets, 0, "compile-time rate presets"); 166 &feeder_rate_polyphase_max, 0, "maximum allowable polyphase entries"); [all …]
|