| /freebsd/sys/contrib/device-tree/Bindings/auxdisplay/ |
| H A D | holtek,ht16k33.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robin van der Gracht <robin@protonic.nl> 13 - $ref: /schemas/input/matrix-keymap.yaml# 18 - items: 19 - enum: 20 - adafruit,3108 # 0.56" 4-Digit 7-Segment FeatherWing Display (Red) 21 - adafruit,3130 # 0.54" Quad Alphanumeric FeatherWing Display (Red) 22 - const: holtek,ht16k33 [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/display/ |
| H A D | ht16k33.txt | 2 ------------------------------------------------------------------------------- 5 - compatible: "holtek,ht16k33" 6 - reg: I2C slave address of the chip. 7 - interrupts: Interrupt specification for the key pressed interrupt. 8 - refresh-rate-hz: Display update interval in HZ. 9 - debounce-delay-ms: Debouncing interval time in milliseconds. 10 - linux,keymap: The keymap for keys as described in the binding 11 document (devicetree/bindings/input/matrix-keymap.txt). 14 - linux,no-autorepeat: Disable keyrepeat. 15 - default-brightness-level: Initial brightness level [0-15] (default: 15). [all …]
|
| /freebsd/sys/dev/videomode/ |
| H A D | pickmode.c | 3 /*- 52 if ((this->hdisplay != width) || (this->vdisplay != height) || in pick_mode_by_dotclock() 53 (this->dot_clock > dotclock)) in pick_mode_by_dotclock() 56 if (this->dot_clock > best->dot_clock) in pick_mode_by_dotclock() 62 DPRINTF("found %s\n", best->name); in pick_mode_by_dotclock() 68 pick_mode_by_ref(int width, int height, int refresh) in pick_mode_by_ref() argument 73 DPRINTF("%s: looking for %d x %d at up to %d Hz\n", __func__, width, in pick_mode_by_ref() 74 height, refresh); in pick_mode_by_ref() 77 mref = this->dot_clock * 1000 / (this->htotal * this->vtotal); in pick_mode_by_ref() 78 diff = abs(mref - refresh); in pick_mode_by_ref() [all …]
|
| H A D | vesagtf.c | 3 /*- 43 * This has required the use of 64-bit integers in a few places, but 89 * Copyright (c) 1994, 1995, 1996 - Video Electronics Standards 110 * This program takes a desired resolution and vertical refresh rate, 120 * surrounding the addressable video); on most non-overscan type 172 * #define C_PRIME (((C - J) * K/256.0) + J) 180 #define C_PRIME256(p) (((p->C - p->J) * p->K) + (p->J * 256)) 181 #define M_PRIME256(p) (p->K * p->M) 186 * print_value() - print the result of the named computation; this is 195 printf("%2d: %-27s: %u\n", n, name, val); in print_value() [all …]
|
| /freebsd/sys/dev/drm2/ |
| H A D | drm_modes.c | 2 * Copyright © 1997-2003 by The XFree86 Project, Inc. 4 * Copyright © 2007-2008 Intel Corporation 6 * Copyright 2005-2006 Luc Verhaegen 38 * drm_mode_debug_printmodeline - debug print a mode 51 mode->base.id, mode->name, mode->vrefresh, mode->clock, in drm_mode_debug_printmodeline() 52 mode->hdisplay, mode->hsync_start, in drm_mode_debug_printmodeline() 53 mode->hsync_end, mode->htotal, in drm_mode_debug_printmodeline() 54 mode->vdisplay, mode->vsync_start, in drm_mode_debug_printmodeline() 55 mode->vsync_end, mode->vtotal, mode->type, mode->flags); in drm_mode_debug_printmodeline() 60 * drm_cvt_mode -create a modeline based on CVT algorithm [all …]
|
| H A D | drm_edid.c | 3 * Copyright (c) 2007-2008 Intel Corporation 24 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 40 (((edid)->version > (maj)) || \ 41 ((edid)->version == (maj) && (edid)->revision > (min))) 54 /* First detailed mode wrong, use largest 60Hz mode */ 58 /* Prefer the largest mode at 75 Hz */ 70 /* Force reduced-blanking timings for detailed modes */ 102 /* Envision Peripherals, Inc. EN-7100e */ 111 /* LG Philips LCD LP154W01-A5 */ 123 /* Samsung SyncMaster 22[5-6]BW */ [all …]
|
| /freebsd/stand/efi/include/ |
| H A D | efiuga.h | 6 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> 11 http://opensource.org/licenses/bsd-license.php 35 @param RefreshRate Current video refresh rate in Hz. 60 @param RefreshRate Current video refresh rate in Hz. 102 <B>EfiUgaVideoFill</B> - Write data from the BltBuffer pixel (SourceX, SourceY) 107 <B>EfiUgaVideoToBltBuffer</B> - Read data from the video display rectangle 114 <B>EfiUgaBltBufferToVideo</B> - Write data from the BltBuffer rectangle 121 <B>EfiUgaVideoToVideo</B> - Copy from the video display rectangle (SourceX, SourceY) 127 @param[in] This - Protocol instance pointer. 128 @param[in] BltBuffer - Buffer containing data to blit into video buffer. This [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/sys/contrib/device-tree/Bindings/memory-controllers/ |
| H A D | nvidia,tegra30-emc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra30-emc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 15 The EMC interfaces with the off-chip SDRAM to service the request stream 16 sent from Memory Controller. The EMC also has various performance-affecting 23 const: nvidia,tegra30-emc [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
| H A D | imx6dl-victgo.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include "imx6qdl-vicut1.dtsi" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpiokeys>; 21 key-power { 25 wakeup-source; 28 key-enter { [all …]
|
| /freebsd/usr.bin/vmstat/ |
| H A D | vmstat.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 95 static int hz, hdrcnt, maxshowdevs; variable 155 static volatile sig_atomic_t wresized; /* Tty resized when non-zero. */ 218 while ((c = getopt(argc, argv, "ac:fhHiM:mN:n:oPp:sw:z")) != -1) { in main() 281 argc -= optind; in main() 287 xo_set_options(NULL, "no-humanize"); in main() 346 xo_errx(1, "Cannot use -P with crash dumps"); in main() 370 reps = -1; in main() 415 if (devstat_getdevs(NULL, &cur) == -1) in getdrivedata() [all …]
|
| /freebsd/sys/dev/usb/wlan/ |
| H A D | if_rum.c | 2 /*- 3 * Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr> 5 * Copyright (c) 2007-2008 Hans Petter Selasky <hselasky@FreeBSD.org> 21 /*- 467 if (uaa->usb_mode != USB_MODE_HOST) in rum_match() 469 if (uaa->info.bConfigIndex != 0) in rum_match() 471 if (uaa->info.bIfaceIndex != RT2573_IFACE_INDEX) in rum_match() 482 struct ieee80211com *ic = &sc->sc_ic; in rum_attach() 488 sc->sc_udev = uaa->device; in rum_attach() 489 sc->sc_dev = self; in rum_attach() [all …]
|
| H A D | if_rsu.c | 3 /*- 22 * o tx a-mpdu 24 * o power-save operation 78 device_printf((_sc)->sc_dev, __VA_ARGS__); \ 290 /* XXX hard-coded */ 351 if (uaa->usb_mode != USB_MODE_HOST || in rsu_match() 352 uaa->info.bIfaceIndex != 0 || in rsu_match() 353 uaa->info.bConfigIndex != 0) in rsu_match() 373 * notification from net80211 that it'd like to do A-MPDU on the given TID. 378 struct rsu_softc *sc = ni->ni_ic->ic_softc; in rsu_ampdu_enable() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | if_ether.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 87 ARP_LLINFO_VERIFY, /* LLE is valid, need refresh */ 155 * const int max = fls(INT_MAX / hz) - 1; 172 "Minimum log(9) level for recording rate limited arp log messages. " 209 if (lle->la_flags & LLE_STATIC) { in arptimer() 213 if (callout_pending(&lle->lle_timer)) { in arptimer() 232 ifp = lle->lle_tbl->llt_ifp; in arptimer() 233 CURVNET_SET(ifp->if_vnet); in arptimer() 235 switch (lle->ln_state) { in arptimer() [all …]
|
| /freebsd/sys/dev/mpt/ |
| H A D | mpt_raid.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 36 /*- 41 * Support from LSI-Logic has also gone a great deal toward making this a 74 (((MSG_RAID_ACTION_REQUEST *)(req->req_vbuf)) + 1)) 76 #define REQ_IOCSTATUS(req) ((req)->IOCStatus & MPI_IOCSTATUS_MASK) 138 switch (vol->config_page->VolumeType) { in mpt_vol_type() 140 return ("RAID-0"); in mpt_vol_type() 142 return ("RAID-1E"); in mpt_vol_type() 144 return ("RAID-1"); in mpt_vol_type() [all …]
|
| /freebsd/sys/amd64/vmm/io/ |
| H A D | vrtc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 71 uint8_t nvram2[128 - 51]; 86 #define VRTC_LOCK(vrtc) mtx_lock(&((vrtc)->mtx)) 87 #define VRTC_UNLOCK(vrtc) mtx_unlock(&((vrtc)->mtx)) 88 #define VRTC_LOCKED(vrtc) mtx_owned(&((vrtc)->mtx)) 92 * - RTC updates are halted by the guest 93 * - RTC date/time fields have invalid values 95 #define VRTC_BROKEN_TIME ((time_t)-1) 100 #define rtc_halted(vrtc) ((vrtc->rtcdev.reg_b & RTCSB_HALT) != 0) [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: ISC 16 #define to_rssi(field, rcpi) ((FIELD_GET(field, rcpi) - 220) / 2) 19 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 33 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 44 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 67 if (!wcid->sta) in mt7915_rx_get_wcid() 71 if (!sta->vif) in mt7915_rx_get_wcid() 74 return &sta->vif->sta.wcid; in mt7915_rx_get_wcid() 104 struct rate_info *rate; in mt7915_mac_sta_poll() local 113 spin_lock_bh(&dev->mt76.sta_poll_lock); in mt7915_mac_sta_poll() [all …]
|
| /freebsd/share/termcap/ |
| H A D | termcap.5 | 31 .\" * ncurses is copyright (C) 1992-1995 * 32 .\" * Zeyd M. Ben-Halim * 77 consist of a number of `:'-separated fields. 98 in 132-column mode would be 99 .Dq vt100-w . 101 .Bl -column indent "With automatic margins (usually default)xx" -offset indent 103 -w Wide mode (more than 80 columns) vt100-w 104 -am With automatic margins (usually default) vt100-am 105 -nam Without automatic margins vt100-nam 106 .Pf \- Ar n Ta No "Number of lines on screen aaa-60" [all …]
|
| /freebsd/contrib/ncurses/include/ |
| H A D | Caps.uwin | 2 # Copyright 2019-2023,2024 Thomas E. Dickey # 3 # Copyright 2001-2015,2016 Free Software Foundation, Inc. # 43 # This file has three major sections; a standard-capabilities table, two 44 # extension-capability tables, and a section of aliases declarations. 53 # Column 5: KEY_xxx name, if any, `-' otherwise 54 # Column 6: value for KEY_xxx name, if any, `-' otherwise 56 # translations, `-' otherwise 59 # The codes following [Y-] in column 7 describe the versions of termcap which 63 # lot of old termcap-using programs). The codes read as follows: 95 # as an already-supported one. The compiler will handle aliasing, emitting [all …]
|
| H A D | Caps.osf1r5 | 2 # Copyright 2019-2023,2024 Thomas E. Dickey # 3 # Copyright 2002-2015,2016 Free Software Foundation, Inc. # 43 # This file has three major sections; a standard-capabilities table, two 44 # extension-capability tables, and a section of aliases declarations. 53 # Column 5: KEY_xxx name, if any, `-' otherwise 54 # Column 6: value for KEY_xxx name, if any, `-' otherwise 56 # translations, `-' otherwise 59 # The codes following [Y-] in column 7 describe the versions of termcap which 63 # lot of old termcap-using programs). The codes read as follows: 95 # as an already-supported one. The compiler will handle aliasing, emitting [all …]
|
| H A D | Caps.hpux11 | 2 # Copyright 2019-2023,2024 Thomas E. Dickey # 3 # Copyright 2002-2015,2016 Free Software Foundation, Inc. # 43 # This file has three major sections; a standard-capabilities table, two 44 # extension-capability tables, and a section of aliases declarations. 53 # Column 5: KEY_xxx name, if any, `-' otherwise 54 # Column 6: value for KEY_xxx name, if any, `-' otherwise 56 # translations, `-' otherwise 59 # The codes following [Y-] in column 7 describe the versions of termcap which 63 # lot of old termcap-using programs). The codes read as follows: 95 # as an already-supported one. The compiler will handle aliasing, emitting [all …]
|
| H A D | Caps | 2 # Copyright 2019-2023,2024 Thomas E. Dickey # 3 # Copyright 1998-2015,2016 Free Software Foundation, Inc. # 30 # Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 43 # This file has three major sections; a standard-capabilities table, two 44 # extension-capability tables, and a section of aliases declarations. 53 # Column 5: KEY_xxx name, if any, `-' otherwise 54 # Column 6: value for KEY_xxx name, if any, `-' otherwise 56 # translations, `-' otherwise 59 # The codes following [Y-] in column 7 describe the versions of termcap which 63 # lot of old termcap-using programs). The codes read as follows: [all …]
|
| H A D | Caps.keys | 2 # Copyright 2019-2023,2024 Thomas E. Dickey # 3 # Copyright 2001-2015,2016 Free Software Foundation, Inc. # 36 # is illustrates an experimental extension to describe alt-, shift- and 37 # control-modifiers applied to function and normal keys, as done on IBM pc's. 45 # This file has three major sections; a standard-capabilities table, two 46 # extension-capability tables, and a section of aliases declarations. 55 # Column 5: KEY_xxx name, if any, `-' otherwise 56 # Column 6: value for KEY_xxx name, if any, `-' otherwise 58 # translations, `-' otherwise 61 # The codes following [Y-] in column 7 describe the versions of termcap which [all …]
|
| /freebsd/sbin/ipfw/ |
| H A D | ipfw.8 | 8 in-kernel NAT.\& 19 .Op Ar rule | first-last ... 49 .Oo Cm set Ar N Oc Cm table Ar name Cm create Ar create-options 55 .Oo Cm set Ar N Oc Cm table Ar name Cm modify Ar modify-options 59 .Oo Cm set Ar N Oc Cm table Ar name Cm add Ar table-key Op Ar value 61 .Oo Cm set Ar N Oc Cm table Ar name Cm add Op Ar table-key Ar value ... 63 .Oo Cm set Ar N Oc Cm table Ar name Cm atomic add Op Ar table-key Ar value ... 65 .Oo Cm set Ar N Oc Cm table Ar name Cm delete Op Ar table-key ... 93 .Ar config-options 99 .Ss IN-KERNEL NAT [all …]
|
| /freebsd/sys/dev/syscons/ |
| H A D | syscons.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1992-1998 Søren Schmidt 95 #define KEYCODE_BS 0x0e /* "<-- Backspace" key, XXX */ 97 /* NULL-safe version of "tty_opened()" */ 102 static int sc_console_unit = -1; 273 /* ec -- emergency console. */ 306 fb = main_console.sc->adp->va_window; in ec_putc() 312 mysize = xsize * (ysize - 2 * yborder); in ec_putc() 317 -1 : in ec_putc() [all …]
|