/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 | zfs_vnops.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 61 * Enables access to the block cloning feature. If this setting is 0, then even 74 int zfs_bclone_wait_dirty = 0; 77 * Enable Direct I/O. If this setting is 0, then all I/O requests will be 85 static int zfs_dio_enabled = 0; 99 int error = 0; in zfs_fsync() 102 if (zfsvfs->z_os->os_sync != ZFS_SYNC_DISABLED) { in zfs_fsync() 103 if ((error = zfs_enter_verify_zp(zfsvfs, zp, FTAG)) != 0) in zfs_fsync() 105 atomic_inc_32(&zp->z_sync_writes_cnt); in zfs_fsync() 106 zil_commit(zfsvfs->z_log, zp->z_id); in zfs_fsync() [all …]
|
H A D | zvol.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 22 * Copyright (C) 2008-2010 Lawrence Livermore National Security, LLC. 25 * LLNL-CODE-403049. 48 * operations - create, remove, rename, and set_snapdev - involves access to 50 * zvol_state_list. The zv->zv_state_lock is used to protect the contents 59 * - take zvol_state_lock if necessary, to protect zvol_state_list 60 * - take zv_suspend_lock if necessary, by the code path in question 61 * - take zv_state_lock to protect zvol_state_t 63 * The minor operations are issued to spa->spa_zvol_taskq queues, that are 64 * single-threaded (to preserve order of minor operations), and are executed [all …]
|
H A D | zfs_log.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 52 * of 2 contexts depending on zilog->z_replay: 55 * --------------- 60 * a sequence number and inserted in the in-memory list anchored in the zilog. 63 * ----------- 72 int isxvattr = (vap->va_mask & ATTR_XVATTR); in zfs_log_create_txtype() 95 ASSERT(0); in zfs_log_create_txtype() 116 lrattr->lr_attr_masksize = xvap->xva_mapsize; in zfs_log_xvattr() 117 uint32_t *bitmap = &lrattr->lr_attr_bitmap; in zfs_log_xvattr() 118 for (int i = 0; i != xvap->xva_mapsize; i++, bitmap++) in zfs_log_xvattr() [all …]
|
H A D | dmu.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 99 * Override copies= for dedup state objects. 0 means the traditional behaviour 102 uint_t dmu_ddt_copies = 0; 181 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread_by_dnode() 182 blkid = dbuf_whichblock(dn, 0, offset); in dmu_buf_hold_noread_by_dnode() 184 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread_by_dnode() 191 *dbp = &db->db; in dmu_buf_hold_noread_by_dnode() 192 return (0); in dmu_buf_hold_noread_by_dnode() 207 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread() 208 blkid = dbuf_whichblock(dn, 0, offset); in dmu_buf_hold_noread() [all …]
|
H A D | bpobj.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 45 ASSERT0(dp->dp_empty_bpobj); in bpobj_alloc_empty() 46 dp->dp_empty_bpobj = in bpobj_alloc_empty() 51 &dp->dp_empty_bpobj, tx) == 0); in bpobj_alloc_empty() 54 ASSERT(dp->dp_empty_bpobj != 0); in bpobj_alloc_empty() 55 return (dp->dp_empty_bpobj); in bpobj_alloc_empty() 69 VERIFY3U(0, ==, zap_remove(dp->dp_meta_objset, in bpobj_decr_empty() 72 VERIFY3U(0, ==, dmu_object_free(os, dp->dp_empty_bpobj, tx)); in bpobj_decr_empty() 73 dp->dp_empty_bpobj = 0; in bpobj_decr_empty() 105 ASSERT(obj != dmu_objset_pool(os)->dp_empty_bpobj); in bpobj_free() [all …]
|
H A D | brt.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 54 * - Deduplication is automatic and Block Cloning is not - one has to use a 56 * - Deduplication keeps all data blocks in its table, even those referenced 61 * - Deduplication needs data to work - one needs to pass real data to the 62 * write(2) syscall, so hash can be calculated. Block Cloning doesn't require 64 * neither the cost of reading the data, nor the cost of writing the data - 66 * - If the D (dedup) bit is not set in the block pointer, it means that 74 * - The BRT entry is much smaller than the DDT entry - for BRT we only store 76 * - Dedup keys are cryptographic hashes, so two blocks that are close to each 78 * The BRT entry keys are offsets into a single top-level VDEV, so data blocks [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 | 9 * or https://opensource.org/licenses/CDDL-1.0. 76 DSF_VISIT_DS_AGAIN = 1<<0, 99 * in-memory information about the scan and a pointer to the on-disk 101 * is contained on-disk to allow the scan to resume in the event of a reboot 107 * scn_suspending - a scan that cannot be completed in a single txg or 110 * the pool and write out the current state to disk. 112 * scn_restart_txg - directs the scanner to either restart or start a 115 * scn_done_txg - when a scan completes its traversal it will set 158 uint64_t scn_visited_this_txg; /* total bps visited this txg */ 159 uint64_t scn_dedup_frees_this_txg; /* dedup bps freed this txg */
|
H A D | dmu.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 97 * Allocating a new byteswap type number makes the on-disk format 106 #define DMU_OT_NEWTYPE 0x80 107 #define DMU_OT_METADATA 0x40 108 #define DMU_OT_ENCRYPTED 0x20 109 #define DMU_OT_BYTESWAP_MASK 0x1f 119 ((metadata) ? DMU_OT_METADATA : 0) | \ 120 ((encrypted) ? DMU_OT_ENCRYPTED : 0) | \ 140 (((ot) & DMU_OT_METADATA) != 0) : \ 157 (((ot) & DMU_OT_ENCRYPTED) != 0) : \ [all …]
|
H A D | zfs_znode.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 42 #define ZFS_READONLY 0x0000000100000000ull 43 #define ZFS_HIDDEN 0x0000000200000000ull 44 #define ZFS_SYSTEM 0x0000000400000000ull 45 #define ZFS_ARCHIVE 0x0000000800000000ull 46 #define ZFS_IMMUTABLE 0x0000001000000000ull 47 #define ZFS_NOUNLINK 0x0000002000000000ull 48 #define ZFS_APPENDONLY 0x0000004000000000ull 49 #define ZFS_NODUMP 0x0000008000000000ull 50 #define ZFS_OPAQUE 0x0000010000000000ull [all …]
|
/freebsd/sys/arm/ti/ |
H A D | ti_i2c.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 114 { 100000, 23, 13, 15, 0, 0}, 115 { 400000, 9, 5, 7, 0, 0}, 116 { 1000000, 3, 5, 7, 0, 0}, 117 /* { 3200000, 1, 113, 115, 7, 10}, - HS mode */ 118 { 0 /* Table terminator */ } 128 { 100000, 1, 111, 117, 0, 0}, 129 { 400000, 1, 23, 25, 0, 0}, 130 { 1000000, 1, 5, 7, 0, 0}, [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 72 NDA_FLAG_OPEN = 0x0001, 73 NDA_FLAG_DIRTY = 0x0002, 74 NDA_FLAG_SCTX_INIT = 0x0004, 83 NDA_Q_4K = 0x01, 84 NDA_Q_NONE = 0x00, 89 "\001Bit 0" 92 NDA_CCB_BUFFER_IO = 0x01, 93 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 …]
|