/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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, 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 …]
|
/openbmc/linux/drivers/staging/most/i2c/ |
H A 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 …]
|
/openbmc/linux/tools/spi/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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() 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/tools/net/ynl/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,wcd938x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC. 14 It has RX and TX Soundwire slave devices. 17 - $ref: dai-common.yaml# 22 - qcom,wcd9380-codec 23 - qcom,wcd9385-codec 25 reset-gpios: [all …]
|
/openbmc/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. 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 …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | ice.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2018-2021 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Important Notes 16 - Additional Features & Configurations 17 - Performance Optimization 28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that 43 ------------------------------------------- 47 length of time the packets are buffered in the device and associated memory, [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/vdpa/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 Enable this module to support vDPA device that uses a 13 tristate "vDPA device simulator core" 19 Enable this module to support vDPA device simulators. These devices 23 tristate "vDPA simulator for networking device" 27 vDPA networking device simulator which loops TX traffic back to RX. 30 tristate "vDPA simulator for block device" 33 vDPA block device simulator which terminates IO request in a 37 tristate "VDUSE (vDPA Device in Userspace) support" 43 With VDUSE it is possible to emulate a vDPA Device [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/drivers/video/ |
H A D | logicore_dp_tx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 /* The maximum pre-emphasis level is 3 */ 38 /* Error out if checking for a connected device times out more than 50 times */ 42 * enum link_training_states - States for link training state machine 62 * struct aux_transaction - Description of an AUX channel transaction 76 * struct main_stream_attributes - Main stream attributes 87 * to the native internal 16-bit datapath 150 * struct link_config - Description of link configuration 162 * @pe_level: Pre-emphasis/cursor level for each lane 177 * struct dp_tx - Private data structure of LogiCore DP TX devices [all …]
|