/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | edt-ft5x06.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: FocalTech EDT-FT5x06 Polytouch 18 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 21 - $ref: touchscreen.yaml# 22 - if: 27 - evervision,ev-ft5726 31 offset-x: true [all …]
|
/freebsd/usr.bin/gprof/ |
H A D | gprof.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 53 --argc; in main() 57 while ( *argv != 0 && **argv == '-' ) { in main() 78 printf("gprof: -d ignored\n"); in main() 148 if ((Kflag && kernel_getnfile(a_outname, &defaultEs) == -1) || in main() 149 (!Kflag && elf_getnfile(a_outname, &defaultEs) == -1)) in main() 175 * if we can't tell, report time in ticks. in main() 177 if (hz == 0) { in main() 178 hz = 1; in main() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.1 | 33 .Op Fl -libxo 51 .Op Fl i Ar probe-id Oo Oo Ar predicate Oc Ar action Oc 62 .Bl -bullet -offset indent 104 avoid interpretation of meta-characters by the shell. 107 .Bl -tag -width indent 115 forces the D compiler to compile a D program using the 32-bit data model. 120 forces the D compiler to compile a D program using the 64-bit data model. 125 D programs compiled for either data model can be executed on both 32-bit and 126 64-bit kernels. 202 For example, if-statements in D are implemented using such transformations: a [all …]
|
/freebsd/sys/dev/rtwn/rtl8192c/ |
H A D | r92c_fw.c | 3 /*- 6 * Copyright (c) 2015-2016 Andriy Voskoboinyk <avos@FreeBSD.org> 72 if (!(sc->sc_flags & RTWN_FW_LOADED)) { in r92c_fw_cmd() 81 if (!(rtwn_read_1(sc, R92C_HMETFR) & (1 << sc->fwcur))) in r92c_fw_cmd() 86 device_printf(sc->sc_dev, in r92c_fw_cmd() 95 memcpy(cmd.msg, (const uint8_t *)buf + 2, len - 2); in r92c_fw_cmd() 102 error = rtwn_write_2(sc, R92C_HMEBOX_EXT(sc->fwcur), in r92c_fw_cmd() 107 error = rtwn_write_4(sc, R92C_HMEBOX(sc->fwcur), in r92c_fw_cmd() 112 sc->fwcur = (sc->fwcur + 1) % R92C_H2C_NBOX; in r92c_fw_cmd() 162 * Initialize firmware rate adaptation. [all …]
|
/freebsd/contrib/ntp/include/ |
H A D | mbg_gps166.h | 2 …* /src/NTP/REPOSITORY/ntp4-dev/include/mbg_gps166.h,v 4.7 2006/06/22 18:41:43 kardel RELEASE_20060… 11 * Copyright (c) 1997-2005 by Frank Kardel <kardel <AT> ntp.org> 52 * their serial interface COM0. COM0 should be set to a high baud rate, 77 * The Unix time_t epoch is usually 1970-01-01 00:00 whereas 78 * the GPS epoch is 1980-01-06 00:00, so the difference is 10 years, 80 * of the day-of-month (6 - 1), so:<br> 97 * @brief A data type to configure a serial port's baud rate 199 * The individual command codes are marked with (rwa) accordingly, where '-' is used 217 GPS_AUTO_ON = 0x000, ///< (-w-) no data, enable auto-msgs from device 218 GPS_AUTO_OFF, ///< (-w-) no data, disable auto-msgs from device [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 80 for instance transport or consumption of a substance at a well-known [all …]
|
/freebsd/sys/dev/iicbus/ |
H A D | iichid.c | 1 /*- 2 * Copyright (c) 2018-2019 Marc Priggemeyer <marc.priggemeyer@gmail.com> 3 * Copyright (c) 2019-2020 Vladimir Kondratyev <wulf@FreeBSD.org> 73 device_printf((sc)->dev, __VA_ARGS__); \ 82 #define IICHID_SIZE_MAX (UINT16_MAX - 2) 105 * callout and, thereby, disable further report requests. Do not set the 113 /* 5.1.1 - HID Descriptor Format */ 131 #define IICHID_REG_NONE -1 215 for (ids = iichid_ids; ids->id != NULL; ids++) { in acpi_is_iichid() 216 if (acpi_MatchHid(handle, ids->id)) { in acpi_is_iichid() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | lockstat.1 | 27 .Nd report kernel lock and profiling statistics 31 .Op Fl e Ar event-list 32 .Op Fl i Ar rate 34 .Op Fl n Ar num-records 61 For example, to gather statistics for a fixed-time interval, use 71 establishes a per-processor high-level periodic interrupt source to gather 88 is restricted to super-user by default. 91 .Bl -tag -width indent 98 .Bl -tag -width indent 108 .It Fl e Ar event-list [all …]
|
/freebsd/sys/dev/cyapa/ |
H A D | cyapa.c | 38 * CYAPA - Cypress APA trackpad with I2C Interface driver 49 * +--------------------+------------+ 53 * | Button +------------+ 56 * +--------------------+............| 58 * +---------------------------------+ 63 * IMPS/2 emulation - Emulates the IntelliMouse protocol. 65 * Jitter supression - Implements 2-pixel hysteresis with memory. 67 * Jump detecion - Detect jumps caused by touchpad. 69 * Two finger scrolling - Use two fingers for Z axis scrolling. 71 * Button down/2nd finger - While one finger clicks and holds down the [all …]
|
/freebsd/sys/dev/usb/input/ |
H A D | ums.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 121 #define UMS_FLAG_REVZ 0x0020 /* Z-axis is reversed */ 210 mtx_assert(&sc->sc_mtx, MA_OWNED); in ums_put_queue_timeout() 222 struct ums_info *info = &sc->sc_info[0]; in ums_intr_callback() 224 uint8_t *buf = sc->sc_temp; in ums_intr_callback() 245 if (len > (int)sizeof(sc->sc_tem in ums_intr_callback() 824 int rate; ums_start_rx() local [all...] |
/freebsd/sys/kern/ |
H A D | kern_tc.c | 1 /*- 2 * SPDX-License-Identifier: Beerware 4 * ---------------------------------------------------------------------------- 5 * "THE BEER-WARE LICENSE" (Revision 42): 8 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 9 * ---------------------------------------------------------------------------- 65 dummy_get_timecount, 0, ~0u, 1000000, "dummy", -1000000 88 .th_scale = (uint64_t)-1 / 1000000, 111 * is set to new_time - uptime. 150 static int tc_chosen; /* Non-zero if a specific tc was chosen via sysctl. */ [all …]
|
/freebsd/sys/netinet/ |
H A D | ip_dummynet.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1998-2010 Luigi Rizzo, Universita` di Pisa 34 * Definition of the kernel-userland API for dummynet. 107 DN_NOERROR = 0x0002, /* do not report errors */ 134 uint64_t burst; /* scaled. bits*Hz XXX */ 140 * flow masks, buckets for the flow hash, and possibly scheduler- 153 /* generic scheduler parameters. Leave them at -1 if unset. 171 int32_t plr[4]; /* PLR, pkt loss rate (2^31-1 means 100%) */ 247 +---------+ weight Wx +-------------+ [all …]
|
/freebsd/sys/dev/sound/pci/hda/ |
H A D | hdac.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2012 Alexander Motin <mav@FreeBSD.org> 54 #define hdac_lock(sc) snd_mtxlock((sc)->lock) 55 #define hdac_unlock(sc) snd_mtxunlock((sc)->lock) 56 #define hdac_lockassert(sc) snd_mtxassert((sc)->lock) 80 { HDA_INTEL_CMLKLP, "Intel Comet Lake-LP", 0, 0 }, 81 { HDA_INTEL_CMLKH, "Intel Comet Lake-H", 0, 0 }, 88 { HDA_INTEL_BXTNT, "Intel Broxton-T", 0, 0 }, 98 { HDA_INTEL_LPTLP1, "Intel Lynx Point-LP", 0, 0 }, [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | machdep.c | 1 /*- 3 * Copyright (c) 2015-2017 Ruslan Bukin <br@bsdpad.com> 8 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme. 145 size = phys_avail[indx + 1] - phys_avail[indx]; in cpu_startup() 147 "0x%016jx - 0x%016jx, %ju bytes (%ju pages)\n", in cpu_startup() 149 (uintmax_t)phys_avail[indx + 1] - 1, in cpu_startup() 208 * Flush the D-cache for non-DMA I/O so that the I-cache can 220 cpu_est_clockrate(int cpu_id, uint64_t *rate) in cpu_est_clockrate() argument 225 if (pc == NULL || rate == NULL) in cpu_est_clockrate() 228 if (pc->pc_clock == 0) in cpu_est_clockrate() [all …]
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dn_glue.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 88 #define DNOLD_NOERROR 0x0010 /* do not report ENOBUFS on drops */ 98 int plr[4] ; /* pkt loss rate (2^31-1 means 100%) */ 119 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */ 120 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */ 121 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */ 122 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */ 123 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */ 126 int lookup_weight ; /* equal to (1-w_q)^t / (1-w_q)^(t+1) */ [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntpd.1ntpdmdoc | 4 .\" EDIT THIS FILE WITH CAUTION (ntpd-opts.mdoc) 6 .\" It has been AutoGen-ed May 25, 2024 at 12:03:54 AM by AutoGen 5.18.16 7 .\" From the definitions ntpd-opts.def 8 .\" and the template file agmdoc-cmd.tpl 17 .Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc 27 Network Time Protocol (NTP) version 4, as defined by RFC\-5905, 29 version 3, as defined by RFC\-1305, and versions 1 30 and 2, as defined by RFC\-1059 and RFC\-111 [all...] |
H A D | ntpd.mdoc.in | 4 .\" EDIT THIS FILE WITH CAUTION (ntpd-opts.mdoc) 6 .\" It has been AutoGen-ed May 25, 2024 at 12:03:54 AM by AutoGen 5.18.16 7 .\" From the definitions ntpd-opts.def 8 .\" and the template file agmdoc-cmd.tpl 17 .Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc 27 Network Time Protocol (NTP) version 4, as defined by RFC\-5905, 29 version 3, as defined by RFC\-1305, and versions 1 30 and 2, as defined by RFC\-1059 and RFC\-111 [all...] |
H A D | ntpd.1ntpdman | 2 . it 1 an-trap 6 .ds B-Font [CB] 7 .ds I-Font [CI] 8 .ds R-Font [CR] 10 .ds B-Font B 11 .ds I-Font I 12 .ds R-Font R 15 .\" EDIT THIS FILE WITH CAUTION (in-mem file) 17 .\" It has been AutoGen-ed May 25, 2024 at 12:04:07 AM by AutoGen 5.18.16 18 .\" From the definitions ntpd-opt [all...] |
H A D | ntpd.man.in | 2 . it 1 an-trap 6 .ds B-Font [CB] 7 .ds I-Font [CI] 8 .ds R-Font [CR] 10 .ds B-Font B 11 .ds I-Font I 12 .ds R-Font R 15 .\" EDIT THIS FILE WITH CAUTION (in-mem file) 17 .\" It has been AutoGen-ed May 25, 2024 at 12:04:07 AM by AutoGen 5.18.16 18 .\" From the definitions ntpd-opt [all...] |
H A D | refclock_wwv.c | 2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station 42 * The driver requires an audio codec or sound card with sampling rate 8 43 * kHz and mu-law companding. This is the same standard as used by the 53 * Report 97-8-1, University of Delaware, August 1997, 25 pp., available 55 * in this report have been modified somewhat to improve performance 61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the 68 * port, where 0 is the mike port (default) and 1 is the line-in port. 74 * CEVNT_PROP propagation failure - n [all...] |
/freebsd/sys/dev/iicbus/rtc/ |
H A D | nxprtc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 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) 100 * PCF2127-specific registers, bits, and masks. [all …]
|
/freebsd/contrib/ntp/html/drivers/ |
H A D | driver36.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"> 13 <!-- #BeginDate format:En2m -->15-Nov-2012 06:42<!-- #EndDate --> 20 Autotune Port: <tt>/dev/icom</tt>; 1200/9600 baud, 8-bits, no parity<br> 23 …nected via an optional attenuator and cable to either the microphone or line-in port of a workstat… 24 <p>The driver requires an audio codec or sound card with sampling rate 8 kHz and μ-law compandin… 25 … ray geometry. In Newark DE, 2479 km from the transmitter, the predicted two-hop propagation delay… 26 …r, the mean offset with a 2.4-GHz P4 running FreeBSD 6.1 is generally within 0.1 ms short-term wit… 30 …-kHz μ-law companded codec samples using maximum-likelihood techniques which exploit the consid… 31 …A precision radio clock for WWV transmissions. Electrical Engineering Report 97-8-1, University of… [all …]
|
/freebsd/sys/dev/sbni/ |
H A D | if_sbni.c | 1 /*- 2 * Copyright (c) 1997-2001 Granch, Ltd. All rights reserved. 56 * Support for PCI Dual cards and new SBNI12D-10, -11 Dual/ISA cards 131 /* -------------------------------------------------------------------------- */ 137 rman_get_bustag(sc->io_res), in sbni_inb() 138 rman_get_bushandle(sc->io_res), in sbni_inb() 139 sc->io_off + reg); in sbni_inb() 146 rman_get_bustag(sc->io_res), in sbni_outb() 147 rman_get_bushandle(sc->io_res), in sbni_outb() 148 sc->io_off + reg, value); in sbni_outb() [all …]
|
/freebsd/sys/dev/ntb/ |
H A D | ntb_transport.c | 1 /*- 2 * Copyright (c) 2016-2017 Alexander Motin <mav@FreeBSD.org> 30 * The Non-Transparent Bridge (NTB) is a device that allows you to connect 31 * two or more systems using a PCI-e links, providing remote memory access. 75 "ntb_transport log level -- higher is more verbose"); 86 "If enabled (non-zero), limit the size of large memory windows. " 91 &enable_xeon_watchdog, 0, "If non-zero, write a register every second to " 125 uint8_t qp_num; /* Only 64 QPs are allowed. 0-63 */ 233 * to keep the protocol in lock-step with the Linux NTB driver. 248 * Some NTB-using hardware have a watchdog to work around NTB hangs; if [all …]
|
/freebsd/sys/dev/iwi/ |
H A D | if_iwi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2005-2006 Sam Leffler, Errno Consulting 33 /*- 266 for (ident = iwi_ident_table; ident->name != NULL; ident++) { in iwi_probe() 267 if (pci_get_vendor(dev) == ident->vendor && in iwi_probe() 268 pci_get_device(dev) == ident->device) { in iwi_probe() 269 device_set_desc(dev, ident->name); in iwi_probe() 280 struct ieee80211com *ic = &sc->sc_ic; in iwi_attach() 284 sc->sc_dev = dev; in iwi_attach() [all …]
|