| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2500usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 36 * Default offset is required for RSSI <-> dBm conversion. 238 * ACK_TIMEOUT: ACK Timeout in unit of 1-us. 248 * TXRX_CSR2: RX control. 249 * DISABLE_RX: Disable rx engine. 271 * RX BBP ID registers 272 * TXRX_CSR3: CCK RX BBP ID. 273 * TXRX_CSR4: OFDM RX BBP ID. 315 * TXRX_CSR9: TX ACK time-out. [all …]
|
| H A D | rt73usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 27 * Default offset is required for RSSI <-> dBm conversion. 76 * 16 entries 32-byte for shared key table 77 * 64 entries 32-byte for pairwise key table 78 * 64 entries 8-byte for pairwise ta key table 113 * On-chip BEACON frame space. 159 * to determine the UNICAST_TO_ME bit for RX frames. 182 * when determining the MY_BSS of RX frames. 183 * 0: 1-BSSID mode (BSS index = 0) [all …]
|
| H A D | rt61pci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 34 * Default offset is required for RSSI <-> dBm conversion. 121 * 16 entries 32-byte for shared key table 122 * 64 entries 32-byte for pairwise key table 123 * 64 entries 8-byte for pairwise ta key table 152 * Other on-chip shared memory space. 164 * On-chip BEACON frame space. 175 * HOST-MCU shared memory. 179 * H2M_MAILBOX_CSR: Host-to-MCU Mailbox. [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_resc.c | 1 // SPDX-License-Identifier: GPL-2.0 17 u16 tcs = bd->num_tc; in bnge_num_tx_to_cp() 27 struct bnge_hw_resc *hw_resc = &bd->hw_resc; in bnge_get_max_func_irqs() 29 return min_t(u16, hw_resc->max_irqs, hw_resc->max_nqs); in bnge_get_max_func_irqs() 34 return bd->hw_resc.max_stat_ctxs; in bnge_get_max_func_stat_ctxs() 43 bd->nq_nr_rings == max_stat_ctxs) in bnge_aux_has_enough_resources() 51 return bd->hw_resc.max_cp_rings; in bnge_get_max_func_cp_rings() 64 return bd->aux_num_msix; in bnge_aux_get_msix() 72 bd->aux_num_msix = num; in bnge_aux_set_msix_num() 78 return bd->aux_num_stat_ctxs; in bnge_aux_get_stat_ctxs() [all …]
|
| /linux/Documentation/virt/kvm/ |
| H A D | ppc-pv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 35 'hypercall-instructions'. This property contains at most 4 opcodes that make 43 r0 - volatile 53 r12 - volatile 56 Hypercall definitions are shared in generic code, so the same hypercall numbers 73 To enable communication between the hypervisor and guest there is a new shared 75 map this shared page using the KVM hypercall KVM_HC_PPC_MAP_MAGIC_PAGE. 80 applicable to the target. For now, we always map the page to -4096. This way we 84 ld rX, -4096(0) 133 - MSR_EE [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | ice.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2018-2021 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Important Notes 16 - Additional Features & Configurations 17 - Performance Optimization 28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that 43 ------------------------------------------- 54 1) Make sure that your system's physical memory is in a high-performance [all …]
|
| /linux/Documentation/networking/ |
| H A D | pktgen.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Enable CONFIG_NET_PKTGEN to compile and build pktgen either in-kernel 31 overload type of benchmarking, as this could hurt the normal use-case. 35 # ethtool -G ethX tx 1024 44 ring-buffers for various performance reasons, and packets stalling 48 (Intel 82599 chip). This driver (ixgbe) combines TX+RX ring cleanups, 49 and the cleanup interval is affected by the ethtool --coalesce setting 50 of parameter "rx-usecs". 54 # ethtool -C ethX rx-usecs 30 72 * add_device DEVICE@NAME -- adds a single device [all …]
|
| H A D | af_xdp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 XDP programs to redirect frames to a memory buffer in a user-space 24 syscall. Associated with each XSK are two rings: the RX ring and the 25 TX ring. A socket can receive packets on the RX ring and it can send 28 to have at least one of these rings for each socket. An RX or TX 30 UMEM. RX and TX can share the same UMEM so that a packet does not have 31 to be copied between RX and TX. Moreover, if a packet needs to be kept 44 to fill in with RX packet data. References to these frames will then 45 appear in the RX ring once each packet has been received. The 48 space, for either TX or RX. Thus, the frame addrs appearing in the [all …]
|
| H A D | mac80211-auth-assoc-deauth.txt | 14 userspace->mac80211: authenticate 17 mac80211->driver: sta_state(AP, not-exists) 18 mac80211->driver: bss_info_changed(clear BSSID) 26 mac80211->driver: config(channel, channel type) 27 mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) 28 mac80211->driver: sta_state(AP, exists) 31 mac80211->driver: TX directed probe request 32 driver->mac80211: RX probe response 35 mac80211->driver: TX auth frame 36 driver->mac80211: RX auth frame [all …]
|
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 bool "DEC - Tulip devices" 70 bool "Use PCI shared mem for NIC registers" 73 Use PCI shared memory for the NIC registers, rather than going through 79 bool "Use RX polling (NAPI)" 86 If your estimated Rx load is 10kpps or more, or if the card will be 96 Use HW to reduce RX interrupts. Not strictly necessary since NAPI 97 reduces RX interrupts by itself. Interrupt mitigation reduces RX 114 the TX9882 chip on the Compex RL100-ATX board. 147 It should work with most DEC 21*4*-based chips/ethercards, as well [all …]
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | cmdq.rs | 1 // SPDX-License-Identifier: GPL-2.0 70 /// Some commands may be followed by a variable-length payload. For these, the 87 /// In-place command initializer responsible for filling the command in the command queue 89 fn init(&self) -> impl Init<Self::Command, Self::InitError>; in init() 91 /// Size of the variable-length payload following the command structure generated by 94 /// Most commands don't have a variable-length payload, so this is zero by default. 95 fn variable_payload_len(&self) -> usize { in variable_payload_len() 99 /// Method initializing the variable-length payload. 102 /// while in the middle of a command. For this reason, the variable-length payload is 109 /// Most commands don't have a variable-length payload, so this does nothing by default. [all …]
|
| /linux/Documentation/devicetree/bindings/mailbox/ |
| H A D | brcm,bcm74110-mbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/brcm,bcm74110-mbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Justin Chen <justin.chen@broadcom.com> 11 - Florian Fainelli <florian.fainelli@broadcom.com> 18 - brcm,bcm74110-mbox 25 - description: RX doorbell and watermark interrupts 26 - description: TX doorbell and watermark interrupts 28 "#mbox-cells": [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | dra72-evm-revc.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 5 #include "dra72-evm-common.dtsi" 6 #include "dra72x-mmc-iodelay.dtsi" 7 #include <dt-bindings/net/ti-dp83867.h> 17 reserved-memory { 18 #address-cells = <2>; 19 #size-cells = <2>; 23 compatible = "shared-dma-pool"; 30 compatible = "shared-dma-pool"; [all …]
|
| /linux/drivers/net/ethernet/toshiba/ |
| H A D | ps3_gelic_net.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 64 /* RX descriptor data_status bits */ 93 /* RX descriptor data error bits */ 114 /* DMA command and status (RX and TX)*/ 117 GELIC_DESCR_DMA_BUFFER_FULL = 0x00000000, /* used in rx */ 118 GELIC_DESCR_DMA_RESPONSE_ERROR = 0x10000000, /* used in rx, tx */ 119 GELIC_DESCR_DMA_PROTECTION_ERROR = 0x20000000, /* used in rx, tx */ 120 GELIC_DESCR_DMA_FRAME_END = 0x40000000, /* used in rx */ 121 GELIC_DESCR_DMA_FORCE_END = 0x50000000, /* used in rx, tx */ 122 GELIC_DESCR_DMA_CARDOWNED = 0xa0000000, /* used in rx, tx */ [all …]
|
| /linux/drivers/net/ethernet/3com/ |
| H A D | typhoon.c | 3 Written 2002-2004 by David Dillow <dave@thedillows.org> 4 Based on code written 1998-2000 by Donald Becker <becker@scyld.com> and 21 number Y1-LM-2015-01. 27 *) Cannot DMA Rx packets to a 2 byte aligned address. Also firmware 29 *) Waiting for a command response takes 8ms due to non-preemptable 36 *) Allow disabling of RX checksum offloading 40 *) Add in FCS to {rx,tx}_bytes, since the hardware doesn't. See 41 http://oss.sgi.com/cgi-bin/mesg.cgi?a=netdev&i=20031215152211.7003fe8e.rddunlap%40osdl.org 44 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 56 /* end user-configurable values */ [all …]
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mv643xx_eth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Copyright (C) 2003 PMC-Sierra, Inc., 13 * Copyright (C) 2003 Ralf Baechle <ralf@linux-mips.org> 15 * Copyright (C) 2004-2006 MontaVista Software, Inc. 21 * Copyright (C) 2007-2008 Marvell Semiconductor 30 #include <linux/dma-mapping.h> 61 * Registers shared between all ports. 71 * Main per-port registers. These live at offset 0x0400 for 142 * Misc per-port registers. 173 #define SKB_DMA_REALIGN ((PAGE_SIZE - NET_SKB_PAD) % SMP_CACHE_BYTES) [all …]
|
| /linux/include/linux/ |
| H A D | mv643xx_eth.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * MV-643XX ethernet platform device data definition file. 41 struct platform_device *shared; member 66 * How many RX/TX queues to use. 72 * Override default RX/TX queue sizes if nonzero. 78 * Use on-chip SRAM for RX/TX descriptors if size is nonzero
|
| /linux/Documentation/devicetree/bindings/firmware/ |
| H A D | nvidia,tegra186-bpmp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/nvidia,tegra186-bpmp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 25 - .../mailbox/mailbox.txt 26 - .../mailbox/nvidia,tegra186-hsp.yaml 32 - .../clock/clock-bindings.txt 33 - <dt-bindings/clock/tegra186-clock.h> [all …]
|
| /linux/drivers/net/phy/ |
| H A D | micrel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2010-2013 Micrel, Inc. 139 * The value is calculated as following: (1/1000000)/((2^-32)/4) 145 * The value is calculated as following: (1/1000000)/((2^-32)/8) 407 /* Shared structure between the PHYs of the same package. */ 433 /* Lock for Rx ts fifo */ 574 const struct kszphy_type *type = phydev->drv->driver_data; in kszphy_config_intr() 578 if (type && type->interrupt_level_mask) in kszphy_config_intr() 579 mask = type->interrupt_level_mask; in kszphy_config_intr() 591 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in kszphy_config_intr() [all …]
|
| /linux/Documentation/devicetree/bindings/dma/ |
| H A D | k3dma.txt | 6 - compatible: Must be one of 7 - "hisilicon,k3-dma-1.0" 8 - "hisilicon,hisi-pcm-asp-dma-1.0" 9 - reg: Should contain DMA registers location and length. 10 - interrupts: Should contain one interrupt shared by all channel 11 - #dma-cells: see dma.txt, should be 1, para number 12 - dma-channels: physical channels supported 13 - dma-requests: virtual channels supported, each virtual channel 15 - clocks: clock required 21 compatible = "hisilicon,k3-dma-1.0"; [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| H A D | ipoib_vlan.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 56 return -ENOMEM; in mlx5i_pkey_qpn_ht_init() 58 ipriv->qpn_htbl = qpn_htbl; in mlx5i_pkey_qpn_ht_init() 59 spin_lock_init(&qpn_htbl->ht_lock); in mlx5i_pkey_qpn_ht_init() 68 kfree(ipriv->qpn_htbl); in mlx5i_pkey_qpn_ht_cleanup() 78 if (node->underlay_qpn == qpn) in mlx5i_find_qpn_to_netdev_node() 88 struct mlx5i_pkey_qpn_ht *ht = ipriv->qpn_htbl; in mlx5i_pkey_add_qpn() 94 return -ENOMEM; in mlx5i_pkey_add_qpn() 96 new_node->netdev = netdev; in mlx5i_pkey_add_qpn() [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| H A D | switch-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 [dpaa2-eth] [dpaa2-eth] [ dpaa2-switch ] 30 | ---------- | [DPMAC] [DPMAC] 31 ------------------------------- | | 38 The dpaa2-switch driver probes on DPSW devices found on the fsl-mc bus. These 40 file - DataPath Layout (DPL) - or at runtime using the DPAA2 object APIs 43 At the moment, the dpaa2-switch driver imposes the following restrictions on 64 control interface, the driver is not capable to provide proper Rx/Tx traffic 70 Besides the configuration of the actual DPSW object, the dpaa2-switch driver 73 * 1 DPMCP - A Management Command Portal object is needed for any interaction [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | sc16is7xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SC16IS7xx tty serial driver - common code 41 #define SC16IS7XX_RHR_REG (0x00) /* RX FIFO */ 52 #define SC16IS7XX_RXLVL_REG (0x09) /* RX FIFO level */ 53 #define SC16IS7XX_IODIR_REG (0x0a) /* I/O Direction - only on 75x/76x */ 54 #define SC16IS7XX_IOSTATE_REG (0x0b) /* I/O State - only on 75x/76x */ 55 #define SC16IS7XX_IOINTENA_REG (0x0c) /* I/O Interrupt Enable - only on 75x/76x */ 56 #define SC16IS7XX_IOCONTROL_REG (0x0e) /* I/O Control - only on 75x/76x */ 75 #define SC16IS7XX_IER_RDI_BIT BIT(0) /* Enable RX data interrupt */ 77 #define SC16IS7XX_IER_RLSI_BIT BIT(2) /* Enable RX line status interrupt */ [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | mediatek,xsphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek XS-PHY Controller 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 The XS-PHY controller supports physical layer functionality for USB3.1 18 ---------------------------------- 41 DIG_GLB & PHYA_GLB are shared by U31 ports. 45 pattern: "^xs-phy@[0-9a-f]+$" 49 - enum: [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | ce.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 32 * These definitions may be used during configuration and are shared 36 * "coming IN over air through Target to Host" as with a WiFi Rx operation. 38 * as with a WiFi Tx operation. This is somewhat awkward for the "middle-man" 43 #define PIPEDIR_IN 1 /* Target-->Host, WiFi Rx direction */ 44 #define PIPEDIR_OUT 2 /* Host->Target, WiFi Tx direction */ 82 * NOTE: Structure is shared between Host software and Target firmware! 108 /* #entries in source ring - Must be a power of 2 */ 117 /* #entries in destination ring - Must be a power of 2 */ [all …]
|