| /linux/drivers/net/ethernet/intel/ice/ | 
| H A D | ice_arfs.c | 1 // SPDX-License-Identifier: GPL-2.02 /* Copyright (C) 2018-2020, Intel Corporation. */
 8  * ice_is_arfs_active - helper to check is aRFS is active
 13 	return !!vsi->arfs_fltr_list;  in ice_is_arfs_active()
 17  * ice_is_arfs_using_perfect_flow - check if aRFS has active perfect filters
 22  * the specified flow_type for perfect (4-tuple) filters.
 28 	struct ice_pf *pf = hw->back;  in ice_is_arfs_using_perfect_flow()
 35 	arfs_fltr_cntrs = vsi->arfs_fltr_cntrs;  in ice_is_arfs_using_perfect_flow()
 41 		return atomic_read(&arfs_fltr_cntrs->active_udpv4_cnt) > 0;  in ice_is_arfs_using_perfect_flow()
 43 		return atomic_read(&arfs_fltr_cntrs->active_udpv6_cnt) > 0;  in ice_is_arfs_using_perfect_flow()
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/net/ | 
| H A D | sophgo,cv1800b-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/net/sophgo,cv1800b-dwmac.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Inochi Amaoto <inochiama@gmail.com>
 17           - sophgo,cv1800b-dwmac
 19     - compatible
 24       - const: sophgo,cv1800b-dwmac
 25       - const: snps,dwmac-3.70a
 32       - description: GMAC main clock
 [all …]
 
 | 
| H A D | sophgo,sg2044-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/net/sophgo,sg2044-dwmac.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Inochi Amaoto <inochiama@gmail.com>
 17           - sophgo,sg2044-dwmac
 18           - sophgo,sg2042-dwmac
 20     - compatible
 25       - items:
 26           - const: sophgo,sg2042-dwmac
 [all …]
 
 | 
| H A D | starfive,jh7110-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)4 ---
 5 $id: http://devicetree.org/schemas/net/starfive,jh7110-dwmac.yaml#
 6 $schema: http://devicetree.org/meta-schemas/core.yaml#
 11   - Emil Renner Berthing <kernel@esmil.dk>
 12   - Samin Guo <samin.guo@starfivetech.com>
 19           - starfive,jh7100-dwmac
 20           - starfive,jh7110-dwmac
 22     - compatible
 27       - items:
 [all …]
 
 | 
| H A D | intel,dwmac-plat.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/net/intel,dwmac-plat.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Vineetha G. Jaya Kumaran <vineetha.g.jaya.kumaran@intel.com>
 17           - intel,keembay-dwmac
 19     - compatible
 22   - $ref: snps,dwmac.yaml#
 27       - items:
 28           - enum:
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/renesas/ | 
| H A D | r9a06g032.dtsi | 1 // SPDX-License-Identifier: GPL-2.09 #include <dt-bindings/interrupt-controller/arm-gic.h>
 10 #include <dt-bindings/clock/r9a06g032-sysctrl.h>
 14 	#address-cells = <1>;
 15 	#size-cells = <1>;
 18 		#address-cells = <1>;
 19 		#size-cells = <0>;
 23 			compatible = "arm,cortex-a7";
 30 			compatible = "arm,cortex-a7";
 33 			enable-method = "renesas,r9a06g032-smp";
 [all …]
 
 | 
| /linux/kernel/dma/ | 
| H A D | debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only8 #define pr_fmt(fmt)	"DMA-API: " fmt
 12 #include <linux/dma-map-ops.h>
 32 #define HASH_FN_MASK    (HASH_SIZE - 1)
 35 /* If the pool runs out, add this many new entries at once */
 55  * struct dma_debug_entry - track a dma_map* or dma_alloc_coherent mapping
 56  * @list: node on pre-allocated free_entries list
 66  * @stack_len: number of backtrace entries in @stack_entries
 95 /* List of pre-allocated dma_debug_entry's */
 100 /* Global disable flag - will be set in case of an error */
 [all …]
 
 | 
