/freebsd-src/share/examples/ppp/ |
H A D | ppp.conf.sample | 23 # This section is *not* pre-loaded by the ``load'' or ``dial'' commands. 33 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ 34 OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" 41 # is required by the server either using a unix-style login procedure 46 # use a unix-style login script: 48 # If the peer assigns us an arbitrary IP (most ISPs do this) and we 57 # The fourth arg to "set ifaddr" makes us send "0.0.0.0" as our requested 61 # This entry also works with static IP numbers or when not in -auto mode. 64 # The "set ifaddr" is required in -auto mode only. 65 # It's better to put the ``add'' line in ppp.linkup when not in -auto mode. [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/fpga/ |
H A D | fpga-region.txt | 6 - Introduction 7 - Terminology 8 - Sequence 9 - FPGA Region 10 - Supported Use Models 11 - Device Tree Examples 12 - Constraints 82 ---------------- ---------------------------------- 85 | ----| | ----------- -------- | 87 | | W | | | ----------- -------- | [all …]
|
/freebsd-src/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)->de 510 i2c_repeated_start(device_t dev,u_char slave,int timeout) i2c_repeated_start() argument 536 i2c_start_ll(device_t dev,u_char slave,int timeout) i2c_start_ll() argument 560 i2c_start(device_t dev,u_char slave,int timeout) i2c_start() argument 708 i2c_write(device_t dev,const char * buf,int len,int * sent,int timeout) i2c_write() argument [all...] |
/freebsd-src/sys/dev/e1000/ |
H A D | e1000_82575.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 121 * e1000_sgmii_uses_mdio_82575 - Determine if I2C pins are for external MDIO 134 switch (hw->mac.type) { in e1000_sgmii_uses_mdio_82575() 155 * e1000_init_phy_params_82575 - Initialize PHY function ptrs 160 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82575() 166 phy->op in e1000_init_phy_params_82575() 1004 s32 timeout = PHY_CFG_TIMEOUT; e1000_get_cfg_done_82575() local 1723 s32 timeout = 3; e1000_set_sfp_media_type_82575() local 3306 u32 timeout = 10; e1000_get_i2c_ack() local [all...] |
/freebsd-src/sys/dev/ixgbe/ |
H A D | ixgbe_82598.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 71 * ixgbe_set_pcie_completion_timeout - set pci-e completion timeout 74 * The defaults for 82598 should be in the range of 50us to 50ms, 75 * however the hardware default for these parts is 500us to 1ms which is less 76 * than the 10ms recommended by the pci-e spec. To address this we need to 77 * increase the value to either 10ms to 250ms for capability version 1 config, 85 /* only take action if timeout value is defaulted to 0 */ in ixgbe_set_pcie_completion_timeout() 91 * timeout of 10ms to 250ms through the GCR register in ixgbe_set_pcie_completion_timeout() 99 * for version 2 capabilities we need to write the config space in ixgbe_set_pcie_completion_timeout() [all …]
|
H A D | ixgbe_82599.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 63 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() 71 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599() 73 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599() 75 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599() 77 mac->op in ixgbe_init_mac_link_ops_82599() 2546 s32 timeout = 200; ixgbe_read_i2c_byte_82599() local 2604 s32 timeout = 200; ixgbe_write_i2c_byte_82599() local [all...] |
/freebsd-src/contrib/nvi/cl/ |
H A D | cl_read.c | 1 /*- 10 #include "config.h" 40 * cl_event -- 64 evp->e_event = E_INTERRUPT; in cl_event() 66 evp->e_event = E_TIMEOUT; in cl_event() 71 evp->e_event = E_SIGHUP; in cl_event() 75 evp->e_event = E_SIGTERM; in cl_event() 84 evp->e_event = E_WRESIZE; in cl_event() 103 clp->ibuf + clp->skip, SIZE(clp->ibuf) - clp->skip, &nr, tp)) { in cl_event() 105 rc = INPUT2INT5(sp, clp->cw, clp->ibuf, nr + clp->skip, in cl_event() [all …]
|
/freebsd-src/usr.sbin/mfiutil/ |
H A D | mfi_cmd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 73 "Specified application doesn't have host-resident code", 92 "SAS Config - Invalid action", 93 "SAS Config - Invalid data", 94 "SAS Config - Invalid page", 95 "SAS Config - Invalid type", 133 return ("RAID-0"); in mfi_raid_level() 136 return ("RAID-10"); in mfi_raid_level() 138 return ("RAID-1"); in mfi_raid_level() [all …]
|
/freebsd-src/sys/dev/qcom_qup/ |
H A D | qcom_spi_hw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 78 sc->config.input_block_size = 4; in qcom_spi_hw_read_controller_transfer_sizes() 80 sc->config.input_block_size = val * 16; in qcom_spi_hw_read_controller_transfer_sizes() 86 sc->config.output_block_size = 4; in qcom_spi_hw_read_controller_transfer_sizes() 88 sc->config.output_block_size = val * 16; in qcom_spi_hw_read_controller_transfer_sizes() 93 sc->config.input_fifo_size = in qcom_spi_hw_read_controller_transfer_sizes() 94 sc->config.input_block_size * (2 << val); in qcom_spi_hw_read_controller_transfer_sizes() 99 sc->config.output_fifo_size = in qcom_spi_hw_read_controller_transfer_sizes() 100 sc->config.output_block_size * (2 << val); in qcom_spi_hw_read_controller_transfer_sizes() [all …]
|
/freebsd-src/contrib/wpa/src/common/ |
H A D | dpp_tcp.c | 3 * Copyright (c) 2019-2020, The Linux Foundation 4 * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. 104 if (conn->sock >= 0) { in dpp_connection_free() 106 conn->sock); in dpp_connection_free() 107 eloop_unregister_sock(conn->sock, EVENT_TYPE_READ); in dpp_connection_free() 108 eloop_unregister_sock(conn->sock, EVENT_TYPE_WRITE); 109 close(conn->sock); 119 wpabuf_free(conn->msg); in dpp_relay_add_controller() 120 wpabuf_free(conn->msg_out); in dpp_relay_add_controller() 121 dpp_auth_deinit(conn->aut in dpp_relay_add_controller() 118 dpp_relay_add_controller(struct dpp_global * dpp,struct dpp_relay_config * config) dpp_relay_add_controller() argument 1643 dpp_controller_start(struct dpp_global * dpp,struct dpp_controller_config * config) dpp_controller_start() argument [all...] |
/freebsd-src/contrib/ntp/ntpd/ |
H A D | refclock_acts.c | 2 * refclock_acts - clock driver for the NIST/USNO/PTB/NPL Computer Time 6 #include <config.h> 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-time markers echoed by the driver and used by NIST to measure 91 * recently been changed to eliminate the * on-time indicator. The [all …]
|
/freebsd-src/contrib/sendmail/cf/ |
H A D | README | 9 To get started, you may want to look at tcpproto.mc (for TCP-only 11 mail host), or the generic-*.mc files as operating system-specific 30 ANTI-SPAM CONFIGURATION CONTROL 37 NON-SMTP BASED CONFIGURATIONS 51 +--------------------------+ 53 +--------------------------+ 57 You must pre-load "cf.m4": 59 m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf 64 ./Build config.cf 66 where ${CFDIR} is the root of the cf directory and config.mc is the [all …]
|
/freebsd-src/sys/dev/ciss/ |
H A D | ciss.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * Common Interface for SCSI-3 Support driver. 37 * Interface for SCSI-3 Support Open Specification", Version 1.04, 40 * arbitrarlily cut-down version of a larger (and probably even more 45 * offloading most of the queueing and being-a-dis 2361 ciss_synch_request(struct ciss_request * cr,int timeout) ciss_synch_request() argument 2376 ciss_poll_request(struct ciss_request * cr,int timeout) ciss_poll_request() argument 2410 ciss_wait_request(struct ciss_request * cr,int timeout) ciss_wait_request() argument [all...] |
/freebsd-src/sys/contrib/alpine-hal/ |
H A D | al_hal_pcie_w_reg.h | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 376 * - If MSI-X is enabled and auto_clear control bit =TRUE, automatically 377 * cleared after MSI-X message associated with this specific interrupt 378 * bit is sent (MSI-X acknowledge is received). 379 * - Software can set a bit in this register by writing 1 to the 381 * Write-0 clears a bit. Write-1 has no effect. 382 * - On CPU Read - If clear_on_read control bit =TRUE, automatically 400 * If Auto-mask control bit =TRUE, automatically set to 1 after MSI-X 408 * Used when auto-mask control bit=True. Enables CPU to clear a specific [all …]
|
/freebsd-src/sys/dev/bhnd/bcma/ |
H A D | bcma_subr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 56 * Allocate and initialize new core config structure. 74 cfg->core_info = (struct bhnd_core_info) { in bcma_alloc_corecfg() 82 STAILQ_INIT(&cfg->master_ports); in bcma_alloc_corecfg() 83 cfg->num_master_ports = 0; in bcma_alloc_corecfg() 85 STAILQ_INIT(&cfg->dev_ports); in bcma_alloc_corecfg() 86 cfg->num_dev_ports = 0; in bcma_alloc_corecfg() 88 STAILQ_INIT(&cfg->bridge_ports); in bcma_alloc_corecfg() [all …]
|
/freebsd-src/sys/dev/gem/ |
H A D | if_gemreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 38 #define GEM_CONFIG 0x0004 /* config reg */ 40 /* Note: Reading the status reg clears bits 0-6. */ 69 * Bits 0-6 auto-clear when read. 73 #define GEM_INTR_TX_DONE 0x00000004 /* TX complete */ 78 #define GEM_INTR_PCS 0x00002000 /* Physical Code Sub-layer */ 100 #define GEM_PCI_ERR_STAT_DTRTO 0x00000002 /* Delayed xaction timeout */ 106 #define GEM_PCI_BIF_CNF_HOST_64 0x00000002 /* 64-bit host */ 107 #define GEM_PCI_BIF_CNF_B64D_DS 0x00000004 /* no 64-bit data cycle */ [all …]
|
/freebsd-src/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 …]
|
/freebsd-src/sys/dev/isci/scil/ |
H A D | scif_sas_domain.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 86 * @brief This method will attempt to handle an operation timeout (i.e. 90 * timeout occurred. 102 state = sci_base_state_machine_get_state(&fw_domain->parent.state_machine); in scif_sas_domain_operation_timeout_handler() 111 "Domain:0x%x State:0x%x DISCOVER timeout!\n", in scif_sas_domain_operation_timeout_handler() 115 fw_domain->operation.status = SCI_FAILURE_TIMEOUT; in scif_sas_domain_operation_timeout_handler() [all …]
|
/freebsd-src/contrib/tcsh/ |
H A D | complete.tcsh | 5 # /usr/share/doc/tcsh/examples/complete.gz 8 # decompressing it into the home directory as ~/.complete and 9 # then adding the line "source ~/.complete" and maybe defining 12 # Added two Debian-specific completions: dpkg and dpkg-deb (who 21 onintr - 43 setenv OSTYPE `echo "$HOSTTYPE" | sed -e 's/^(i[3456]86|(amd|x86_)64)-//'` 50 if ( -r "$f" ) then 52 -e 's/#.*//' \ 53 -e '/^[+-]@/d' \ 54 -e 's/^[-+]//' \ [all …]
|
/freebsd-src/contrib/sendmail/ |
H A D | RELEASE_NOTES | 13 - Prevent transaction stuffing by ensuring SMTP clients 19 - Accept only CRLF . CRLF as end of an SMTP message 22 - Do not accept a CR or LF except in the combination 31 are used, i.e., TLSA RR 2-x-y and 3-x-y are supported 71 CONFIG: FEATURE(`enhdnsbl') did not handle multiple replies 76 because the -a. option has been removed (as it only 78 CONFIG: New FEATURE(`fips3') for basic FIPS support in OpenSSL 3. 79 VACATION: Add support for Return-Path header to set sender 81 VACATION: Honor RFC3834 and avoid an auto-reply if 82 'Auto-Submitted: no' is found in the headers to [all …]
|
/freebsd-src/sys/dev/ppc/ |
H A D | ppc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1997-2000 Nicolas Souchu 5 * Copyright (c) 2001 Alcove - Nicolas Souchu 74 * We use critical enter/exit for the simple config locking needed to 76 * happen without someone else also writing to those config registers. Since 78 * and critical_enter() then is all that's needed to keep us fro [all...] |
/freebsd-src/contrib/ntp/sntp/libevent/include/event2/ |
H A D | event.h | 2 * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu> 3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson 38 timeout has been reached. Furthermore, Libevent also support callbacks due 58 header, and pass the -levent flag to the linker. (You can instead link 59 -levent_core if you only want the main event and buffered IO-based code, 66 multithreaded application, you need to initialize thread support -- 96 You can also use event_base_loop() for more fine-grained control. 139 @section evhttp Event-driven HTTP servers 141 Libevent provides a very simple event-driven HTTP server that can be 154 To browse the complete documentation of the libevent API, click on any of [all …]
|
/freebsd-src/contrib/libevent/include/event2/ |
H A D | event.h | 2 * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu> 3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson 38 timeout has been reached. Furthermore, Libevent also support callbacks due 58 header, and pass the -levent flag to the linker. (You can instead link 59 -levent_core if you only want the main event and buffered IO-based code, 66 multithreaded application, you need to initialize thread support -- 96 You can also use event_base_loop() for more fine-grained control. 139 @section evhttp Event-driven HTTP servers 141 Libevent provides a very simple event-driven HTTP server that can be 154 To browse the complete documentation of the libevent API, click on any of [all …]
|
/freebsd-src/sys/contrib/dev/athk/ath10k/ |
H A D | sdio.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2004-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2012,2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2016-2017 Erik Stromdahl <erik.stromdahl@gmail.com> 37 return __ALIGN_MASK((len), ar_sdio->mbox_info.block_mask); in ath10k_sdio_calc_txrx_padded_len() 47 dev_kfree_skb(pkt->skb); in ath10k_sdio_mbox_free_rx_pkt() 48 pkt->skb = NULL; in ath10k_sdio_mbox_free_rx_pkt() 49 pkt->alloc_len = 0; in ath10k_sdio_mbox_free_rx_pkt() 50 pkt->act_len = 0; in ath10k_sdio_mbox_free_rx_pkt() 51 pkt->trailer_only = false; in ath10k_sdio_mbox_free_rx_pkt() [all …]
|
/freebsd-src/sys/dev/mpr/ |
H A D | mpr_sas.c | 1 /*- 3 * Copyright (c) 2011-2015 LSI Corp. 4 * Copyright (c) 2013-2016 Avago Technologies 5 * Copyright 2000-2020 Broadcom Inc. 29 * Broadcom Inc. (LSI) MPT-Fusion Host Adapter FreeBSD 147 for (i = start; i < sassc->maxtargets; i++) { in mprsas_find_target_by_handle() 148 target = &sassc->targets[i]; in mprsas_find_target_by_handle() 149 if (target->handle == handle) in mprsas_find_target_by_handle() 158 * discovery involves reading config pages and possibly sending commands, 166 MPR_FUNCTRACE(sassc->sc); in mprsas_startup_increment() [all …]
|