/freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
H A D | gpio-restart.txt | 6 handler. If the optional properties 'open-source' is not found, the GPIO line 13 inactive->active edge condition, triggering positive edge triggered 14 reset. After a delay specified by active-delay, the GPIO is set to 15 inactive, thus causing an active->inactive edge, triggering negative edge 16 triggered reset. After a delay specified by inactive-delay, the GPIO 17 is driven active again. After a delay specified by wait-delay, the 21 - compatible : should be "gpio-restart". 22 - gpios : The GPIO to set high/low, see "gpios property" in 28 - open-source : Treat the GPIO as being open source and defer driving 31 - priority : A priority ranging from 0 to 255 (default 128) according to [all …]
|
H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-restar [all...] |
H A D | gpio-poweroff.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-powerof [all...] |
H A D | gpio-poweroff.txt | 9 When the power-off handler is called, the gpio is configured as an 11 condition. This will also cause an inactive->active edge condition, so 12 triggering positive edge triggered power off. After a delay of 100ms, 13 the GPIO is set to inactive, thus causing an active->inactive edge, 15 delay the GPIO is driver active again. If the power is still on and 16 the CPU still running after a 3000ms delay, a WARN_ON(1) is emitted. 19 - compatible : should be "gpio-poweroff". 20 - gpios : The GPIO to set high/low, see "gpios property" in 26 - input : Initially configure the GPIO line as an input. Only reconfigure 27 it to an output when the power-off handler is called. If this optional [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ |
H A D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
H A D | omap-gpmc.txt | 7 - compatible: Should be set to one of the following: 9 ti,omap2420-gpmc (omap2420) 10 ti,omap2430-gpmc (omap2430) 11 ti,omap3430-gpmc (omap3430 & omap3630) 12 ti,omap4430-gpmc (omap4430 & omap4460 & omap543x) 13 ti,am3352-gpmc (am335x devices) 15 - reg: A resource specifier for the register space 17 - ti,hwmods: Should be set to "ti,gpmc" until the DT transition is 19 - #address-cells: Must be set to 2 to allow memory address translation 20 - #size-cells: Must be set to 1 to allow CS address passing [all …]
|
H A D | arm,pl172.txt | 5 - compatible: Must be "arm,primecell" and exactly one from 8 - reg: Must contains offset/length value for controller. 10 - #address-cells: Must be 2. The partition number has to be encoded in the 11 first address cell and it may accept values 0..N-1 12 (N - total number of partitions). The second cell is the 15 - #size-cells: Must be set to 1. 17 - ranges: Must contain one or more chip select memory regions. 19 - clocks: Must contain references to controller clocks. 21 - clock-names: Must contain "mpmcclk" and "apb_pclk". 23 - clock-ranges: Empty property indicating that child nodes can inherit [all …]
|
/freebsd/sys/dev/atkbdc/ |
H A D | atkbdc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1996-1999 5 * Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp) 66 #define availq(q) ((q)->head != (q)->tail) 68 #define emptyq(q) ((q)->tail = (q)->head = (q)->qcount = 0) 70 #define emptyq(q) ((q)->tail = (q)->head = 0) 73 #define read_data(k) (bus_space_read_1((k)->iot, (k)->ioh0, 0)) 74 #define read_status(k) (bus_space_read_1((k)->iot, (k)->ioh1, 0)) 76 (bus_space_write_1((k)->iot, (k)->ioh0, 0, (d))) [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInsertDelayAlu.cpp | 1 //===- AMDGPUInsertDelayAlu.cpp - Insert s_delay_alu instructions ---------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 22 #define DEBUG_TYPE "amdgpu-insert-delay-alu" 44 // These instruction types wait for VA_VDST==0 before issuing. in instructionWaitsForVALU() 59 // Types of delay that can be encoded in an s_delay_alu instruction. 62 // Get the delay type for an instruction with the specified TSFlags. 74 // regunit. In straight-line code there will only be one such instruction, but 75 // when control flow converges we merge the delay information from each path [all …]
|
/freebsd/sys/dev/ipmi/ |
H A D | ipmi_kcs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 49 #define POLLING_DELAY_MIN 4 /* Waits are 2-3 usecs on typical systems */ 64 while (ticks - start < MAX_TIMEOUT && (status & mask) != value) { in kcs_wait() 66 * The wait delay is increased exponentially to avoid putting in kcs_wait() 69 DELAY(delay_usec); in kcs_wait() 109 /* Wait for IBF = 0 */ in kcs_error() 115 /* Wait for IBF = 0 */ in kcs_error() 124 device_printf(sc->ipmi_dev, in kcs_error() 131 /* Wait for IBF = 0 */ in kcs_error() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/ |
H A D | zpool_reopen_005_pos.ksh | 1 #!/bin/ksh -p 15 # Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 22 # Test zpool reopen -n while resilver is running. 30 # 5. Reopen a pool and wait until resilvering is started. 31 # 6. Reopen a pool again with -n flag. 32 # 7. Wait until resilvering is finished and check if it was restarted. 35 # A 25ms delay is added to make sure that the resilver is running while 43 log_must zinject -c all 67 # 5. Reopen a pool and wait until resilvering is started. 70 # add delay to I/O requests for the reopened disk [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/deadman/ |
H A D | deadman_zio.ksh | 1 #!/bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 34 # 3. Inject a 10s zio delay to force long IOs. 37 # 6. Inject a 100ms zio delay which is under the 5s allowed. 49 log_must zinject -c all 64 log_must set_tunable64 DEADMAN_FAILMODE "wait" 71 log_must file_write -b 1048576 -c 8 -o create -d 0 -f $mntpnt/file1 72 log_must file_write -b 1048576 -c 8 -o create -d 0 -f $mntpnt/file2 75 log_must stat -t /$mntpnt/file1 76 log_must stat -t /$mntpnt/file2 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/phy/ |
H A D | nvidia,tegra20-usb-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra20-usb-phy.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> 17 - items: 18 - enum: 19 - nvidia,tegra124-usb-phy [all …]
|
/freebsd/share/man/man9/ |
H A D | microseq.9 | 42 .Bl -enum -offset indent 69 In any other mode, drivers may be tri-stated by 74 This read-only register reflects the inputs on the parallel port interface. 76 .Bl -column "Bit" "Name" "Description" -compact 90 .Bl -column "Bit" "Name " "Description" -compact 108 .Bd -literal 114 #define MS_OP_DELAY 5 /* delay <val> */ 134 .Bl -bullet -offset indent 151 are microinstructions used to do either predefined standard IEEE1284-1994 152 transfers or programmed non-standard io. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
H A D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2 [all...] |
/freebsd/sys/dev/ppbus/ |
H A D | ppb_1284.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 * General purpose routines for the IEEE1284-1994 Standard 56 * Wait for the peripherial up to 40ms 82 ppb->error = PPB_NO_ERROR; in ppb_1284_reset_error() 83 ppb->state = state; in ppb_1284_reset_error() 98 mtx_assert(ppb->ppc_lock, MA_OWNED); in ppb_1284_get_state() 99 return (ppb->state); in ppb_1284_get_state() 114 mtx_assert(ppb->ppc_lock, MA_OWNED); in ppb_1284_set_state() 115 if ((ppb->state != PPB_ERROR) && in ppb_1284_set_state() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/i2c/ |
H A D | i2c-arb-gpio-challenge.txt | 1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 7 the standard I2C multi-master rules. Using GPIOs is generally useful in 21 others can see. These are all active low with pull-ups enabled. We'll 24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus 25 - THEIR_CLAIMS: output from others signaling that they want the bus 37 4. Otherwise, wait for a few milliseconds and see if THEIR_CLAIMS are released. 38 5. If not, back off, release the claim and wait for a few more milliseconds. 43 - compatible: i2c-arb-gpio-challenge 44 - our-claim-gpio: The GPIO that we use to claim the bus. 45 - their-claim-gpios: The GPIOs that the other sides use to claim the bus. [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/ |
H A D | events_common.kshlib | 9 # or https://opensource.org/licenses/CDDL-1.0. 33 # wait for 'event' to show up in the log 'file' 38 timeout=${3:-120} 42 until grep -q "^ZEVENT_CLASS=$event" $ZED_DEBUG_LOG ; do 43 if [[ $SECONDS -gt $timeout ]]; then 55 # Wait for up to 'timeout' seconds for the 'file' to settle, i.e. 56 # not be updated for a period of 'delay' seconds. 58 function file_wait # file delay timeout 61 delay=${2:-3} 62 timeout=${3:-120} [all …]
|
/freebsd/sys/dev/sound/pci/ |
H A D | csa.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * Copyright (c) 1996-1998 Crystal Semiconductor Corp. 192 subcard = card->cards; in csa_findsubcard() 211 device_set_desc(dev, card->name); in csa_probe() 229 scp->dev = dev; in csa_attach() 234 resp = &scp->res; in csa_attach() 235 scp->card = csa_findsubcard(dev); in csa_attach() 236 scp->binfo.card = scp->card; in csa_attach() 237 printf("csa: card is %s\n", scp->card->name); in csa_attach() [all …]
|
/freebsd/tools/tools/netmap/ |
H A D | nmreplay.8 | 32 .Bk -words 33 .Bl -tag -width "nmreplay" 35 .Op Fl f Ar pcap-file 36 .Op Fl i Ar netmap-interface 38 .Op Fl D Ar delay 41 .Op Fl w Ar wait-link 43 .Op Fl C Ar cpu-placement 61 .Bl -tag -width Ds 62 .It Fl f Ar pcap-file 71 .It Fl b Ar batch-size [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...] |
/freebsd/sys/dev/iicbus/ |
H A D | iicbb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * Generic I2C bit-banging code 42 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de> 76 u_int udelay; /* signal toggle delay in usec */ 137 device_set_desc(dev, "I2C bit-banging driver"); in iicbb_probe() 147 sc->iicbus = device_add_child(dev, "iicbus", DEVICE_UNIT_ANY); in iicbb_attach() 148 if (!sc->iicbus) in iicbb_attach() 151 sc->scl_low_timeout = DEFAULT_SCL_LOW_TIMEOUT; in iicbb_attach() 155 "delay", CTLFLAG_RD, &sc->udelay, in iicbb_attach() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/spi/ |
H A D | spi-pl022.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-pl022.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 - [all...] |
/freebsd/sys/x86/x86/ |
H A D | delay.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 37 /* Generic x86 routines to handle delay */ 78 * Only use the TSC if it is P-state invariant. If the TSC is in delay_tc() 79 * not P-state invariant and the CPU is not running at the in delay_tc() 80 * "full" P-state, then the TSC will increment at some rate in delay_tc() 81 * less than tsc_freq and delay_tsc() will wait too long. in delay_tc() 88 if (tc->tc_quality <= 0) in delay_tc() 90 func = tc->tc_get_timecount; in delay_tc() 91 mask = tc->tc_counter_mask; in delay_tc() [all …]
|