| /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/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/firmware/samsung/ |
| H A D | exynos-acpm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/device.h> 15 #include <linux/firmware/samsung/exynos-acpm-protocol.h> 19 #include <linux/mailbox/exynos-message.h> 31 #include "exynos-acpm.h" 32 #include "exynos-acpm-pmic.h" 42 * struct acpm_shmem - shared memory configuration information. 56 * struct acpm_chan_shmem - descriptor of a shared memory channel. 60 * @rx_rear: rear pointer of APM RX queue (TX for AP). 61 * @rx_front: front pointer of APM RX queue (TX for AP). [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/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 …]
|
| /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/tools/net/ynl/pyynl/ |
| H A D | ethtool.py | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 17 Verify and convert command-line arguments to the ynl-compatible request. 20 valid_attrs.remove('header') # not user-provided 44 Pretty-print a set of fields from the reply. desc specifies the 69 Print out the speed-lik [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/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/ |
| 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) 147 u64 hnc_rx_bytes; /* Rx bytes */ 149 u64 hnc_rx_uc_pkts; /* Rx UC packets */ 150 u64 hnc_rx_mc_pkts; /* Rx MC packets */ 151 u64 hnc_rx_bc_pkts; /* Rx BC packets */ [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/drivers/iio/accel/ |
| H A D | sca3000.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sca3000_core.c -- support VTI sca3000 series accelerometers via SPI 12 #include <linux/device.h> 44 /* Temp read untested - the e05 doesn't have the sensor */ 63 * (approx 1 - 25Hz) and then a programmable threshold used to trigger 82 /* Only available for SCA3000-D03 and SCA3000-D01 */ 89 * BE VERY CAREFUL WITH THIS, IF 3 BITS ARE NOT SET the device 138 * Bypass - Bypass the low-pass filter in the signal channel so as to increase 141 * Narrow - Narrow low-pass filtering of the signal channel and half output 144 * Wide - Widen low-pass filtering of signal channel to increase bandwidth [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/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 …]
|
| /linux/Documentation/networking/device_drivers/can/ctu/ |
| H A D | ctucanfd-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 10 ------------------------ 19 `Vivado integration <https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top>`_ 20 and Intel Cyclone V 5CSEMA4U23C6 based DE0-Nano-SoC Terasic board 21 `QSys integration <https://gitlab.fel.cvut.cz/canbus/intel-soc-ctucanfd>`_ 23 `PCIe integration <https://gitlab.fel.cvut.cz/canbus/pcie-ctucanfd>`_ of the core. 26 not have enumeration support, and the device must be specified in Device Tree. 27 This kind of devices is called platform device in the kernel and is 28 handled by a platform device driver. 33 version of emulation support can be cloned from ctu-canfd branch of QEMU local [all …]
|
| /linux/include/linux/mfd/ |
| H A D | ipaq-micro.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 44 * struct ipaq_micro_txdev - TX state 56 * struct ipaq_micro_rxdev - RX state 57 * @state: context of RX state machine 60 * @len: RX buffer length 61 * @index: RX buffer index 62 * @buf: RX buffer 74 * struct ipaq_micro_msg - message to the iPAQ microcontroller 75 * @id: 4-bit ID of the message 78 * @rx_len: length of received RX data [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | xilinx_uartps.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2011 - 2014 Xilinx, Inc. 7 * This driver has originally been pushed by Xilinx using a Zynq-branding. This 38 /* Rx Trigger level */ 41 MODULE_PARM_DESC(rx_trigger_level, "Rx trigger level, 1-63 bytes"); 43 /* Rx Timeout */ 46 MODULE_PARM_DESC(rx_timeout, "Rx timeout, 1-255"); 56 #define CDNS_UART_RXTOUT 0x1C /* RX Timeout */ 57 #define CDNS_UART_RXWM 0x20 /* RX FIFO Trigger Level */ 67 #define CDNS_UART_RXBS 0x48 /* RX FIFO byte status register */ [all …]
|
| /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 …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 6 * Declarations for Netronome network device driver. 21 #include <linux/io-64-nonatomic-hi-lo.h> 32 if (__nn->dp.netdev) \ 33 netdev_printk(lvl, __nn->dp.netdev, fmt, ## args); \ 35 dev_printk(lvl, __nn->dp.dev, "ctrl: " fmt, ## args); \ 48 if (__dp->netdev) \ 49 netdev_warn(__dp->netdev, fmt, ## args); \ 51 dev_warn(__dp->dev, fmt, ## args); \ [all …]
|
| /linux/drivers/leds/trigger/ |
| H A D | ledtrig-tty.c | 1 // SPDX-License-Identifier: GPL-2.0 19 int rx, tx; member 44 static int ledtrig_tty_wait_for_completion(struct device *dev) in ledtrig_tty_wait_for_completion() 49 ret = wait_for_completion_timeout(&trigger_data->sysfs, in ledtrig_tty_wait_for_completion() 52 return -ETIMEDOUT; in ledtrig_tty_wait_for_completion() 57 static ssize_t ttyname_show(struct device *dev, in ttyname_show() 64 reinit_completion(&trigger_data->sysfs); in ttyname_show() 69 if (trigger_data->ttyname) in ttyname_show() 70 len = sprintf(buf, "%s\n", trigger_data->ttyname); in ttyname_show() 75 static ssize_t ttyname_store(struct device *dev, in ttyname_store() [all …]
|
| /linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/ |
| H A D | ucc.txt | 4 - device_type : should be "network", "hldc", "uart", "transparent" 6 - compatible : could be "ucc_geth" or "fsl_atm" and so on. 7 - cell-index : the ucc number(1-8), corresponding to UCCx in UM. 8 - reg : Offset and length of the register set for the device 9 - interrupts : <a b> where a is the interrupt number and b is a 14 - pio-handle : The phandle for the Parallel I/O port configuration. 15 - port-number : for UART drivers, the port number to use, between 0 and 3. 16 This usually corresponds to the /dev/ttyQE device, e.g. <0> = /dev/ttyQE0. 17 The port number is added to the minor number of the device. Unlike the 18 CPM UART driver, the port-number is required for the QE UART driver. [all …]
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* ZD1211 USB-WLAN driver for Linux 4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> 5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> 6 * Copyright (C) 2006-2007 Michael Wu <flamingice@sourmilk.net> 12 #include <linux/device.h> 104 /* USB device initialization */ 108 const struct firmware **fw, const char *name, struct device *device) in request_fw_file() argument 112 dev_dbg_f(device, "fw name %s\n", name); in request_fw_file() 114 r = request_firmware(fw, name, device); in request_fw_file() [all …]
|