/freebsd/sys/contrib/device-tree/Bindings/watchdog/ |
H A D | ziirave-wdt.txt | 4 - compatible: must be "zii,rave-wdt" 5 - reg: i2c slave address of device, usually 0x38 8 - timeout-sec: Watchdog timeout value in seconds. 9 - reset-duration-ms: Duration of the pulse generated when the watchdog times 15 compatible = "zii,rave-wdt"; 17 timeout-sec = <30>; 18 reset-duration-ms = <30>;
|
H A D | zii,rave-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/zii,rave-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Martyn Welch <martyn.welch@collabora.co.uk> 11 - Guenter Roeck <linux@roeck-us.net> 12 - Wim Van Sebroeck <wim@iguana.be> 16 const: zii,rave-wdt 22 reset-duration-ms: 24 Duration of the pulse generated when the watchdog times [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | fsl-fec.txt | 4 - compatible : Should be "fsl,<soc>-fec" 5 - reg : Address and length of the register set for the device 6 - interrupts : Should contain fec interrupt 7 - phy-mode : See ethernet.txt file in the same directory 10 - phy-supply : regulator that powers the Ethernet PHY. 11 - phy-handle : phandle to the PHY device connected to this device. 12 - fixed-link : Assume a fixed link. See fixed-link.txt in the same directory. 13 Use instead of phy-handle. 14 - fsl,num-tx-queues : The property is valid for enet-avb IP, which supports 17 - fsl,num-rx-queues : The property is valid for enet-avb IP, which supports [all …]
|
H A D | fsl,fec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 11 - Wei Fang <wei.fang@nxp.com> 12 - NXP Linux Team <linux-imx@nxp.com> 15 - $ref: ethernet-controller.yaml# 20 - enum: 21 - fsl,imx25-fec 22 - fsl,imx27-fec [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmi [all...] |
H A D | rohm,bd71837-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71837MWV is programmable Power Management ICs for powering single-core, 14 dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 35 clock-names: 38 "#clock-cells": [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/ |
H A D | lan9303.txt | 2 ------------------------------------------------- 6 - compatible: should be 7 - "smsc,lan9303-i2c" for I2C managed mode 9 - "smsc,lan9303-mdio" for mdio managed mode 13 - reset-gpios: GPIO to be used to reset the whole device 14 - reset-duration: reset duration in milliseconds, defaults to 200 ms 23 auto-detected and mapped accordingly. 31 fixed-link { /* RMII fixed link to LAN9303 */ 33 full-duplex; 38 compatible = "smsc,lan9303-i2c"; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | input-reset.txt | 1 Input: sysrq reset sequence 6 specified) the system is sync'ed and reset. 11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 18 timeout-ms: duration keys must be pressed together in milliseconds before 25 linux,sysrq-reset-seq { 29 timeout-ms = <3000>;
|
/freebsd/stand/forth/ |
H A D | delay.4th | 1 \ Copyright (c) 2008-2015 Devin Teske <dteske@FreeBSD.org> 26 marker task-delay.4th 28 vocabulary delay-processing 29 only forth also delay-processing definitions 32 3 constant etx_key \ End-of-Text character produced by Ctrl+C 33 13 constant enter_key \ Carriage-Return character produce by ENTER 37 variable delay_delay \ determined configurable delay duration 41 only forth definitions also delay-processing 43 : delay_execute ( -- ) 46 s" delay_command" getenv dup -1 = if [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6qdl-sr-som.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 41 #include <dt-bindings/gpio/gpio.h> 44 vcc_3v3: regulator-vcc-3v3 { 45 compatible = "regulator-fixed"; 46 regulator-always-on; 47 regulator-name = "vcc_3v3"; 48 regulator-min-microvolt = <3300000>; 49 regulator-max-microvolt = <3300000>; 54 pinctrl-names = "default"; 55 pinctrl-0 = <&pinctrl_microsom_enet_ar8035>; [all …]
|
H A D | mba6ulx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2018-2022 TQ-Systems GmbH 4 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 8 model = "TQ-Systems MBA6ULx Baseboard"; 18 stdout-path = &uart1; 22 compatible = "pwm-backlight"; 23 power-supply = <®_mba6ul_3v3>; 24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>; 29 compatible = "gpio-beeper"; 33 gpio_buttons: gpio-keys { [all …]
|
H A D | imx6qdl-apf6.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 9 reg_1p8v: regulator-1p8v { 10 compatible = "regulator-fixed"; 11 regulator-name = "1P8V"; 12 regulator-min-microvolt = <1800000>; 13 regulator-max-microvolt = <1800000>; 14 regulator-always-on; 15 vin-supply = <®_3p3v>; [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 40 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5212GetMacAddress() 48 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5212SetMacAddress() 57 OS_MEMCPY(mask, ahp->ah_bssidmask, IEEE80211_ADDR_LEN); in ar5212GetBssIdMask() 65 /* save it since it must be rewritten on reset */ in ar5212SetBssIdMask() 66 OS_MEMCPY(ahp->ah_bssidmask, mask, IEEE80211_ADDR_LEN); in ar5212SetBssIdMask() 68 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssidmask)); in ar5212SetBssIdMask() [all …]
|
H A D | ar5212_beacon.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 52 * + Timer 0 - 0..15 0xffff TU in ar5212SetBeaconTimers() 53 * + Timer 1 - 0..18 0x7ffff TU/8 in ar5212SetBeaconTimers() 54 * + Timer 2 - 0..24 0x1ffffff TU/8 in ar5212SetBeaconTimers() 55 * + Timer 3 - 0..15 0xffff TU in ar5212SetBeaconTimers() 57 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt & 0xffff); in ar5212SetBeaconTimers() 58 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba & 0x7ffff); in ar5212SetBeaconTimers() [all …]
|
/freebsd/tools/tools/usbtest/ |
H A D | usbtest.c | 1 /*- 2 * Copyright (c) 2010-2022 Hans Petter Selasky 79 temp |= (-0x800000); in usb_ts_rand_noise() 107 printf("] - %s:\n\n", title); in usb_ts_show_menu() 144 ptr[size - 1] = 0; in get_string() 151 else if (ptr[size - 1] == '\n') in get_string() 152 ptr[size - 1] = 0; in get_string() 166 return (-1); in get_integer() 168 return (-2); in get_integer() 238 "6) Change pattern advance interval: %d ms\n" in show_default_audio_select() [all …]
|
H A D | usb_modem_test.c | 1 /*- 2 * Copyright (c) 2007-2022 Hans Petter Selasky 58 uint32_t duration; member 77 p->data_stress_test = 1; in set_defaults() 78 p->control_ep_test = 1; in set_defaults() 79 p->duration = 60; /* seconds */ in set_defaults() 85 bps->bytes += len; in do_bps() 171 usb_modem_control_ep_test(struct modem *p, uint32_t duration, uint8_t flag) in usb_modem_control_ep_test() argument 188 iface_no = p->usb_iface - 1; in usb_modem_control_ep_test() 205 (int)p->errors); in usb_modem_control_ep_test() [all …]
|
H A D | usb_msc_test.c | 1 /*- 2 * Copyright (c) 2007-2022 Hans Petter Selasky 106 * SCSI commands sniffed off the wire - LUN maybe needs to be 132 setup.bRequest = 0xFF; /* BBB reset */ in do_msc_reset() 223 } while (--timeout); in do_msc_cmd() 267 for (x = 0; x != (sizeof(buffer) - 1); x++) { in do_msc_shorter_cmd() 272 "status = %d\n", x, (int)(sizeof(buffer) - 1), in do_msc_shorter_cmd() 353 switch (p->io_mode) { in do_io_test() 365 switch (p->io_offset) { in do_io_test() 374 switch (p->io_delay) { in do_io_test() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | adi,max98396.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ryan Lee <ryans.lee@analog.com> 13 The MAX98396 is a mono Class-DG speaker amplifier with I/V sense. 21 - adi,max98396 22 - adi,max98397 27 avdd-supply: 30 dvdd-supply: 33 dvddio-supply: [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_xmit.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 40 HALASSERT(q < AH_PRIVATE(ah)->ah_caps.halTotalQueues); in ar5416StopTxDma() 42 HALASSERT(AH5212(ah)->ah_txq[q].tqi_type != HAL_TX_QUEUE_INACTIVE); in ar5416StopTxDma() 45 for (i = STOP_DMA_TIMEOUT/STOP_DMA_ITER; i != 0; i--) { in ar5416StopTxDma() 75 /* TODO - save off and restore current values of Q1/Q2? */ in ar5416StopTxDma() 100 for (i = STOP_DMA_TIMEOUT/STOP_DMA_ITER; i != 0; i--) { in ar5416StopTxDma() 163 * Handle the non-MCS rates in ar5416RateToRateTable() [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_cir.c | 1 /*- 49 #define READ(_sc, _r) bus_read_4((_sc)->res[0], (_r)) 50 #define WRITE(_sc, _r, _v) bus_write_4((_sc)->res[0], (_r), (_v)) 83 #define AW_IR_RXSTA_COUNTER(val) (((val) >> 8) & (sc->fifo_size * 2 - 1)) 96 /* Idle Threshold = (2 + 1) * 128 * 42.7 = ~16.4ms > 9ms */ 99 /* Bit 15 - value (pulse/space) */ 101 /* Bits 0:14 - sample duration */ 114 /* 80 * 42.7 = ~3.4ms, Lead1(4.5ms) > AW_IR_L1_MIN */ 116 /* 40 * 42.7 = ~1.7ms, Lead0(4.5ms) Lead0R(2.25ms) > AW_IR_L0_MIN */ 127 #define AW_IR_ACTIVE_T (((AW_IR_ACTIVE_T_VAL - 1) & 0xff) << 16) [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | mmp.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 36 * Multi-Modifier Protection (MMP) attempts to prevent a user from importing 38 * prevents "zpool import -f" on a host from succeeding while the pool is 50 * (N-MMP_BLOCKS_PER_LABEL) slots, the remaining slots are reserved for MMP. 79 * activity test, the default values result in an activity test duration of 20x 82 * The duration of the "zpool import" activity test depends on the information 85 * 1) If uberblock was written by zfs-0.8 or newer and fail_intervals > 0: 90 * fail_intervals * multihost_interval ms, the absence of writes during that 100 * 2) If uberblock was written by zfs-0.8 or newer and fail_intervals == 0: 111 * 3) If uberblock was written by zfs-0.7: [all …]
|
/freebsd/contrib/ntp/kernel/sys/ |
H A D | timex.h | 21 * Added defines for hybrid phase/frequency-lock loop. 25 * defines for PPS phase-lock loop. 45 * ntp_gettime - NTP user application interface 56 * ntp_adjtime - NTP daemon application interface 76 * phase-lock loop (PLL) model used in the kernel implementation. These 105 * possible without overflow of a 32-bit word. 108 * which serves as a an extension to the low-order bits of the system 135 * MAXPHASE must be set greater than or equal to CLOCK.MAX (128 ms), as 137 * time offset allowed before the system time is reset, rather than 169 * The following defines are used only if a pulse-per-second (PPS) [all …]
|
/freebsd/sys/dev/neta/ |
H A D | if_mvnetavar.h | 61 bus_read_4((sc)->res[0], (reg)) 63 bus_write_4((sc)->res[0], (reg), (val)) 66 bus_read_region_4((sc)->res[0], (reg), (val), (c)) 68 bus_write_region_4((sc)->res[0], (reg), (val), (c)) 71 bus_read_4((sc)->res[0], MVNETA_PORTMIB_BASE + (reg)) 81 * Default timer is duration of MTU sized frame transmission. 161 #define MVNETA_WATCHDOG_TXCOMP (hz / 10) /* 100ms */ 181 ctr -= MVNETA_TX_RING_CNT; in tx_counter_adv() 192 ctr -= MVNETA_RX_RING_CNT; in rx_counter_adv() 209 KASSERT(mtx_owned(&(sc)->mtx), ("SC mutex not owned")) [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2006 Atheros Communications, Inc. 31 #define AR_GPIOD_MASK 0x2f /* 6-bit mask */ 38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5211GetMacAddress() 46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5211SetMacAddress() 104 if (AH_PRIVATE(ah)->ah_currentRD == regDomain) { in ar5211SetRegulatoryDomain() 111 * permit re-writing that segment of the EEPROM. in ar5211SetRegulatoryDomain() 122 AH_PRIVATE(ah)->ah_currentRD = regDomain; in ar5211SetRegulatoryDomain() [all …]
|