/linux/Documentation/networking/device_drivers/ethernet/amazon/ |
H A 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/Documentation/netlink/specs/ |
H A 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/include/linux/dma/ |
H A 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/include/linux/ |
H A 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/drivers/net/phy/ |
H A 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/drivers/mailbox/ |
H A 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/Documentation/devicetree/bindings/net/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/linux/drivers/slimbus/ |
H A 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/drivers/net/ethernet/google/gve/ |
H A 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/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A 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/Documentation/devicetree/bindings/sound/ |
H A 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/drivers/hwmon/ |
H A 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/Documentation/networking/device_drivers/ethernet/toshiba/ |
H A 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/Documentation/networking/device_drivers/ethernet/google/ |
H A 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/Documentation/networking/ |
H A 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/net/ncsi/ |
H A 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/drivers/accel/qaic/ |
H A D | sahara.c | 1 // SPDX-License-Identifier: GPL-2.0-only 127 * +------------------------------------------+ 130 * +------------------------------------------+ 136 * +------------------------------------------+ 143 * +------------------------------------------+ 159 struct sahara_packet *rx; member 195 if (image_id == context->active_image_id) in sahara_find_image() 198 if (context->active_image_id != SAHARA_IMAGE_ID_NONE) { in sahara_find_image() 199 dev_err(&context->mhi_dev->dev, "image id %d is not valid as %d is active\n", in sahara_find_image() 200 image_id, context->active_image_id); in sahara_find_image() [all …]
|
/linux/Documentation/devicetree/bindings/mailbox/ |
H A 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/sound/soc/tegra/ |
H A D | tegra210_ope.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. 5 // tegra210_ope.c - Tegra210 OPE driver 8 #include <linux/device.h> 44 return -EINVAL; in tegra210_ope_set_audio_cif() 55 return -EINVAL; in tegra210_ope_set_audio_cif() 63 tegra_set_cif(ope->regmap, reg, &cif_conf); in tegra210_ope_set_audio_cif() 72 struct device *dev = dai->dev; in tegra210_ope_hw_params() 76 /* Set RX and TX CIF */ in tegra210_ope_hw_params() 80 dev_err(dev, "Can't set OPE RX CIF: %d\n", err); in tegra210_ope_hw_params() [all …]
|
/linux/drivers/platform/mellanox/ |
H A D | mlxbf-tmfifo.c | 1 // SPDX-License-Identifier: GPL-2.0+ 24 #include "mlxbf-tmfifo-regs.h" 35 /* House-keeping timer interval. */ 53 /* ACPI UID for BlueField-3. */ 59 * struct mlxbf_tmfifo_vring - Structure of the TmFifo virtual ring 101 r->desc_head == &r->drop_desc; }) 115 /* Ring types (Rx & Tx). */ 123 * struct mlxbf_tmfifo_vdev - Structure of the TmFifo virtual device 124 * @vdev: virtio device, in which the vdev.id.device field has the 125 * VIRTIO_ID_xxx id to distinguish the virtual device. [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-fh.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2021, 2023-2024 Intel Corporation 4 * Copyright (C) 2015-2017 Intel Deutschland GmbH 12 #include "iwl-trans.h" 20 * Addresses are offsets from device's PCI hardware base address. 28 * Keep-Warm (KW) buffer base address. 31 * host DRAM powered on (via dummy accesses to DRAM) to maintain low-latency 33 * from going into a power-savings mode that would cause higher DRAM latency, 34 * and possible data over/under-runs, before all Tx/Rx is complete. 37 * of the buffer, which must be 4K aligned. Once this is set up, the device [all …]
|
/linux/drivers/peci/ |
H A D | request.c | 1 // SPDX-License-Identifier: GPL-2.0-only 69 /* Device Specific Completion Code (CC) Definition */ 90 return req->rx.buf[0]; in peci_request_data_cc() 94 * peci_request_status() - return -errno based on PECI completion code 97 * It can't be used for Ping(), GetDIB() and GetTemp() - for those commands we 100 * Return: -errno 107 dev_dbg(&req->device->dev, "ret: %#02x\n", cc); in peci_request_status() 115 return -EAGAIN; in peci_request_status() 117 return -EINVAL; in peci_request_status() 124 return -EIO; in peci_request_status() [all …]
|
/linux/drivers/scsi/aacraid/ |
H A 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 …]
|