| /linux/include/uapi/linux/ | 
| H A D | virtio_net.h | 59 #define VIRTIO_NET_F_DEVICE_STATS 50	/* Device can provide device-level statistics. */74 					      * GSO-over-UDP-tunnel packets
 77 						   * GSO-over-UDP-tunnel
 82 					     * GSO-over-UDP-tunnel packets
 85 						  * GSO-over-UDP-tunnel
 132 	 * 0x00 - half duplex
 133 	 * 0x01 - full duplex
 139 	/* maximum number of indirection table entries */
 146  * This header comes first in the scatter-gather list.  If you don't
 149  * This is bitwise-equivalent to the legacy struct virtio_net_hdr_mrg_rxbuf,
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/intel/socfpga/ | 
| H A D | socfpga.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+6 #include <dt-bindings/reset/altr,rst-mgr.h>
 9 	#address-cells = <1>;
 10 	#size-cells = <1>;
 22 		#address-cells = <1>;
 23 		#size-cells = <0>;
 24 		enable-method = "altr,socfpga-smp";
 27 			compatible = "arm,cortex-a9";
 30 			next-level-cache = <&L2>;
 33 			compatible = "arm,cortex-a9";
 [all …]
 
 | 
| /linux/arch/riscv/boot/dts/sophgo/ | 
| H A D | cv180x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)7 #include <dt-bindings/clock/sophgo,cv1800.h>
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/interrupt-controller/irq.h>
 10 #include "cv18xx-reset.h"
 13 	#address-cells = <1>;
 14 	#size-cells = <1>;
 17 		compatible = "fixed-clock";
 18 		clock-output-names = "osc_25m";
 19 		#clock-cells = <0>;
 [all …]
 
 | 
| H A D | sg2044.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)6 #include <dt-bindings/clock/sophgo,sg2044-pll.h>
 7 #include <dt-bindings/clock/sophgo,sg2044-clk.h>
 8 #include <dt-bindings/interrupt-controller/irq.h>
 9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/pinctrl/pinctrl-sg2044.h>
 12 #include "sg2044-cpus.dtsi"
 13 #include "sg2044-reset.h"
 24 		compatible = "fixed-clock";
 25 		clock-output-names = "osc";
 [all …]
 
 | 
| /linux/drivers/net/ethernet/adaptec/ | 
| H A D | starfire.c | 3 	Written 1998-2000 by Donald Becker.25 	[link no longer provides useful info -jgarzik]
 56  * If using the broken firmware, data must be padded to the next 32-bit boundary.
 63  * Define this if using the driver with the zero-copy patch
 71 /* The user-configurable values.
 81 /* Maximum number of multicast addresses to filter (vs. rx-all-multicast).
 89  * Set the copy breakpoint for the copy-only-tiny-frames scheme.
 95  * packets as the starfire doesn't allow for misaligned DMAs ;-(
 96  * 23/10/2000 - Jes
 100  * penalty. -Ion
 [all …]
 
 | 
| /linux/drivers/net/ethernet/stmicro/stmmac/ | 
| H A D | stmmac_selftests.c | 1 // SPDX-License-Identifier: GPL-2.070 	size = attr->size + STMMAC_TEST_PKT_SIZE;  in stmmac_test_get_udp_skb()
 71 	if (attr->vlan) {  in stmmac_test_get_udp_skb()
 73 		if (attr->vlan > 1)  in stmmac_test_get_udp_skb()
 77 	if (attr->tcp)  in stmmac_test_get_udp_skb()
 82 	if (attr->max_size && (attr->max_size > size))  in stmmac_test_get_udp_skb()
 83 		size = attr->max_size;  in stmmac_test_get_udp_skb()
 85 	skb = netdev_alloc_skb(priv->dev, size);  in stmmac_test_get_udp_skb()
 89 	prefetchw(skb->data);  in stmmac_test_get_udp_skb()
 91 	if (attr->vlan > 1)  in stmmac_test_get_udp_skb()
 [all …]
 
 | 
| /linux/drivers/net/fddi/ | 
| H A D | defxx.c | 40  *   Adapter Probe -45  *   Bus-Specific Initialization -
 49  *		initialization, the	only bus-specific differences is in how the
 51  *		run-time critical code behaves the same on both families.
 55  *   Driver Open/Close -
 67  *   Driver Shutdown -
 73  *		to ensure that the adapter DMA engine is taken off-line.  However,
 79  *   Interrupt Service Routine -
 88  *		have a bus-logic chip interrupt enable/disable as well as a DMA
 92  *		bus-logic chip and assumes that Linux will take care of clearing or
 [all …]
 
 | 
| /linux/drivers/net/ethernet/dec/tulip/ | 
| H A D | tulip.h | 5 	Written/copyright 1994-2001 by Donald Becker.57 	MC_HASH_ONLY		= 0x00020, /* Hash-only multicast filter. */
 234 	 * Top three bits of 14 bit frame length (status bits 27-29) should
 283 	csr6_ho = (1<<2),    /* Hash-only filtering mode: can't be set */
 284 	csr6_hp = (1<<0),    /* Hash/Perfect Receive Filtering Mode: can't be set */
 324    There are no ill effects from too-large receive rings. */
 337 #define TULIP_MIN_CACHE_LINE	8	/* in units of 32-bit words */
 340 /* The UltraSparc PCI controllers will disconnect at every 64-byte
 344 #define TULIP_MAX_CACHE_LINE	16	/* in units of 32-bit words */
 346 #define TULIP_MAX_CACHE_LINE	32	/* in units of 32-bit words */
 [all …]
 
 | 
