/linux/drivers/atm/ |
H A D | suni.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * drivers/atm/suni.h - S/UNI PHY driver 6 /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ 26 /* 0x08-0x0F reserved */ 29 #define SUNI_RSOP_SBL 0x12 /* RSOP Section BIP-8 LSB */ 30 #define SUNI_RSOP_SBM 0x13 /* RSOP Section BIP-8 MSB */ 33 /* 0x16-0x17 reserved */ 36 #define SUNI_RLOP_LBL 0x1A /* RLOP Line BIP-8/24 LSB */ 37 #define SUNI_RLOP_LB 0x1B /* RLOP Line BIP-8/24 */ 38 #define SUNI_RLOP_LBM 0x1C /* RLOP Line BIP-8/24 MSB */ [all …]
|
H A D | iphase.h | 10 of the GNU General Public License (GPL), incorporated herein by reference. 15 WITHOUT ANY WARRANTY; without even the implied warranty of 21 supports a variety of varients of Interphase ATM PCI (i)Chip adapter 23 in terms of PHY type, the size of control memory and the size of 29 Complete the ABR logic of the driver, and added the ABR work- 32 Add the flow control logic to the driver to allow rate-limit VC. 34 Add the support of all the variants of the Interphase ATM PCI 127 #define ATM_DESC(skb) (skb->protocol) 128 #define IA_SKB_STATE(skb) (skb->protocol) 157 #define NR_VCI 1024 /* number of VCIs */ [all …]
|
H A D | idt77105.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* drivers/atm/idt77105.c - IDT77105 (PHY) driver */ 36 struct atm_dev *dev; /* device back-pointer */ 39 unsigned char old_mcr; /* storage of MCR reg while signal lost */ 44 #define PRIV(dev) ((struct idt77105_priv *) dev->phy_data) 46 #define PUT(val,reg) dev->ops->phy_put(dev,val,IDT77105_##reg) 47 #define GET(reg) dev->ops->phy_get(dev,IDT77105_##reg) 59 * Retrieve the value of one of the IDT77105's counters. 60 * `counter' is one of the IDT77105_CTRSEL_* constants. 81 * a separate copy of the stats allows implementation of [all …]
|
/linux/tools/testing/selftests/net/rds/ |
H A D | test.py | 2 # SPDX-License-Identifier: GPL-2.0 10 import signal 35 # of the TCP transport. 72 parser.add_argument("-d", "--logdir", action="store", 74 parser.add_argument('--timeout', help="timeout to terminate hung test", 76 parser.add_argument('-l', '--loss', help="Simulate tcp packet loss", 78 parser.add_argument('-c', '--corruption', help="Simulate tcp packet corruption", 80 parser.add_argument('-u', '--duplicate', help="Simulate tcp packet duplication", 84 packet_loss=str(args.loss)+'%' 108 ip(f"-n {net0} addr add {addrs[0][0]}/32 dev {veth0}") [all …]
|
/linux/tools/testing/selftests/proc/ |
H A D | proc-tid0.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 19 #include <signal.h> 26 static pid_t pid = -1; 62 signal(SIGALRM, sigalrm); in main() 69 if (strcmp(de->d_name, "0") == 0) { in main()
|
H A D | setns-dcache.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 26 #include <signal.h> 36 static pid_t pid = -1; 54 if (unshare(CLONE_NEWNET) == -1) { in main() 61 if (socket(AF_UNIX, SOCK_STREAM, 0) == -1) { in main() 65 if (pipe(fd) == -1) { in main() 70 if (pid == -1) { in main() [all …]
|
H A D | setns-sysvipc.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 25 #include <signal.h> 35 static pid_t pid = -1; 53 if (unshare(CLONE_NEWIPC) == -1) { in main() 60 if (shmget(IPC_PRIVATE, 1, IPC_CREAT) == -1) { in main() 64 if (pipe(fd) == -1) { in main() 69 if (pid == -1) { in main() [all …]
|
/linux/net/ipv4/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 of the Internet which carries audio and video broadcasts. More 40 so-called IP spoofing, however it can pose problems if you use 42 than packets from that host to you) or if you operate a non-routing 52 <file:Documentation/networking/ip-sysctl.rst>. 60 Keep track of statistics on structure of FIB TRIE table. 71 address into account. Furthermore, the TOS (Type-Of-Service) field 72 of the packet can be used for routing decisions as well. 88 for those packets. The router considers all these paths to be of 89 equal "cost" and chooses one of them in a non-deterministic fashion [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | ti,dp83822.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The DP83822 is a low-power, single-port, 10/100 Mbps Ethernet PHY. It 15 provides all of the physical layer functions needed to transmit and receive 16 data over standard, twisted-pair cables or to connect to an external, 17 fiber-optic transceiver. Additionally, the DP83822 provides flexibility to 24 - $ref: ethernet-phy.yaml# 30 ti,link-loss-low: [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | ani.h | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 40 * enum ath5k_ani_mode - mode for ANI / noise sensitivity 49 * amount of OFDM and CCK frame errors (default). 60 * struct ath5k_ani_state - ANI state and associated counters 61 * @ani_mode: One of enum ath5k_ani_mode 65 * @ofdm_weak_sig: OFDM weak signal detection state (on/off) 66 * @cck_weak_sig: CCK weak signal detection state (on/off) [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-event.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 include start of frame or loss of signal events, for example. Changes in 12 the value or state of a V4L2 control can also be reported through 18 an event is subscribed, the events of subscribed types are dequeueable 36 This means that flooding of one event type will not interfere with 42 3. Where applicable, certain event types can ensure that the payload of 44 payload of the next oldest event. Thus ensuring that no information
|
H A D | vidioc-dqevent.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_DQEVENT - Dequeue event 35 ioctl. All the fields of the struct :c:type:`v4l2_event` 45 .. flat-table:: struct v4l2_event 46 :header-rows: 0 47 :stub-columns: 0 50 * - __u32 51 - ``type`` 52 - Type of the event, see :ref:`event-type`. 53 * - union { [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | e500v1_power_isa.dtsi | 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer in the 13 * * Neither the name of Freescale Semiconductor nor the 14 * names of its contributors may be used to endorse or promote products 18 * ALTERNATIVELY, this software may be distributed under the terms of the 20 * Foundation, either version 2 of that License or (at your option) any 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND [all …]
|
H A D | e500v2_power_isa.dtsi | 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer in the 13 * * Neither the name of Freescale Semiconductor nor the 14 * names of its contributors may be used to endorse or promote products 18 * ALTERNATIVELY, this software may be distributed under the terms of the 20 * Foundation, either version 2 of that License or (at your option) any 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND [all …]
|
/linux/include/uapi/scsi/fc/ |
H A D | fc_els.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Maintained at www.Open-FCoE.org 15 * Fibre Channel Switch - Enhanced Link Services definitions. 16 * From T11 FC-LS Rev 1.2 June 7, 2005. 20 * ELS Command codes - byte 0 of the frame payload 28 ELS_ABTX = 0x06, /* Abort exchange - obsolete */ 56 ELS_NACT = 0x33, /* N-port activate alias_id */ 57 ELS_NDACT = 0x34, /* N-port deactivate alias_id */ 58 ELS_QOSR = 0x40, /* quality of service request */ 72 ELS_RNFT = 0x63, /* report node FC-4 types */ [all …]
|
/linux/drivers/gpu/drm/amd/include/ivsrcid/dcn/ |
H A D | irqsrcs_dcn_1_0.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 8 * and/or sell copies of the Software, and to permit persons to whom the 12 * all copies or substantial portions of the Software. 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 192 #define DCN_1_0__SRCID__DC_DAC_A_AUTO_DET 0xA // DAC A auto - detection DACA_AUTODETECT_GEN… 309 #define DCN_1_0__SRCID__DC_DIGA_FAST_TRAINING_COMPLETE_INT 0xF // DIGA - Fast Training Complete… [all …]
|
/linux/tools/testing/selftests/x86/ |
H A D | nx_stack.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * Test that userspace stack is NX. Requires linking with -Wl,-z,noexecstack 20 * Fill the stack with INT3's and then try to execute some of them: 21 * SIGSEGV -- good, SIGTRAP -- bad. 30 #include <signal.h> 41 * This is memset(rsp, 0xcc, -1); but down. 42 * It will SIGSEGV when bottom of the stack is reached. [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | dmx-qbuf.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 DMX_QBUF - DMX_DQBUF - Exchange a buffer with the driver 45 numbers range from zero to the number of buffers allocated with 47 one. The contents of the struct :c:type:`dmx_buffer` returned 51 memory pages of the buffer in physical memory, so they cannot be swapped 72 On success 0 is returned, on error -1 and the ``errno`` variable is set 74 :ref:`Generic Error Codes <gen-errors>` chapter. 77 Non-blocking I/O has been selected using ``O_NONBLOCK`` and no 81 The ``index`` is out of bounds, or no buffers have been allocated yet. 85 temporary problems like signal loss or CRC errors.
|
/linux/drivers/net/ethernet/ti/ |
H A D | netcp_xgbepcsr.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * WingMan Kwok <w-kwok2@ti.com> 17 /* PCS-R registers */ 25 /* bit mask of width w at offset s */ 26 #define MASK_WID_SH(w, s) (((1 << w) - 1) << s) 219 ret = -ETIMEDOUT; in netcp_xgbe_wait_pll_locked() 258 /* For 2 lane Phy-B, lane0 is actually lane1 */ in netcp_xgbe_serdes_write_tbus_addr() 314 int loss, i, status = 1; in netcp_xgbe_check_link_status() local 317 /* Get the Loss bit */ in netcp_xgbe_check_link_status() 318 loss = readl(serdes_regs + 0x1fc0 + 0x20 + (i * 0x04)) & 0x1; in netcp_xgbe_check_link_status() [all …]
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_defs_cna.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Linux network driver for QLogic BR-series Converged Network Adapter. 6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 7 * Copyright (c) 2014-2015 QLogic Corporation 41 u64 loss_of_syncs; /*!< Loss of sync count */ 42 u64 loss_of_signals; /*!< Loss of signal count */ 47 u64 bbsc_frames_lost; /*!< Credit Recovery-Frames Lost */ 48 u64 bbsc_credits_lost; /*!< Credit Recovery-Credits Lost */ 49 u64 bbsc_link_resets; /*!< Credit Recovery-Link Resets */ 56 u64 frame_65_127; /*!< Frames 65-127 bytes */ [all …]
|
/linux/include/uapi/linux/ |
H A D | virtio_ids.h | 12 * 1. Redistributions of source code must retain the above copyright 13 * notice, this list of conditions and the following disclaimer. 15 * notice, this list of conditions and the following disclaimer in the 17 * 3. Neither the name of IBM nor the names of its contributors 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 50 #define VIRTIO_ID_SIGNAL_DIST 21 /* virtio signal distribution device */ [all …]
|
/linux/drivers/soc/fsl/qbman/ |
H A D | dpaa_sys.h | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 5 * * Redistributions of source code must retain the above copyright 6 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer in the 10 * * Neither the name of Freescale Semiconductor nor the 11 * names of its contributors may be used to endorse or promote products 14 * ALTERNATIVELY, this software may be distributed under the terms of the 16 * Foundation, either version 2 of that License or (at your option) any 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | rate.h | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 42 /* phy ctl byte 3, code rate, modulation type, # of streams */ 49 #define MCS_TABLE_SIZE 33 /* Number of mcs entries in the table */ 52 #define MCS_TXS_MASK 0xc0 /* num tx streams - 1 bit mask */ 53 #define MCS_TXS_SHIFT 6 /* num tx streams - 1 bit shift */ 55 /* returns num tx streams - 1 */ 207 static inline u8 cck_phy2mac_rate(u8 signal) in cck_phy2mac_rate() argument [all …]
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_defs_svc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 38 u16 num_fabrics; /* number of fabrics */ 39 u16 num_lports; /* number of local lports */ 40 u16 num_rports; /* number of remote ports */ 41 u16 num_ioim_reqs; /* number of IO reqs */ 43 u16 num_fwtio_reqs; /* number of TM IO reqs in FW */ 53 u16 num_reqq_elems; /* number of req queue elements */ [all …]
|
/linux/include/net/ |
H A D | nl802154.h | 13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 90 NL802154_CMD_MAX = __NL802154_CMD_AFTER_LAST - 1 172 NL802154_ATTR_MAX = __NL802154_ATTR_AFTER_LAST - 1 184 NL802154_IFTYPE_MAX = NUM_NL802154_IFTYPES - 1 188 * enum nl802154_wpan_phy_capability_attr - wpan phy capability attributes 198 * @NL802154_CAP_ATTR_MIN_MINBE: minimum of minbe value 199 * @NL802154_CAP_ATTR_MAX_MINBE: maximum of minbe value [all …]
|