/linux-6.12.1/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 …]
|
/linux-6.12.1/Documentation/netlink/specs/ |
D | netdev.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 9 - 11 name: xdp-act 12 render-max: true 14 - 19 - 23 - 24 name: ndo-xmit 27 - 28 name: xsk-zerocopy [all …]
|
/linux-6.12.1/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, 30 k3_udma_glue_request_tx_chn_for_thread_id(struct device *dev, 49 struct device * 64 * k3_udma_glue_rx_flow_cfg - UDMA RX flow cfg 66 * @rx_cfg: RX ring configuration 67 * @rxfdq_cfg: RX free Host PD ring configuration [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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. 41 #include <linux/mailbox/brcm-message.h> 43 #include <linux/dma-direction.h> 44 #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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | qcom,wcd937x-sdw.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,wcd937x-sdw.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9370/WCD9375 Codec is a standalone Hi-Fi audio codec IC. 14 It has RX and TX Soundwire slave devices. This bindings is for the 24 qcom,tx-port-mapping: 26 Specifies static port mapping between device and host tx ports. 27 In the order of the device port index which are adc1_port, adc23_port, [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/hwmon/ |
D | sht21.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/hwmon-sysfs.h> 17 #include <linux/device.h> 29 * struct sht21 - SHT21 device specific data 30 * @client: I2C client device 49 * sht21_temp_ticks_to_millicelsius() - convert raw temperature ticks to 57 * Formula T = -46.85 + 175.72 * ST / 2^16 from data sheet 6.2, in sht21_temp_ticks_to_millicelsius() 60 return ((21965 * ticks) >> 13) - 46850; in sht21_temp_ticks_to_millicelsius() 64 * sht21_rh_ticks_to_per_cent_mille() - convert raw humidity ticks to 65 * one-thousandths of a percent relative humidity [all …]
|
/linux-6.12.1/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() 27 struct gve_rx_ring *rx, in gve_rx_unfill_pages() argument 30 u32 slots = rx->mask + 1; in gve_rx_unfill_pages() 33 if (!rx->data.page_info) in gve_rx_unfill_pages() 36 if (rx->data.raw_addressing) { in gve_rx_unfill_pages() [all …]
|
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
D | counters.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 13 - `Overview`_ 14 - `Groups`_ 15 - `Types`_ 16 - `Descriptions`_ 27 ---------------------------------------- 29 ---------------------------------------- ---------------------------------------- | 32 | ------------------- --------------- | | ------------------- --------------- | | 34 | ------------------- --------------- | | ------------------- --------------- | | 36 | ------------------- | | ------------------- | | [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/tools/net/ynl/ |
D | ethtool.py | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 15 Verify and convert command-line arguments to the ynl-compatible request. 18 valid_attrs.remove('header') # not user-provided 42 Pretty-print a set of fields from the reply. desc specifies the 67 Print out the speed-like strings from the value dict. 69 speed_re = re.compile(r'[0-9]+base[^/]+/.+') 79 'dev-name': args.device, 96 if msg['header']['dev-name'] == args.device: 103 print(f"Not supported for device {args.device}") 108 Convert ynl-formatted bitmask to a dict of bit=value. [all …]
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_rx.c | 1 // SPDX-License-Identifier: GPL-2.0 17 oq->host_read_idx = 0; in octep_oq_reset_indices() 18 oq->host_refill_idx = 0; in octep_oq_reset_indices() 19 oq->refill_count = 0; in octep_oq_reset_indices() 20 oq->last_pkt_count = 0; in octep_oq_reset_indices() 21 oq->pkts_pending = 0; in octep_oq_reset_indices() 25 * octep_oq_fill_ring_buffers() - fill initial receive buffers for Rx ring. 27 * @oq: Octeon Rx queue data structure. 30 * -1, if failed to allocate a buffer or failed to map for DMA. 34 struct octep_oq_desc_hw *desc_ring = oq->desc_ring; in octep_oq_fill_ring_buffers() [all …]
|
/linux-6.12.1/Documentation/networking/ |
D | tls-offload.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 13 For details regarding the user-facing interface refer to the TLS 18 * Software crypto mode (``TLS_SW``) - CPU handles the cryptography. 24 * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto 28 (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``). 29 * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where 33 abilities or QoS and packet scheduling (``ethtool`` flag ``tls-hw-record``). 35 The operation mode is selected automatically based on device configuration, 36 offload opt-in or opt-out on per-connection basis is not currently supported. 39 -- [all …]
|
/linux-6.12.1/net/ncsi/ |
D | internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 40 NCSI_CAP_MC_DHCPV6_WELL_KNOWN = 0x08, /* DHCPv6 well-known MC */ 49 NCSI_CAP_VLAN_NO = 0x02, /* Filter VLAN and non-VLAN */ 50 NCSI_CAP_VLAN_ANY = 0x04, /* Filter Any-and-non-VLAN */ 68 * Bit (0-2) for different protocol support; Bit 1 for RBT support, 69 * bit 1 for SMBUS support and bit 2 for PCIE support. Bit (3-5) 148 u32 hnc_rx_bytes; /* Rx bytes */ 150 u32 hnc_rx_uc_pkts; /* Rx UC packets */ 151 u32 hnc_rx_mc_pkts; /* Rx MC packets */ 152 u32 hnc_rx_bc_pkts; /* Rx BC packets */ [all …]
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_rx.c | 1 // SPDX-License-Identifier: GPL-2.0 17 oq->host_read_idx = 0; in octep_vf_oq_reset_indices() 18 oq->host_refill_idx = 0; in octep_vf_oq_reset_indices() 19 oq->refill_count = 0; in octep_vf_oq_reset_indices() 20 oq->last_pkt_count = 0; in octep_vf_oq_reset_indices() 21 oq->pkts_pending = 0; in octep_vf_oq_reset_indices() 25 * octep_vf_oq_fill_ring_buffers() - fill initial receive buffers for Rx ring. 27 * @oq: Octeon Rx queue data structure. 30 * -ENOMEM, if failed to allocate a buffer or failed to map for DMA. 34 struct octep_vf_oq_desc_hw *desc_ring = oq->desc_ring; in octep_vf_oq_fill_ring_buffers() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mailbox/ |
D | ti,omap-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/ti,omap-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 26 interrupt configuration registers, and have a rx and tx interrupt source per 28 appropriate programming of the rx and tx interrupt sources on the appropriate 35 lines can also be routed to different processor sub-systems on DRA7xx as they 48 A Mailbox device node is used to represent a Mailbox IP instance/cluster 49 within a SoC. The sub-mailboxes (actual communication channels) are [all …]
|
/linux-6.12.1/sound/soc/tegra/ |
D | tegra210_ope.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra210_ope.c - Tegra210 OPE driver 8 #include <linux/device.h> 44 return -EINVAL; in tegra210_ope_set_audio_cif() 54 return -EINVAL; in tegra210_ope_set_audio_cif() 62 tegra_set_cif(ope->regmap, reg, &cif_conf); in tegra210_ope_set_audio_cif() 71 struct device *dev = dai->dev; in tegra210_ope_hw_params() 75 /* Set RX and TX CIF */ in tegra210_ope_hw_params() 79 dev_err(dev, "Can't set OPE RX CIF: %d\n", err); in tegra210_ope_hw_params() 90 tegra210_mbdrc_hw_params(dai->component); in tegra210_ope_hw_params() [all …]
|
/linux-6.12.1/drivers/scsi/aacraid/ |
D | nark.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Adaptec aacraid device driver for Linux. 8 * Copyright (c) 2000-2010 Adaptec, Inc. 9 * 2010-2015 PMC-Sierra, Inc. (aacraid@pmc-sierra.com) 10 * 2016-2017 Microsemi Corp. (aacraid@microsemi.com) 15 * Abstract: Hardware Device Interface for NEMER/ARK 27 * @dev: device to ioremap 34 iounmap(dev->regs.rx); in aac_nark_ioremap() 35 dev->regs.rx = NULL; in aac_nark_ioremap() 36 iounmap(dev->base); in aac_nark_ioremap() [all …]
|