| /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. 39 6. Go back to 1 (until retry time has expired). 43 - compatible: i2c-arb-gpio-challenge 44 - our-claim-gpio: The GPIO that we use to claim the bus. [all …]
|
| /freebsd/secure/lib/libcrypto/man/man7/ |
| H A D | ossl-guide-tls-client-non-block.7 | 1 .\" -*- mode: troff; coding: utf-8 -*- 57 .IX Title "OSSL-GUIDE-TLS-CLIENT-NON-BLOCK 7ossl" 58 .TH OSSL-GUIDE-TLS-CLIENT-NON-BLOCK 7ossl 2025-09-30 3.5.4 OpenSSL 64 ossl\-guide\-tls\-client\-non\-block 65 \&\- OpenSSL Guide: Writing a simple nonblocking TLS client 69 \&\fBossl\-guide\-tls\-client\-block\fR\|(7) page which demonstrates how to write a simple 75 \&\fBtls\-client\-non\-block.c\fR. It is also available online at 76 <https://github.com/openssl/openssl/blob/master/demos/guide/tls\-client\-non\-block.c>. 89 currently unable to read or write will return immediately with a non-fatal 95 \&\fBossl\-guide\-tls\-client\-block\fR\|(7) page we assume that you are familiar with it [all …]
|
| H A D | ossl-guide-quic-client-non-block.7 | 1 .\" -*- mode: troff; coding: utf-8 -*- 57 .IX Title "OSSL-GUIDE-QUIC-CLIENT-NON-BLOCK 7ossl" 58 .TH OSSL-GUIDE-QUIC-CLIENT-NON-BLOCK 7ossl 2025-09-30 3.5.4 OpenSSL 64 ossl\-guide\-quic\-client\-non\-block 65 \&\- OpenSSL Guide: Writing a simple nonblocking QUIC client 69 \&\fBossl\-guide\-quic\-client\-block\fR\|(7) page which demonstrates how to write a simple 75 \&\fBquic\-client\-non\-block.c\fR. It is also available online at 76 <https://github.com/openssl/openssl/blob/master/demos/guide/quic\-client\-non\-block.c>. 93 \&\fBSSL_read_ex\fR\|(3) or \fBSSL_write_ex\fR\|(3) will return immediately with a non-fatal 97 \&\fBossl\-guide\-quic\-client\-block\fR\|(7) page we assume that you are familiar with it [all …]
|
| /freebsd/crypto/openssl/doc/man7/ |
| H A D | ossl-guide-tls-client-non-block.pod | 6 demos/guide/tls-client-non-block.c 12 ossl-guide-tls-client-non-block 13 - OpenSSL Guide: Writing a simple nonblocking TLS client 18 L<ossl-guide-tls-client-block(7)> page which demonstrates how to write a simple 24 B<tls-client-non-block.c>. It is also available online at 25 L<https://github.com/openssl/openssl/blob/master/demos/guide/tls-client-non-block.c>. 38 currently unable to read or write will return immediately with a non-fatal 44 L<ossl-guide-tls-client-block(7)> page we assume that you are familiar with it 56 sock = -1; 70 application has to do, it must also be prepared to come back and retry the [all …]
|
| H A D | ossl-guide-quic-client-non-block.pod | 6 demos/guide/quic-client-non-block.c 12 ossl-guide-quic-client-non-block 13 - OpenSSL Guide: Writing a simple nonblocking QUIC client 18 L<ossl-guide-quic-client-block(7)> page which demonstrates how to write a simple 24 B<quic-client-non-block.c>. It is also available online at 25 L<https://github.com/openssl/openssl/blob/master/demos/guide/quic-client-non-block.c>. 42 L<SSL_read_ex(3)> or L<SSL_write_ex(3)> will return immediately with a non-fatal 46 L<ossl-guide-quic-client-block(7)> page we assume that you are familiar with it 55 the application has to do, it must also be prepared to come back and retry the 58 such that it might succeed on the retry attempt, but this does not have to be [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | refclock_acts.c | 2 * refclock_acts - clock driver for the NIST/USNO/PTB/NPL Computer Time 25 * This driver supports the US (NIST, USNO) and European (PTB, NPL, 33 * This driver requires a modem with a Hayes-compatible command set and 35 * modem setup string is hard-coded in the driver and may require 41 * followed by the number itself, including the long-distance prefix 76 * Phone: (303) 494-4774 (Boulder, CO); (808) 335-4721 (Hawaii) 85 * 47999 90-04-18 21:39:15 50 0 +.1 045.0 UTC(NIST) *<CR><LF> 89 * the on-tim 205 int retry; /* retry index */ global() member [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/arm/freescale/imx/ |
| H A D | imx_i2c.c | 1 /*- 2 * Copyright (C) 2008-2009 Semihalf, Michal Hajduk 36 * This driver currently implements only master-mode operations. 38 * This driver supports multi-master i2c buses, by detecting bus arbitration 41 * transfer cycles resulting in arbitration loss in mid-transfer. The caller 133 {"fsl,imx21-i2c", 1}, 134 {"fsl,imx6q-i2c", 1}, 135 {"fsl,imx-i2c", 1}, 156 if ((lvl) <= (sc)->debug) \ 157 device_printf((sc)->dev, fmt, ##args) [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_linux_libcdep.cpp | 1 //===-- sanitizer_stoptheworld_linux_libcdep.cpp --------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 43 #include <sys/wait.h> // for signal-related stuff 74 // work, so it cannot be spawned as a pthread. Instead, we use the low-level 83 // because clone() does not set up a thread-local storage for it. Any 84 // thread-local variables used by libc will be shared between the tracer task 147 // Either the thread is dead, or something prevented us from attaching. in SuspendThread() 155 // wait on it. Note: if the thread receives a signal concurrently, in SuspendThread() [all …]
|
| /freebsd/sys/nlm/ |
| H A D | nlm_advlock.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 60 int ns_svid; /* on-the-wire SVID for this file */ 112 p = td ? td->td_proc : NULL; in nlm_msg() 131 struct nfsmount *nmp = nf->nf_nmp; in nlm_down() 135 mtx_lock(&nmp->nm_mtx); in nlm_down() 136 if (!(nmp->nm_state & NFSSTA_LOCKTIMEO)) { in nlm_down() 137 nmp->nm_state |= NFSSTA_LOCKTIMEO; in nlm_down() 138 mtx_unlock(&nmp->nm_mtx); in nlm_down() 139 vfs_event_signal(&nmp->nm_mountp->mnt_stat.f_fsid, in nlm_down() [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5210/ |
| H A D | ar5210reg.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2004 Atheros Communications, Inc. 24 * Processor for IEEE 802.11a 5-GHz Wireless LANs. 72 #define AR_SLOT_TIME 0x8010 /* Length of a back-off */ 73 #define AR_TIME_OUT 0x8014 /* Timeout to wait for ACK and CTS */ 75 #define AR_RETRY_LMT 0x801c /* Short and long frame retry limit */ 97 #define AR_RETRY_CNT 0x8084 /* Current short or long retry cnt */ 98 #define AR_BACKOFF 0x8088 /* Back-off status */ [all …]
|
| /freebsd/sys/dev/hyperv/hvsock/ |
| H A D | hv_sock.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 78 #define HVSOCK_SEND_BUF_SZ (PAGE_SIZE - sizeof(struct vmpipe_proto_header)) 122 /* 00000000-facb-11e6-bd58-64006a7986d3 */ 150 "0x%x-0x%x-0x%x-0x%x-0x%x-0x%x-0x%x-0x%x-0x%x-0x%x-0x%x\n", in hvsock_print_guid() 160 return !memcmp(&id->hv_guid[4], in is_valid_srv_id() 161 &srv_id_template.hv_guid[4], sizeof(struct hyperv_guid) - 4); in is_valid_srv_id() 227 if (!so || !so->so_pcb) { in hvs_remove_socket_from_list() 241 if (!so || !so->so_pcb) { in hvs_insert_socket_on_list() 259 if (p->so != NULL && in __hvs_find_socket_on_list() [all …]
|
| /freebsd/sys/dev/aic7xxx/ |
| H A D | aic7xxx.seq | 1 /*- 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 54 * on just in case the reselection wins so that we can retry the selection at 58 * use byte 27 of the SCB as a pseudo-next pointer and to thread a list 59 * of SCBs that are awaiting selection. Since 0-0xfe are valid SCB indexes, 61 * this list every time a request sense occurs or after completing a non-tagged 76 if ((ahc->features & AHC_ULTRA2) != 0) { 80 if ((ahc->features & AHC_TWIN) != 0) { [all …]
|
| H A D | aic79xx.seq | 1 /*- 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 49 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 56 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 71 * If the kernel has caught up with us, thaw the queue. 98 cmp SCB_NEXT_COMPLETE[1], SCB_LIST_NULL jne . - 1; 122 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) { 126 * and re-selections. Make the LED status [all …]
|
| /freebsd/stand/i386/libi386/ |
| H A D | textvidc.c | 1 /*- 3 * Copyright (c) 1997 Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp) 90 cp->c_flags |= C_PRESENTIN; in vidc_probe() 94 cp->c_flags |= C_PRESENTOUT; in vidc_probe() 142 n = 8 - ((curx + 8) % 8); in vidc_rawputchar() 162 cury--; in vidc_rawputchar() 169 curx--; in vidc_rawputchar() 185 cury--; in vidc_rawputchar() 211 /* Move cursor to x rows and y cols (0-based). */ 307 * (the coordinates are 1-based). [all …]
|
| /freebsd/contrib/wpa/src/wps/ |
| H A D | wps_upnp_event.c | 2 * UPnP WPS Device - Event processing 3 * Copyright (c) 2000-2003 Intel Corporation 4 * Copyright (c) 2006-2007 Sony Corporation 5 * Copyright (c) 2008-2009 Atheros Communications 6 * Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi> 36 /* How long to wait before sending event */ 52 unsigned int retry; /* which retry */ member 59 /* event_clean -- clean sockets etc. of event 60 * Leaves data, retry count etc. alone. 64 if (e->s->current_event == e) in event_clean() [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5212/ |
| H A D | ar5212reg.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 58 #define AR_ISR_RAC 0x00c0 /* ISR read-and-clear access */ 59 /* Shadow copies with read-and-clear access */ 97 #define AR_Q_TXE_M 0x000003FF /* Mask for TXE (QCU 0-9) */ 99 #define AR_Q_TXD_M 0x000003FF /* Mask for TXD (QCU 0-9) */ 169 #define AR_D0_LCL_IFS 0x1040 /* MAC DCU-specific IFS settings */ 170 #define AR_D1_LCL_IFS 0x1044 /* MAC DCU-specific IFS settings */ [all …]
|
| H A D | ar5212_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. 52 if (ahp->ah_txTrigLev >= ahp->ah_maxTxTrigLev) in ar5212UpdateTxTrigLevel() 58 omask = ath_hal_setInterrupts(ah, ahp->ah_maskReg &~ HAL_INT_GLOBAL); in ar5212UpdateTxTrigLevel() 64 if (curLevel < ahp->ah_maxTxTrigLev) in ar5212UpdateTxTrigLevel() 67 newLevel--; in ar5212UpdateTxTrigLevel() 73 ahp->ah_txTrigLev = newLevel; in ar5212UpdateTxTrigLevel() 75 /* re-enable chip interrupts */ in ar5212UpdateTxTrigLevel() [all …]
|
| /freebsd/contrib/kyua/utils/fs/ |
| H A D | operations.cpp | 47 #include <sys/wait.h> 122 # define UMOUNT "do-not-use-this-value" 136 /// \return -1 to indicate error, although this should never happen. 142 return -1; in unmount() 154 /// Executes 'mount -t tmpfs' (or a similar variant). 170 mount_args[last++] = "-ttmpfs"; in run_mount_tmpfs() 172 size_arg = F("-osize=%s") % size; in run_mount_tmpfs() 181 mount_args[last++] = "-ttmpfs"; in run_mount_tmpfs() 183 size_arg = F("-osize=%s") % size; in run_mount_tmpfs() 192 mount_args[last++] = "-ttmpfs"; in run_mount_tmpfs() [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5211/ |
| H A D | ar5211reg.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2006 Atheros Communications, Inc. 62 /* Shadow copies with read-and-clear access */ 148 #define AR_D0_LCL_IFS 0x1040 /* DCU-specific IFS settings */ 149 #define AR_D1_LCL_IFS 0x1044 /* DCU-specific IFS settings */ 150 #define AR_D2_LCL_IFS 0x1048 /* DCU-specific IFS settings */ 151 #define AR_D3_LCL_IFS 0x104c /* DCU-specific IFS settings */ 152 #define AR_D4_LCL_IFS 0x1050 /* DCU-specific IFS settings */ [all …]
|
| /freebsd/crypto/openssl/test/quic-openssl-docker/hq-interop/ |
| H A D | quic-hq-interop.c | 2 * Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 11 * @file quic-hq-interop.c 15 * interoperability with hq-interop servers. It handles connection setup, 20 * and uses non-blocking mode for QUIC operations. 30 * quic-hq-interop <host> <port> <reqfile> 31 * host - The hostname of the server to contact 32 * port - The port that the server is listening on 33 * reqfile - a text file containing a space separated list of paths to fetch 37 * SSLKEYLOGFILE - set to a file path to record keylog exchange with server 38 * SSL_SESSION_FILE - set to a file path to record ssl sessions and restore [all …]
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_cmbat.c | 1 /*- 50 /* Number of times to retry initialization before giving up. */ 136 sc->dev = dev; in acpi_cmbat_attach() 138 timespecclear(&sc->bst_lastupdated); in acpi_cmbat_attach() 201 * battery status will get the new value for us. in acpi_cmbat_notify_handler() 203 timespecclear(&sc->bst_lastupdated); in acpi_cmbat_notify_handler() 264 if (!acpi_cmbat_info_expired(&sc->bst_lastupdated)) in acpi_cmbat_get_bst() 270 "error fetching current battery status -- %s\n", in acpi_cmbat_get_bst() 282 if (acpi_PkgInt32(res, 0, &sc->bst.state) != 0) in acpi_cmbat_get_bst() 284 if (acpi_PkgInt32(res, 1, &sc->bst.rate) != 0) in acpi_cmbat_get_bst() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | sctp_constants.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. 5 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 6 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. 44 /* Address limit - This variable is calculated 48 * for the init-ack and then finally a third one for the 52 * INIT-ACK plus all the values from INIT and INIT-ACK 56 * that will be 21600 bytes. In the INIT-ACK we will 57 * see the INIT-ACK 21600 + 43200 in the cookie. This leaves [all …]
|
| /freebsd/tools/regression/compat32/aarch64/ |
| H A D | swp_test_impl.S | 2 * SPDX-License-Identifier: BSD-2-Clause 30 * 0 - Sync word 31 * 1 - Thread id 32 * 2 - Shared word 39 ldr r1, =(.L.mainmsgEnd - .L.mainmsg - 1) 56 * Wait for the first new thread to ack its existence by 79 * Wait for the first new thread to ack its existence by 118 ldr r1, =(.L.secondarymsgEnd - .L.secondarymsg - 1) 161 ldr r1, =(.L.idsepEnd - .L.idsep - 1) 194 * Yield to lower the chance that we end up re-acquiring, the other two [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_tx.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 70 tx->tx_dir = dd; in dmu_tx_create_dd() 72 tx->tx_pool = dd->dd_pool; in dmu_tx_create_dd() 73 list_create(&tx->tx_holds, sizeof (dmu_tx_hold_t), in dmu_tx_create_dd() 75 list_create(&tx->tx_callbacks, sizeof (dmu_tx_callback_t), in dmu_tx_create_dd() 77 tx->tx_start = gethrtime(); in dmu_tx_create_dd() 84 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); in dmu_tx_create() 85 tx->tx_objset = os; in dmu_tx_create() 94 TXG_VERIFY(dp->dp_spa, txg); in dmu_tx_create_assigned() [all …]
|