/linux/Documentation/hwmon/ |
H A D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 14 * Aquacomputer High Flow Next sensor 19 * Aquacomputer High Flow USB flow meter 20 * Aquacomputer MPS Flow devices 25 ----------- 31 virtual temperature sensors, as well as two flow sensors. The fans expose their 33 can be controlled. 37 available through debugfs are the serial number, firmware version and power-on 38 count. Attaching a fan to it is optional and allows it to be controlled using [all …]
|
/linux/net/sched/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 need a certain minimum data flow rate, or if you need to limit the 22 maximum data flow rate for traffic which matches specified criteria. 25 To administer these schedulers, you'll need the user-level utilities 54 in-depth articles. 74 Say Y here if you want to use an n-band priority queue packet 81 tristate "Hardware Multiqueue-aware Multi Band Queuing (MULTIQ)" 83 Say Y here if you want to use an n-band queue packet scheduler 199 re-ordering. This is often useful to simulate networks when 219 tristate "Multi-queue priority scheduler (MQPRIO)" [all …]
|
/linux/samples/pktgen/ |
H A D | pktgen_sample04_many_flows.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # and number of packets per flow controlled by variable $FLOWLEN 20 if [ -z "$DEST_IP" ]; then 21 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1" 23 [ -z "$DST_MAC" ] && DST_MAC="90:e2:ba:ff:ff:ff" 24 [ -z "$CLONE_SKB" ] && CLONE_SKB="0" 25 [ -z "$COUNT" ] && COUNT="0" # Zero means indefinitely 26 if [ -n "$DEST_IP" ]; then 28 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP) 30 if [ -n "$DST_PORT" ]; then [all …]
|
/linux/net/dccp/ccids/ |
H A D | Kconfig |
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_pwrctrl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 35 BIT[4] = sub-state 76 #define RT_RF_OFF_LEVL_HALT_NIC BIT(3) /* NIC halt, re-initialize hw parameters */ 77 #define RT_RF_OFF_LEVL_FREE_FW BIT(4) /* FW free, re-download the FW */ 83 #define RT_IN_PS_LEVEL(ppsc, _PS_FLAG) ((ppsc->cur_ps_level & _PS_FLAG) ? true : false) 84 #define RT_CLEAR_PS_LEVEL(ppsc, _PS_FLAG) (ppsc->cur_ps_level &= (~(_PS_FLAG))) 85 #define RT_SET_PS_LEVEL(ppsc, _PS_FLAG) (ppsc->cur_ps_level |= _PS_FLAG) 89 #define RT_PCI_ASPM_OSC_ENABLE BIT0 /* PCI ASPM controlled by OS according to ACPI Spec 5.0 */ 90 #define RT_PCI_ASPM_OSC_DISABLE BIT1 /* PCI ASPM controlled by driver or BIOS, i.e., force enable… [all …]
|
/linux/drivers/net/dsa/sja1105/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 This is the driver for the NXP SJA1105 (5-port) and SJA1110 (10-port) 15 - SJA1105E (Gen. 1, No TT-Ethernet) 16 - SJA1105T (Gen. 1, TT-Ethernet) 17 - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet) 18 - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet) 19 - SJA1105R (Gen. 2, SGMII, No TT-Ethernet) 20 - SJA1105S (Gen. 2, SGMII, TT-Ethernet) 21 - SJA1110A (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 10 ports) 22 - SJA1110B (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 9 ports) [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/netronome/ |
H A D | nfp.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 Network Flow Processor (NFP) Kernel Drivers 14 - `Overview`_ 15 - `Acquiring Firmware`_ 16 - `Devlink Info`_ 17 - `Configure Device`_ 18 - `Statistics`_ 23 This driver supports Netronome and Corigine's line of Network Flow Processor 25 are also incorporated in the companies' family of Agilio SmartNICs. The SR-IOV 35 Firmware files on the host filesystem contain card type (`AMDA-*` string), media [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/freescale/ |
H A D | dpaa.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 - Madalin Bucur <madalin.bucur@nxp.com> 9 - Camelia Groza <camelia.groza@nxp.com> 13 - DPAA Ethernet Overview 14 - DPAA Ethernet Supported SoCs 15 - Configuring DPAA Ethernet in your kernel 16 - DPAA Ethernet Frame Processing 17 - DPAA Ethernet Features 18 - DPAA IRQ Affinity and Receive Side Scaling 19 - Debugging [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-osd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 9 **Also known as On-Screen Display (OSD)** 57 --------------------------------------------- 59 .. code-block:: c 67 if (-1 == ioctl(fd, VIDIOC_G_FBUF, &fbuf)) { 79 if (-1 == fb_fd) { 99 fb_fd = -1; 103 for the video output overlay, or -1 if no device was found. */ 109 The overlay is controlled by source and target rectangles. The source 143 direction of the data flow. For more information see :ref:`crop`.
|
/linux/Documentation/userspace-api/media/ |
H A D | glossary.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 58 **Field-programmable Gate Array** 63 See https://en.wikipedia.org/wiki/Field-programmable_gate_array. 72 together make a larger user-facing functional peripheral. For 80 **Inter-Integrated Circuit** 82 A multi-master, multi-slave, packet switched, single-ended, 84 like sub-device hardware components. 86 See http://www.nxp.com/docs/en/user-guide/UM10204.pdf. 120 - :term:`CEC API`; 121 - :term:`Digital TV API`; [all …]
|
/linux/Documentation/devicetree/bindings/dma/ti/ |
H A D | k3-udma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/dma/ti/k3-udma.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 15 The UDMA-P is intended to perform similar (but significantly upgraded) 16 functions as the packet-oriented DMA used on previous SoC devices. The UDMA-P 18 The UDMA-P architecture facilitates the segmentation and reassembly of SoC DMA 28 is indirectly controlled by the order in which blocks are pushed into the DMA 29 on the Rx PSI-L interface. [all …]
|
/linux/Documentation/driver-api/soundwire/ |
H A D | bra.rst | 6 ----------- 12 ------------ 14 The SoundWire 1.x specification provides a mechanism to speed-up 28 10-byte overhead per frame (header and footer response). 36 Port 0, and likewise the Manager SHALL expose audio-like Ports 41 bandwidth. If there are no on-going audio transfers, the entire 61 need to be spaced in time or flow-controlled. 78 -------------- 84 (1) A CRC on the 7-byte header. This CRC helps the Peripheral Device 89 transmitted as the last-but-one byte in the packet, prior to the [all …]
|
/linux/drivers/tty/serial/ |
H A D | st-asc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * st-asc.c: ST Asynchronous serial controller (ASC) driver 5 * Copyright (C) 2003-2013 STMicroelectronics (R&D) Limited 26 #define DRIVER_NAME "st-asc" 48 /*---- UART Register definitions ------------------------------*/ 144 /*---- Inline function definitions ---------------------------*/ 154 return readl_relaxed(port->membase + offset); in asc_in() 156 return readl(port->membase + offset); in asc_in() 163 writel_relaxed(value, port->membase + offset); in asc_out() 165 writel(value, port->membase + offset); in asc_out() [all …]
|
H A D | vt8500_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 74 #define VT8500_CS8 (1 << 2) /* 8-bit data length (vs. 7-bit) */ 83 #define VT8500_SWRTSCTS (1 << 11) /* Software-controlled RTS/CTS */ 86 * Capability flags (driver-internal) 106 * have been allocated as we can't use pdev->id in 114 writel(val, port->membase + off); in vt8500_write() 119 return readl(port->membase + off); in vt8500_read() 128 vt8500_port->ier &= ~TX_FIFO_INTS; in vt8500_stop_tx() 129 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_stop_tx() 138 vt8500_port->ier &= ~RX_FIFO_INTS; in vt8500_stop_rx() [all …]
|
/linux/Documentation/misc-devices/ |
H A D | xilinx_sdfec.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 4 Xilinx SD-FEC Driver 10 This driver supports SD-FEC Integrated Block for Zynq |Ultrascale+ (TM)| RFSoCs. 15 …f SD-FEC core features, see the `SD-FEC Product Guide (PG256) <https://www.xilinx.com/cgi-bin/docs… 19 - Retrieval of the Integrated Block configuration and status information 20 - Configuration of LDPC codes 21 - Configuration of Turbo decoding 22 - Monitoring errors 24 Missing features, known issues, and limitations of the SD-FEC driver are as 27 - Only allows a single open file handler to any instance of the driver at any time [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | snps,dwc3-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/snps,dwc3-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Felipe Balbi <balbi@kernel.org> 14 vendor-specific implementation or as a standalone component. 17 - $ref: usb-drd.yaml# 18 - if: 24 - dr_mode 28 $ref: usb-xhci.yaml# [all …]
|
/linux/include/uapi/linux/ |
H A D | virtio_net.h | 56 #define VIRTIO_NET_F_MQ 22 /* Device supports Receive Flow 59 #define VIRTIO_NET_F_DEVICE_STATS 50 /* Device can provide device-level statistics. */ 74 * GSO-over-UDP-tunnel packets 77 * GSO-over-UDP-tunnel 82 * GSO-over-UDP-tunnel packets 85 * GSO-over-UDP-tunnel 132 * 0x00 - half duplex 133 * 0x01 - full duplex 146 * This header comes first in the scatter-gather list. If you don't 149 * This is bitwise-equivalent to the legacy struct virtio_net_hdr_mrg_rxbuf, [all …]
|
/linux/Documentation/dev-tools/ |
H A D | testing-overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0 26 ------------------------------------------ 28 KUnit (Documentation/dev-tools/kunit/index.rst) is an entirely in-kernel system 32 KUnit tests therefore are best written against small, self-contained parts 44 Documentation/dev-tools/kunit/style.rst 47 kselftest (Documentation/dev-tools/kselftest.rst), on the other hand, is 62 details. This aligns well with 'system' or 'end-to-end' testing. 72 and for finding corner-cases which are not covered by the appropriate test. 74 Documentation/dev-tools/gcov.rst is GCC's coverage testing tool, which can be 75 used with the kernel to get global or per-module coverage. Unlike KCOV, it [all …]
|
/linux/Documentation/security/ |
H A D | self-protection.rst | 2 Kernel Self-Protection 5 Kernel self-protection is the design and implementation of systems and 13 In the worst-case scenario, we assume an unprivileged local attacker 23 The goals for successful self-protection systems would be that they 24 are effective, on by default, require no opt-in by developers, have no 36 from limiting the exposed APIs available to userspace, making in-kernel 41 -------------------------------- 44 to redirect execution flow. To reduce the availability of these targets 47 Executable code and read-only data must not be writable 61 writable, data is not executable, and read-only data is neither writable [all …]
|
/linux/Documentation/hid/ |
H A D | intel-thc-hid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 - A natively half-duplex Quad I/O capable SPI master 11 - Low latency I2C interface to support HIDI2C compliant devices 12 - A HW sequencer with RW DMA capability to system memory 29 ------------------------------- 31 Below diagram illustrates the high-level architecture of THC software/hardware stack, which is fully 36 ---------------------------------------------- 37 | +-----------------------------------+ | 39 | +-----------------------------------+ | 40 | +-----------------------------------+ | [all …]
|
/linux/Documentation/i2c/ |
H A D | dev-interface.rst | 5 Usually, I2C devices are controlled by a kernel driver. But it is also 7 the /dev interface. You need to load module i2c-dev for this. 10 examine /sys/class/i2c-dev/ to see what number corresponds to which adapter. 11 Alternatively, you can run "i2cdetect -l" to obtain a formatted list of all 13 the i2c-tools package. 17 explained above. They should be called "i2c-%d" (i2c-0, i2c-1, ..., 18 i2c-10, ...). All 256 minor device numbers are reserved for I2C. 27 #include <linux/i2c-dev.h> 31 inspect /sys/class/i2c-dev/ or run "i2cdetect -l" to decide this. 41 snprintf(filename, 19, "/dev/i2c-%d", adapter_nr); [all …]
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 217 * if flow search fails. 221 * hash from Common Parser if flow search fails. 226 * flow search fails 257 * field in address search failure cache-only entry should 261 * If set, intra-BSS routing detection is enabled 276 * PPE routing even if RXOLE CCE or flow search indicate 'Use_PPE' 279 * buffer management for WiFi-to-PPE routing. [all …]
|
H A D | htc.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022, 2024 Qualcomm Innovation Center, Inc. All rights reserved. 22 /* FW/HTC requires 4-byte aligned streams */ in ath12k_htc_alloc_skb() 23 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath12k_htc_alloc_skb() 45 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath12k_htc_build_tx_ctrl_skb() 58 hdr = (struct ath12k_htc_hdr *)skb->data; in ath12k_htc_prepare_tx_skb() 61 hdr->htc_info = le32_encode_bits(ep->eid, HTC_HDR_ENDPOINTID) | in ath12k_htc_prepare_tx_skb() 62 le32_encode_bits((skb->len - sizeof(*hdr)), in ath12k_htc_prepare_tx_skb() 65 if (ep->tx_credit_flow_enabled) in ath12k_htc_prepare_tx_skb() [all …]
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 15 * struct iavf_stats - definition for an ethtool statistic 16 * @stat_string: statistic name to display in ethtool -S output 58 IAVF_QUEUE_STAT("%s-%u.packets", stats.packets), 59 IAVF_QUEUE_STAT("%s-%u.bytes", stats.bytes), 63 * iavf_add_one_ethtool_stat - copy the stat into the supplied buffer 86 p = (char *)pointer + stat->stat_offset; in iavf_add_one_ethtool_stat() 87 switch (stat->sizeof_stat) { in iavf_add_one_ethtool_stat() 102 stat->stat_string); in iavf_add_one_ethtool_stat() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
H A D | ethernet-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Copyright: |copy| 2017-2018 NXP 24 - network interfaces 25 - queues, channels 26 - buffer pools 27 - MAC/PHY 31 and exposes ABIs through which they can be configured and controlled. A few 45 ----------------------- 47 ----------------------- 53 ---------- ---------- ----------- [all …]
|