| /kernel/linux/linux-6.6/drivers/platform/mellanox/ |
| D | mlxbf-tmfifo.c | 1 // SPDX-License-Identifier: GPL-2.0+ 24 #include "mlxbf-tmfifo-regs.h" 26 /* Vring size. */ 29 /* Console Tx buffer size. */ 32 /* Console Tx buffer reserved space. */ 35 /* House-keeping timer interval. */ 38 /* Virtual devices sharing the TM FIFO. */ 50 /* Tx timeout in milliseconds. */ 53 /* ACPI UID for BlueField-3. */ 59 * struct mlxbf_tmfifo_vring - Structure of the TmFifo virtual ring [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
| D | gve_tx.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2019 Google, Inc. 18 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell() 22 * We copy skb payloads into the registered segment before writing Tx 23 * descriptors and ringing the Tx doorbell. 25 * gve_tx_fifo_* manages the Registered Segment as a FIFO - clients must 29 static int gve_tx_fifo_init(struct gve_priv *priv, struct gve_tx_fifo *fifo) in gve_tx_fifo_init() argument 31 fifo->base = vmap(fifo->qpl->pages, fifo->qpl->num_entries, VM_MAP, in gve_tx_fifo_init() 33 if (unlikely(!fifo->base)) { in gve_tx_fifo_init() 34 netif_err(priv, drv, priv->dev, "Failed to vmap fifo, qpl_id = %d\n", in gve_tx_fifo_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
| D | gve_tx.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2021 Google, Inc. 20 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell() 26 struct gve_tx_ring *tx = &priv->tx[tx_qid]; in gve_xdp_tx_flush() local 28 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_xdp_tx_flush() 32 * We copy skb payloads into the registered segment before writing Tx 33 * descriptors and ringing the Tx doorbell. 35 * gve_tx_fifo_* manages the Registered Segment as a FIFO - clients must 39 static int gve_tx_fifo_init(struct gve_priv *priv, struct gve_tx_fifo *fifo) in gve_tx_fifo_init() argument 41 fifo->base = vmap(fifo->qpl->pages, fifo->qpl->num_entries, VM_MAP, in gve_tx_fifo_init() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | ibm,emac.txt | 8 correct clock-frequency property. 13 - device_type : "network" 15 - compatible : compatible list, contains 2 entries, first is 16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx, 18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon", 20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ> 21 - reg : <registers mapping> 22 - local-mac-address : 6 bytes, MAC address 23 - mal-device : phandle of the associated McMAL node 24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | ibm,emac.txt | 8 correct clock-frequency property. 13 - device_type : "network" 15 - compatible : compatible list, contains 2 entries, first is 16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx, 18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon", 20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ> 21 - reg : <registers mapping> 22 - local-mac-address : 6 bytes, MAC address 23 - mal-device : phandle of the associated McMAL node 24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
| D | tx.c | 3 * Generic (non-bus specific) TX handling 6 * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. 35 * Intel Corporation <linux-wimax@intel.com> 37 * - Initial implementation 39 * Intel Corporation <linux-wimax@intel.com> 40 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> 41 * - Rewritten to use a single FIFO to lower the memory allocation 43 * well as splitting out bus-specific code. 47 * software FIFO, as data/control frames can be coalesced (while the 48 * device is reading the previous tx transaction, others accumulate). [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/mellanox/ |
| D | mlxbf-tmfifo.c | 1 // SPDX-License-Identifier: GPL-2.0+ 24 #include "mlxbf-tmfifo-regs.h" 26 /* Vring size. */ 29 /* Console Tx buffer size. */ 32 /* Console Tx buffer reserved space. */ 35 /* House-keeping timer interval. */ 38 /* Virtual devices sharing the TM FIFO. */ 53 * mlxbf_tmfifo_vring - Structure of the TmFifo virtual ring 64 * @num: vring size (number of descriptors) 65 * @align: vring alignment size [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/boot/dts/ |
| D | mpc5121.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2007-2008 Freescale Semiconductor Inc. 8 #include <dt-bindings/clock/mpc512x-clock.h> 10 /dts-v1/; 15 #address-cells = <1>; 16 #size-cells = <1>; 17 interrupt-parent = <&ipic>; 25 #address-cells = <1>; 26 #size-cells = <0>; 31 d-cache-line-size = <0x20>; /* 32 bytes */ [all …]
|
| D | eiger.dts | 11 /dts-v1/; 14 #address-cells = <2>; 15 #size-cells = <1>; 18 dcr-parent = <&{/cpus/cpu@0}>; 30 #address-cells = <1>; 31 #size-cells = <0>; 37 clock-frequency = <0>; /* Filled in by U-Boot */ 38 timebase-frequency = <0>; /* Filled in by U-Boot */ 39 i-cache-line-size = <32>; 40 d-cache-line-size = <32>; [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/ |
| D | mpc5121.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2007-2008 Freescale Semiconductor Inc. 8 #include <dt-bindings/clock/mpc512x-clock.h> 10 /dts-v1/; 15 #address-cells = <1>; 16 #size-cells = <1>; 17 interrupt-parent = <&ipic>; 25 #address-cells = <1>; 26 #size-cells = <0>; 31 d-cache-line-size = <0x20>; /* 32 bytes */ [all …]
|
| D | eiger.dts | 11 /dts-v1/; 14 #address-cells = <2>; 15 #size-cells = <1>; 18 dcr-parent = <&{/cpus/cpu@0}>; 30 #address-cells = <1>; 31 #size-cells = <0>; 37 clock-frequency = <0>; /* Filled in by U-Boot */ 38 timebase-frequency = <0>; /* Filled in by U-Boot */ 39 i-cache-line-size = <32>; 40 d-cache-line-size = <32>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/powerpc/fsl/ |
| D | mpc5121-psc.txt | 4 ---------------- 7 are specified by fsl,mpc5121-psc-uart nodes in the 8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO 9 Controller node fsl,mpc5121-psc-fifo is required there: 11 fsl,mpc512x-psc-uart nodes 12 -------------------------- 15 - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc" 17 - reg : Offset and length of the register set for the PSC device 18 - interrupts : <a b> where a is the interrupt number of the 19 PSC FIFO Controller and b is a field that represents an [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/ |
| D | mpc5121-psc.txt | 4 ---------------- 7 are specified by fsl,mpc5121-psc-uart nodes in the 8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO 9 Controller node fsl,mpc5121-psc-fifo is required there: 11 fsl,mpc512x-psc-uart nodes 12 -------------------------- 15 - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc" 17 - reg : Offset and length of the register set for the PSC device 18 - interrupts : <a b> where a is the interrupt number of the 19 PSC FIFO Controller and b is a field that represents an [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| D | sam9x60.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * sam9x60.dtsi - Device Tree Include file for Microchip SAM9X60 SoC 10 #include <dt-bindings/dma/at91.h> 11 #include <dt-bindings/pinctrl/at91.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/clock/at91.h> 15 #include <dt-bindings/mfd/at91-usart.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 19 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 7 * fm10k_fifo_init - Initialize a message FIFO 8 * @fifo: pointer to FIFO 9 * @buffer: pointer to memory to be used to store FIFO 10 * @size: maximum message size to store in FIFO, must be 2^n - 1 12 static void fm10k_fifo_init(struct fm10k_mbx_fifo *fifo, u32 *buffer, u16 size) in fm10k_fifo_init() argument 14 fifo->buffer = buffer; in fm10k_fifo_init() 15 fifo->size = size; in fm10k_fifo_init() 16 fifo->head = 0; in fm10k_fifo_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 7 * fm10k_fifo_init - Initialize a message FIFO 8 * @fifo: pointer to FIFO 9 * @buffer: pointer to memory to be used to store FIFO 10 * @size: maximum message size to store in FIFO, must be 2^n - 1 12 static void fm10k_fifo_init(struct fm10k_mbx_fifo *fifo, u32 *buffer, u16 size) in fm10k_fifo_init() argument 14 fifo->buffer = buffer; in fm10k_fifo_init() 15 fifo->size = size; in fm10k_fifo_init() 16 fifo->head = 0; in fm10k_fifo_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
| D | sunqe.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define GLOB_PSIZE 0x08UL /* Packet Size */ 15 #define GLOB_MSIZE 0x0cUL /* Local-memory Size */ 16 #define GLOB_RSIZE 0x10UL /* Receive partition size */ 17 #define GLOB_TSIZE 0x14UL /* Transmit partition size */ 34 #define GLOB_PSIZE_2048 0x00 /* 2k packet size */ 35 #define GLOB_PSIZE_4096 0x01 /* 4k packet size */ 36 #define GLOB_PSIZE_6144 0x10 /* 6k packet size */ 37 #define GLOB_PSIZE_8192 0x11 /* 8k packet size */ 45 /* The following registers are for per-qe channel information/status. */ [all …]
|
| D | sungem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 #define GREG_CFG_TXDMALIM 0x0000003e /* TX DMA grant limit */ 39 * This auto-clearing does not occur when the alias at GREG_STAT2 45 #define GREG_STAT_TXINTME 0x00000001 /* TX INTME frame transferred */ 46 #define GREG_STAT_TXALL 0x00000002 /* All TX frames transferred */ 47 #define GREG_STAT_TXDONE 0x00000004 /* One TX frame transferred */ 52 #define GREG_STAT_TXMAC 0x00004000 /* TX MAC signalled interrupt */ 69 * signalled to the cpu. GREG_IACK can be used to clear specific top-level 96 * This register is used to perform a global reset of the RX and TX portions 97 * of the GEM asic. Setting the RX or TX reset bit will start the reset. [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
| D | sunqe.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define GLOB_PSIZE 0x08UL /* Packet Size */ 15 #define GLOB_MSIZE 0x0cUL /* Local-memory Size */ 16 #define GLOB_RSIZE 0x10UL /* Receive partition size */ 17 #define GLOB_TSIZE 0x14UL /* Transmit partition size */ 34 #define GLOB_PSIZE_2048 0x00 /* 2k packet size */ 35 #define GLOB_PSIZE_4096 0x01 /* 4k packet size */ 36 #define GLOB_PSIZE_6144 0x10 /* 6k packet size */ 37 #define GLOB_PSIZE_8192 0x11 /* 8k packet size */ 45 /* The following registers are for per-qe channel information/status. */ [all …]
|
| D | sungem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 #define GREG_CFG_TXDMALIM 0x0000003e /* TX DMA grant limit */ 39 * This auto-clearing does not occur when the alias at GREG_STAT2 45 #define GREG_STAT_TXINTME 0x00000001 /* TX INTME frame transferred */ 46 #define GREG_STAT_TXALL 0x00000002 /* All TX frames transferred */ 47 #define GREG_STAT_TXDONE 0x00000004 /* One TX frame transferred */ 52 #define GREG_STAT_TXMAC 0x00004000 /* TX MAC signalled interrupt */ 69 * signalled to the cpu. GREG_IACK can be used to clear specific top-level 96 * This register is used to perform a global reset of the RX and TX portions 97 * of the GEM asic. Setting the RX or TX reset bit will start the reset. [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/include/asm/ |
| D | m54xxpci.h | 4 * m54xxpci.h -- ColdFire 547x and 548x PCI bus support 45 #define PCITPSR (CONFIG_MBAR + 0x8400) /* TX packet size */ 46 #define PCITSAR (CONFIG_MBAR + 0x8404) /* TX start address */ 47 #define PCITTCR (CONFIG_MBAR + 0x8408) /* TX transaction control */ 48 #define PCITER (CONFIG_MBAR + 0x840c) /* TX enables */ 49 #define PCITNAR (CONFIG_MBAR + 0x8410) /* TX next address */ 50 #define PCITLWR (CONFIG_MBAR + 0x8414) /* TX last word */ 51 #define PCITDCR (CONFIG_MBAR + 0x8418) /* TX done counts */ 52 #define PCITSR (CONFIG_MBAR + 0x841c) /* TX status */ 53 #define PCITFDR (CONFIG_MBAR + 0x8440) /* TX FIFO data */ [all …]
|
| /kernel/linux/linux-6.6/arch/m68k/include/asm/ |
| D | m54xxpci.h | 4 * m54xxpci.h -- ColdFire 547x and 548x PCI bus support 45 #define PCITPSR (CONFIG_MBAR + 0x8400) /* TX packet size */ 46 #define PCITSAR (CONFIG_MBAR + 0x8404) /* TX start address */ 47 #define PCITTCR (CONFIG_MBAR + 0x8408) /* TX transaction control */ 48 #define PCITER (CONFIG_MBAR + 0x840c) /* TX enables */ 49 #define PCITNAR (CONFIG_MBAR + 0x8410) /* TX next address */ 50 #define PCITLWR (CONFIG_MBAR + 0x8414) /* TX last word */ 51 #define PCITDCR (CONFIG_MBAR + 0x8418) /* TX done counts */ 52 #define PCITSR (CONFIG_MBAR + 0x841c) /* TX status */ 53 #define PCITFDR (CONFIG_MBAR + 0x8440) /* TX FIFO data */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/can/spi/mcp251xfd/ |
| D | mcp251xfd-ram.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mcp251xfd - Microchip MCP251xFD Family CAN controller driver 6 // Marc Kleine-Budde <kernel@pengutronix.de> 9 #include "mcp251xfd-ram.h" 17 max = min_t(u8, obj->max, obj->fifo_num * config->fifo_depth); in can_ram_clamp() 18 return clamp(val, obj->min, max); in can_ram_clamp() 26 u8 fifo_num = obj->fifo_num; in can_ram_rounddown_pow_of_two() 32 /* Use 1st FIFO for coalescing, if requested. in can_ram_rounddown_pow_of_two() 34 * Either use complete FIFO (and FIFO Full IRQ) for in can_ram_rounddown_pow_of_two() 35 * coalescing or only half of FIFO (FIFO Half Full in can_ram_rounddown_pow_of_two() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| D | ampdu.c | 31 /* max Tx ba window size (in pdu) */ 33 /* default Tx ba window size (in pdu) */ 35 /* default Rx ba window size (in pdu) */ 37 /* max Rx ba window size (in pdu) */ 39 /* max dur of tx ampdu (in msec) */ 41 /* default tx retry limit */ 43 /* default tx retry limit at reg rate */ 52 #define NUM_FFPLD_FIFO 4 /* number of fifo concerned by pre-loading */ 56 #define FFPLD_MPDU_SIZE 1800 /* estimate of maximum mpdu size */ 76 #define MODADD_POW2(x, y, bound) (((x) + (y)) & ((bound) - 1)) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| D | ampdu.c | 31 /* max Tx ba window size (in pdu) */ 33 /* default Tx ba window size (in pdu) */ 35 /* default Rx ba window size (in pdu) */ 37 /* max Rx ba window size (in pdu) */ 39 /* max dur of tx ampdu (in msec) */ 41 /* default tx retry limit */ 43 /* default tx retry limit at reg rate */ 52 #define NUM_FFPLD_FIFO 4 /* number of fifo concerned by pre-loading */ 56 #define FFPLD_MPDU_SIZE 1800 /* estimate of maximum mpdu size */ 76 #define MODADD_POW2(x, y, bound) (((x) + (y)) & ((bound) - 1)) [all …]
|