| H A D | tulip_core.c | 1 /*	tulip_core.c: A DEC 21x4x-family ethernet driver for Linux.4 	Written/copyright 1994-2001 by Donald Becker.
 33 /* A few user-configurable values. */
 39 /* Used to pass the full-duplex flag, etc. */
 47 	"10baseT-FDX", "100baseTx-FDX", "100baseT4", "100baseFx",
 48 	"100baseFx-FDX", "MII 10baseT", "MII 10baseT-FDX", "MII",
 49 	"10baseT(forced)", "MII 100baseTx", "MII 100baseTx-FDX", "MII 100baseT4",
 50 	"MII 100baseFx-HDX", "MII 100baseFx-FDX", "Home-PNA 1Mbps", "Invalid-19",
 54 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
 73 	ToDo: Non-Intel setting could be better.
 [all …]
 
 | 
| H A D | de2104x.c | 6 	Written/copyright 1994-2001 by Donald Becker.		    [tulip.c]22 	* Jumbo frames / dev->change_mtu
 58 static int debug = -1;
 62 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
 93 #define NEXT_TX(N)		(((N) + 1) & (DE_TX_RING_SIZE - 1))
 94 #define NEXT_RX(N)		(((N) + 1) & (DE_RX_RING_SIZE - 1))
 96 	(((CP)->tx_tail <= (CP)->tx_head) ?			\
 97 	  (CP)->tx_tail + (DE_TX_RING_SIZE - 1) - (CP)->tx_head :	\
 98 	  (CP)->tx_tail - (CP)->tx_head - 1)
 117 #define DE_MEDIA_LAST		(DE_MAX_MEDIA - 1)
 [all …]
 
 | 
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ | 
| H A D | commands.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */3  * Copyright (C) 2005-2014, 2023-2025 Intel Corporation
 7  * Please use iwl-xxxx-hw.h for hardware-related definitions.
 29 	/* Multi-Station support */
 93 	/* RF-KILL commands and notifications */
 138  *  - 4 standard TX queues
 139  *  - the command queue
 140  *  - 4 PAN TX queues
 141  *  - the PAN multicast queue, and
 142  *  - the AUX (TX during scan dwell) queue.
 [all …]
 
 | 
| /linux/drivers/net/wireless/intel/iwlegacy/ | 
| H A D | commands.h | 8  * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.29  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
 33  * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
 92 	/* Multi-Station support */
 138 	/* RF-KILL commands and notifications */
 184 	 * when sending the response to each driver-originated command, so
 196 	 *  0:7         tfd idx - position within TX queue
 199 	 *  14          huge - driver sets this to indicate command is in the
 201 	 *  15          unsolicited RX or uCode-originated notification
 212  * 1)  DSP gain (or sometimes called DSP attenuation).  This is a fine-grained
 [all …]
 
 | 
| /linux/drivers/net/ethernet/packetengines/ | 
| H A D | yellowfin.c | 1 /* yellowfin.c: A Packet Engines G-NIC ethernet driver for linux. */3 	Written 1997-2001 by Donald Becker.
 12 	This driver is for the Packet Engines G-NIC PCI Gigabit Ethernet adapter.
 22 	[link no longer provides useful info -jgarzik]
 32 /* The user-configurable values.
 40 /* System-wide count of bogus-rx frames. */
 44 #elif defined(YF_NEW)					/* A future perfect board :->.  */
 52 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
 61 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
 62 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
 [all …]
 
 | 
