| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/amazon/ |
| D | ena.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 The ENA device exposes a lightweight management interface with a 17 The driver supports a range of ENA devices, is link-speed independent 21 Some ENA devices support SR-IOV. This driver is used for both the 22 SR-IOV Physical Function (PF) and Virtual Function (VF) devices. 25 processing by providing multiple Tx/Rx queue pairs (the maximum number 26 is advertised by the device via the Admin Queue), a dedicated MSI-X 27 interrupt vector per Tx/Rx queue pair, adaptive interrupt moderation, 31 checksum offload. Receive-side scaling (RSS) is supported for multi-core 35 monitoring mechanisms such as watchdog, enabling the device and driver [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
| D | usb-rx.c | 3 * USB RX handling 6 * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. 35 * Intel Corporation <linux-wimax@intel.com> 37 * - Initial implementation 38 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> 39 * - Use skb_clone(), break up processing in chunks 40 * - Split transport/device specific 41 * - Make buffer size dynamic to exert less memory pressure 44 * This handles the RX path on USB. 46 * When a notification is received that says 'there is RX data ready', [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/amazon/ |
| D | ena.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 The ENA device exposes a lightweight management interface with a 17 The driver supports a range of ENA devices, is link-speed independent 21 Some ENA devices support SR-IOV. This driver is used for both the 22 SR-IOV Physical Function (PF) and Virtual Function (VF) devices. 25 processing by providing multiple Tx/Rx queue pairs (the maximum number 26 is advertised by the device via the Admin Queue), a dedicated MSI-X 27 interrupt vector per Tx/Rx queue pair, adaptive interrupt moderation, 32 Receive-side scaling (RSS) is supported for multi-core scaling. 35 monitoring mechanisms such as watchdog, enabling the device and driver [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | peci.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2018-2021 Intel Corporation */ 7 #include <linux/device.h> 21 * struct peci_controller_ops - PECI controller specific methods 24 * PECI controllers may have different hardware interfaces - the drivers 33 * struct peci_controller - PECI controller 34 * @dev: device object to register PECI controller to the device model 35 * @ops: pointer to device specific controller operations 39 * PECI controllers usually connect to their drivers using non-PECI bus, 44 struct device dev; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/phy/ |
| D | linkmode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * linkmode_resolve_pause - resolve the allowable pause modes 15 * Local device Link partner 21 * 1 X 1 X TX+RX 22 * 1 1 0 1 RX 47 * linkmode_set_pause - set the pause mode advertisement 50 * @rx: boolean from ethtool struct ethtool_pauseparam rx_pause member 53 * capabilities of provided in @tx and @rx. 56 * tx rx Pause AsymDir 62 * Note: this translation from ethtool tx/rx notation to the advertisement [all …]
|
| /kernel/linux/linux-5.10/drivers/net/phy/ |
| D | linkmode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * linkmode_resolve_pause - resolve the allowable pause modes 15 * Local device Link partner 21 * 1 X 1 X TX+RX 22 * 1 1 0 1 RX 47 * linkmode_set_pause - set the pause mode advertisement 50 * @rx: boolean from ethtool struct ethtool_pauseparam rx_pause member 53 * capabilities of provided in @tx and @rx. 56 * tx rx Pause AsymDir 62 * Note: this translation from ethtool tx/rx notation to the advertisement [all …]
|
| /kernel/linux/linux-6.6/include/linux/dma/ |
| D | k3-udma-glue.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com 10 #include <linux/soc/ti/k3-ringacc.h> 11 #include <linux/dma/ti-cppi5.h> 26 struct k3_udma_glue_tx_channel *k3_udma_glue_request_tx_chn(struct device *dev, 44 struct device * 59 * k3_udma_glue_rx_flow_cfg - UDMA RX flow cfg 61 * @rx_cfg: RX ring configuration 62 * @rxfdq_cfg: RX free Host PD ring configuration 63 * @ring_rxq_id: RX ring id (or -1 for any) [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/most/i2c/ |
| D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * i2c.c - Hardware Dependent Module for I2C Interface 5 * Copyright (C) 2013-2015, Microchip Technology Germany II GmbH & Co. KG 24 * list_first_mbo - get the first mbo from a list 38 struct rx { struct 43 } rx; member 53 * configure_channel - called from MOST core to configure a channel 73 if (channel_config->data_type != MOST_CH_CONTROL) { in configure_channel() 75 return -EPERM; in configure_channel() 78 if (channel_config->direction != dev->capabilities[ch_idx].direction) { in configure_channel() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/most/i2c/ |
| D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * i2c.c - Hardware Dependent Module for I2C Interface 5 * Copyright (C) 2013-2015, Microchip Technology Germany II GmbH & Co. KG 24 * list_first_mbo - get the first mbo from a list 38 struct rx { struct 43 } rx; member 56 * configure_channel - called from MOST core to configure a channel 76 if (channel_config->data_type != MOST_CH_CONTROL) { in configure_channel() 78 return -EPERM; in configure_channel() 81 if (channel_config->direction != dev->capabilities[ch_idx].direction) { in configure_channel() [all …]
|
| /kernel/linux/linux-6.6/tools/spi/ |
| D | spidev_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 38 static const char *device = "/dev/spidev1.1"; variable 71 while (length-- > 0) { in hex_dump() 91 * Unescape - process hexadecimal escape character 92 * converts shell input "\x23" -> 0x23 118 static void transfer(int fd, uint8_t const *tx, uint8_t const *rx, size_t len) in transfer() argument 124 .rx_buf = (unsigned long)rx, in transfer() 162 ret = write(out_fd, rx, len); in transfer() 170 hex_dump(rx, len, 32, "RX"); in transfer() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
| D | gve_rx.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2021 Google, Inc. 15 static void gve_rx_free_buffer(struct device *dev, in gve_rx_free_buffer() 19 dma_addr_t dma = (dma_addr_t)(be64_to_cpu(data_slot->addr) & in gve_rx_free_buffer() 22 page_ref_sub(page_info->page, page_info->pagecnt_bias - 1); in gve_rx_free_buffer() 23 gve_free_page(dev, page_info->page, dma, DMA_FROM_DEVICE); in gve_rx_free_buffer() 26 static void gve_rx_unfill_pages(struct gve_priv *priv, struct gve_rx_ring *rx) in gve_rx_unfill_pages() argument 28 u32 slots = rx->mask + 1; in gve_rx_unfill_pages() 31 if (rx->data.raw_addressing) { in gve_rx_unfill_pages() 33 gve_rx_free_buffer(&priv->pdev->dev, &rx->data.page_info[i], in gve_rx_unfill_pages() [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 …]
|
| D | keystone-netcp.txt | 1 This document describes the device tree bindings associated with the 6 switch sub-module to send and receive packets. NetCP also includes a packet 13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP 17 sub-modules exist as a loadable kernel module which plug in to the netcp core. 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is 19 mandatory to have the ethernet switch sub-module for the ethernet interface to 20 be operational. Any other sub-module like the PA is optional. 24 ----------------------------- 26 ----------------------------- [all …]
|
| D | micrel-ksz90x1.txt | 5 device node. Deprecated, but still supported, these properties can 6 also be added to an Ethernet OF device node. 8 Note that these settings are applied after any phy-specific fixup from 17 skew values actually increase in 120ps steps, starting from -840ps. The 20 change the driver now because of the many existing device trees that have 27 Device Tree Value Delay Pad Skew Register Value 28 ----------------------------------------------------- 29 0 -840ps 0000 30 200 -720ps 0001 31 400 -600ps 0010 [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 …]
|
| D | keystone-netcp.txt | 1 This document describes the device tree bindings associated with the 6 switch sub-module to send and receive packets. NetCP also includes a packet 13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP 17 sub-modules exist as a loadable kernel module which plug in to the netcp core. 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is 19 mandatory to have the ethernet switch sub-module for the ethernet interface to 20 be operational. Any other sub-module like the PA is optional. 24 ----------------------------- 26 ----------------------------- [all …]
|
| /kernel/linux/linux-5.10/drivers/slimbus/ |
| D | qcom-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2011-2017, The Linux Foundation 88 /* Resource group info for manager, and non-ported generic device-components */ 105 struct device *dev; 109 struct slim_ctrl_buf rx; member 125 __iowrite32_copy(ctrl->base + tx_reg, buf, count); in qcom_slim_queue_tx() 136 spin_lock_irqsave(&ctrl->rx.lock, flags); in slim_alloc_rxbuf() 137 if ((ctrl->rx.tail + 1) % ctrl->rx.n == ctrl->rx.head) { in slim_alloc_rxbuf() 138 spin_unlock_irqrestore(&ctrl->rx.lock, flags); in slim_alloc_rxbuf() 139 dev_err(ctrl->dev, "RX QUEUE full!"); in slim_alloc_rxbuf() [all …]
|
| /kernel/linux/linux-6.6/drivers/slimbus/ |
| D | qcom-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2011-2017, The Linux Foundation 88 /* Resource group info for manager, and non-ported generic device-components */ 105 struct device *dev; 109 struct slim_ctrl_buf rx; member 125 __iowrite32_copy(ctrl->base + tx_reg, buf, count); in qcom_slim_queue_tx() 136 spin_lock_irqsave(&ctrl->rx.lock, flags); in slim_alloc_rxbuf() 137 if ((ctrl->rx.tail + 1) % ctrl->rx.n == ctrl->rx.head) { in slim_alloc_rxbuf() 138 spin_unlock_irqrestore(&ctrl->rx.lock, flags); in slim_alloc_rxbuf() 139 dev_err(ctrl->dev, "RX QUEUE full!"); in slim_alloc_rxbuf() [all …]
|
| /kernel/linux/linux-6.6/tools/net/ynl/ |
| D | ethtool.py | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 14 Verify and convert command-line arguments to the ynl-compatible request. 17 valid_attrs.remove('header') # not user-provided 41 Pretty-print a set of fields from the reply. desc specifies the 66 Print out the speed-like strings from the value dict. 68 speed_re = re.compile(r'[0-9]+base[^/]+/.+') 78 'dev-name': args.device, 95 if msg['header']['dev-name'] == args.device: 102 print(f"Not supported for device {args.device}") 107 Convert ynl-formatted bitmask to a dict of bit=value. [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/toshiba/ |
| D | spider_net.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Spidernet Device Driver 14 device driver in the Linux kernel tree. The spidernet is a gigabit 15 ethernet device built into the Toshiba southbridge commonly used 18 The Structure of the RX Ring. 20 The receive (RX) ring is a circular linked list of RX descriptors, 29 "full" and "not-in-use". An "empty" or "ready" descriptor is ready 31 and is waiting to be emptied and processed by the OS. A "not-in-use" 35 During normal operation, on device startup, the OS (specifically, the 36 spidernet device driver) allocates a set of RX descriptors and RX [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/toshiba/ |
| D | spider_net.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Spidernet Device Driver 14 device driver in the Linux kernel tree. The spidernet is a gigabit 15 ethernet device built into the Toshiba southbridge commonly used 18 The Structure of the RX Ring. 20 The receive (RX) ring is a circular linked list of RX descriptors, 29 "full" and "not-in-use". An "empty" or "ready" descriptor is ready 31 and is waiting to be emptied and processed by the OS. A "not-in-use" 35 During normal operation, on device startup, the OS (specifically, the 36 spidernet device driver) allocates a set of RX descriptors and RX [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mailbox/ |
| D | omap-mailbox.txt | 16 programmable through a set of interrupt configuration registers, and have a rx 18 is achieved through the appropriate programming of the rx and tx interrupt 25 routed to different processor sub-systems on DRA7xx as they are routed through 32 Mailbox Device Node: 34 A Mailbox device node is used to represent a Mailbox IP instance/cluster within 35 a SoC. The sub-mailboxes are represented as child nodes of this parent node. 38 -------------------- 39 - compatible: Should be one of the following, 40 "ti,omap2-mailbox" for OMAP2420, OMAP2430 SoCs 41 "ti,omap3-mailbox" for OMAP3430, OMAP3630 SoCs [all …]
|
| /kernel/linux/linux-5.10/drivers/mailbox/ |
| D | bcm-pdc-mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * offload engines. For example, the PDC driver works with both SPU-M and SPU2 24 * an rx interrupt indicates a response is ready, the PDC driver processes numd 25 * descriptors from the tx and rx ring, thus processing one response at a time. 42 #include <linux/mailbox/brcm-message.h> 44 #include <linux/dma-direction.h> 45 #include <linux/dma-mapping.h> 73 #define PREVTXD(i, max_mask) TXD((i) - 1, (max_mask)) 75 #define PREVRXD(i, max_mask) RXD((i) - 1, (max_mask)) 76 #define NTXDACTIVE(h, t, max_mask) TXD((t) - (h), (max_mask)) [all …]
|
| /kernel/linux/linux-6.6/drivers/mailbox/ |
| D | bcm-pdc-mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * offload engines. For example, the PDC driver works with both SPU-M and SPU2 24 * an rx interrupt indicates a response is ready, the PDC driver processes numd 25 * descriptors from the tx and rx ring, thus processing one response at a time. 42 #include <linux/mailbox/brcm-message.h> 44 #include <linux/dma-direction.h> 45 #include <linux/dma-mapping.h> 73 #define PREVTXD(i, max_mask) TXD((i) - 1, (max_mask)) 75 #define PREVRXD(i, max_mask) RXD((i) - 1, (max_mask)) 76 #define NTXDACTIVE(h, t, max_mask) TXD((t) - (h), (max_mask)) [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/google/ |
| D | gve.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 9 The GVE driver binds to a single PCI device id used by the virtual 10 Ethernet device found in some Compute Engine VMs. 12 +--------------+----------+---------+ 16 +--------------+----------+---------+ 17 |Device ID | `0x0042` | | 18 +--------------+----------+---------+ 19 |Sub-vendor ID | `0x1AE0` | Google | 20 +--------------+----------+---------+ 21 |Sub-device ID | `0x0058` | | [all …]
|