| /linux/drivers/net/ethernet/intel/ixgbe/ | 
| H A D | ixgbe_main.c | 1 // SPDX-License-Identifier: GPL-2.02 /* Copyright(c) 1999 - 2024 Intel Corporation. */
 66 				"Copyright (c) 1999-2016 Intel Corporation.";
 82 /* ixgbe_pci_tbl - PCI Device ID Table
 84  * Wildcard entries (PCI_ANY_ID) should come last
 162 …"Maximum number of virtual functions to allocate per physical function - default is zero and maxim…
 168 		 "Allow unsupported and untested SFP+ modules on 82599-based adapters");
 171 static int debug = -1;
 193 	return dev && (dev->netdev_ops == &ixgbe_netdev_ops);  in netif_is_ixgbe()
 202 	parent_bus = adapter->pdev->bus->parent;  in ixgbe_read_pci_cfg_word_parent()
 [all …]
 
 | 
| /linux/arch/x86/kvm/ | 
| H A D | x86.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Kernel-based Virtual Machine driver for Linux
 16  *   Ben-Ami Yassour <benami@il.ibm.com>
 48 #include <linux/user-return-notifier.h>
 107 	((struct kvm_vcpu *)(ctxt)->vcpu)
 110  * - enable syscall per default because its emulated by KVM
 111  * - enable LME and LMA per default on 64 bit KVM
 145 				*(((struct kvm_x86_ops *)0)->func));
 148 #include <asm/kvm-x86-ops.h>
 165 /* tsc tolerance in parts per million - default to 1/2 of the NTP threshold */
 [all …]
 
 | 
| /linux/fs/xfs/libxfs/ | 
| H A D | xfs_alloc.c | 1 // SPDX-License-Identifier: GPL-2.03  * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
 40  * Size of the AGFL.  For CRC-enabled filesystes we steal a couple of slots in
 48 	unsigned int		size = mp->m_sb.sb_sectsize;  in xfs_agfl_size()
 51 		size -= sizeof(struct xfs_agfl);  in xfs_agfl_size()
 90  * filesystem needs for the AGFLs.  The rmap btree uses a per-AG reservation to
 99  * In order to avoid ENOSPC-related deadlock caused by out-of-order locking of
 117 	return mp->m_sb.sb_agcount * (XFS_ALLOCBT_AGFL_RESERVE + 4);  in xfs_alloc_set_aside()
 123  * blocks in the AG - some are permanently used by metadata. These
 125  *	- the AG superblock, AGF, AGI and AGFL
 [all …]
 
 | 
| /linux/drivers/net/ethernet/synopsys/ | 
| H A D | dwc-xlgmac-hw.c | 5  * This program is dual-licensed; you may select either version 2 of26 #include "dwc-xlgmac.h"
 27 #include "dwc-xlgmac-reg.h"
 31 	return !XLGMAC_GET_REG_BITS_LE(dma_desc->desc3,  in xlgmac_tx_complete()
 40 	regval = readl(pdata->mac_regs + MAC_RCR);  in xlgmac_disable_rx_csum()
 43 	writel(regval, pdata->mac_regs + MAC_RCR);  in xlgmac_disable_rx_csum()
 52 	regval = readl(pdata->mac_regs + MAC_RCR);  in xlgmac_enable_rx_csum()
 55 	writel(regval, pdata->mac_regs + MAC_RCR);  in xlgmac_enable_rx_csum()
 68 	writel(mac_addr_hi, pdata->mac_regs + MAC_MACA0HR);  in xlgmac_set_mac_address()
 69 	writel(mac_addr_lo, pdata->mac_regs + MAC_MACA0LR);  in xlgmac_set_mac_address()
 [all …]
 
 | 
| /linux/drivers/scsi/aic7xxx/ | 
| H A D | aic79xx_core.c | 4  * Copyright (c) 1994-2002 Justin T. Gibbs.5  * Copyright (c) 2000-2003 Adaptec Inc.
 19  * 3. Neither the names of the above-listed copyright holders nor the names
 68 	{ DPARERR,	"Data-path Parity Error" },
 76 	{ P_DATAOUT,	NOP,			"in Data-out phase"	},
 77 	{ P_DATAIN,	INITIATOR_ERROR,	"in Data-in phase"	},
 78 	{ P_DATAOUT_DT,	NOP,			"in DT Data-out phase"	},
 79 	{ P_DATAIN_DT,	INITIATOR_ERROR,	"in DT Data-in phase"	},
 81 	{ P_MESGOUT,	NOP,			"in Message-out phase"	},
 83 	{ P_MESGIN,	MSG_PARITY_ERROR,	"in Message-in phase"	},
 [all …]
 
 |