/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,wcd939x-sdw.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,wcd939x-sdw.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC. 14 It has RX and TX Soundwire devices. This bindings is for the devices. 23 qcom,tx-port-mapping: 25 Specifies static port mapping between device and host tx ports. 26 In the order of the device port index. [all …]
|
H A D | qcom,wcd938x-sdw.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,wcd938x-sdw.yaml# 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. This bindings is for the 24 qcom,tx-port-mapping: 26 Specifies static port mapping between slave and master tx ports. 27 In the order of slave port index. [all …]
|
H A D | qcom,wcd939x.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 WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC. 14 It has RX and TX Soundwire devices. 15 The WCD9390/WCD9395 IC has a functionally separate USB-C Mux subsystem 17 The Audio Headphone and Microphone data path between the Codec and the USB-C Mux 18 subsystems are external to the IC, thus requiring DT port-endpoint graph description 19 to handle USB-C altmode & orientation switching for Audio Accessory Mode. [all …]
|
H A D | rockchip,i2s-tdm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Nicolas Frattaroli <frattaroli.nicolas@gmail.com> 18 - $ref: dai-common.yaml# 23 - rockchip,px30-i2s-tdm 24 - rockchip,rk1808-i2s-tdm 25 - rockchip,rk3308-i2s-tdm 26 - rockchip,rk3568-i2s-tdm [all …]
|
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# 18 - $ref: qcom,wcd93xx-common.yaml# 23 - qcom,wcd9380-codec 24 - qcom,wcd9385-codec [all …]
|
H A D | qcom,wcd937x.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 WCD9370/WCD9375 Codec is a standalone Hi-Fi audio codec IC. 14 It has RX and TX Soundwire slave devices. 17 - $ref: dai-common.yaml# 18 - $ref: qcom,wcd93xx-common.yaml# 23 - const: qcom,wcd9370-codec 24 - items: [all …]
|
H A D | rockchip,rk3576-sai.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,rk3576-sai.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Nicolas Frattaroli <nicolas.frattaroli@collabora.com> 17 - $ref: dai-common.yaml# 21 const: rockchip,rk3576-sai 33 dma-names: 36 - enum: [tx, rx] 37 - const: rx [all …]
|
/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_int.c | 1 // SPDX-License-Identifier: GPL-2.0 30 int port; in spl2sw_rx_poll() local 34 /* Process high-priority queue and then low-priority queue. */ in spl2sw_rx_poll() 36 rx_pos = comm->rx_pos[queue]; in spl2sw_rx_poll() 37 rx_count = comm->rx_desc_num[queue]; in spl2sw_rx_poll() 40 sinfo = comm->rx_skb_info[queue] + rx_pos; in spl2sw_rx_poll() 41 desc = comm->rx_desc[queue] + rx_pos; in spl2sw_rx_poll() 42 cmd = desc->cmd1; in spl2sw_rx_poll() 47 port = FIELD_GET(RXD_PKT_SP, cmd); in spl2sw_rx_poll() 48 if (port < MAX_NETDEV_NUM && comm->ndev[port]) in spl2sw_rx_poll() [all …]
|
H A D | spl2sw_define.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define MAX_NETDEV_NUM 2 /* Maximum # of net-device */ 17 #define MAC_INT_PORT_ST_CHG BIT(19) /* Port Status Change */ 21 #define MAC_INT_TX_SOC_PAUSE_ON BIT(15) /* Soc Port TX Pause On */ 22 #define MAC_INT_RX_SOC_QUE_FULL BIT(14) /* Soc Port Out Queue Full */ 23 #define MAC_INT_TX_LAN1_QUE_FULL BIT(9) /* Port 1 Out Queue Full */ 24 #define MAC_INT_TX_LAN0_QUE_FULL BIT(8) /* Port 0 Out Queue Full */ 27 #define MAC_INT_RX_DONE_L BIT(5) /* RX Low Priority Done */ 28 #define MAC_INT_RX_DONE_H BIT(4) /* RX High Priority Done */ 32 #define MAC_INT_RX_DES_ERR BIT(0) /* Rx Descriptor Error */ [all …]
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 24 regmap_write(ocelot->targets[FDMA], reg, data); in ocelot_fdma_writel() 31 regmap_read(ocelot->targets[FDMA], reg, &retval); in ocelot_fdma_readl() 43 return (dma - base) / sizeof(struct ocelot_fdma_dcb); in ocelot_fdma_dma_idx() 48 return unlikely(idx == ring_sz - 1) ? 0 : idx + 1; in ocelot_fdma_idx_next() 53 return unlikely(idx == 0) ? ring_sz - 1 : idx - 1; in ocelot_fdma_idx_prev() 58 struct ocelot_fdma_rx_ring *rx_ring = &fdma->rx_ring; in ocelot_fdma_rx_ring_free() 60 if (rx_ring->next_to_use >= rx_ring->next_to_clean) in ocelot_fdma_rx_ring_free() 61 return OCELOT_FDMA_RX_RING_SIZE - in ocelot_fdma_rx_ring_free() 62 (rx_ring->next_to_use - rx_ring->next_to_clean) - 1; in ocelot_fdma_rx_ring_free() [all …]
|
/linux/Documentation/devicetree/bindings/hsi/ |
H A D | omap-ssi.txt | 9 - compatible: Should include "ti,omap3-ssi" or "ti,omap4-hsi" 10 - reg-names: Contains the values "sys" and "gdd" (in this order). 11 - reg: Contains a matching register specifier for each entry 12 in reg-names. 13 - interrupt-names: Contains the value "gdd_mpu". 14 - interrupts: Contains matching interrupt information for each entry 15 in interrupt-names. 16 - ranges: Represents the bus address mapping between the main 18 - clock-names: Must include the following entries: 22 - clocks: Contains a matching clock specifier for each entry in [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Broadcom BCM7xxx System Port Ethernet MAC driver 35 if (priv->is_lite && off >= RDMA_STATUS) in rdma_readl() 37 return readl_relaxed(priv->base + SYS_PORT_RDMA_OFFSET + off); in rdma_readl() 42 if (priv->is_lite && off >= RDMA_STATUS) in rdma_writel() 44 writel_relaxed(val, priv->base + SYS_PORT_RDMA_OFFSET + off); in rdma_writel() 49 if (!priv->is_lite) { in tdma_control_bit() 59 /* L2-interrupt masking/unmasking helpers, does automatic saving of the applied 60 * mask in a software copy to avoid CPU_MASK_STATUS reads in hot-paths. 66 priv->irq##which##_mask &= ~(mask); \ [all …]
|
/linux/include/xen/interface/io/ |
H A D | netif.h | 1 /* SPDX-License-Identifier: MIT */ 5 * Unified network-device I/O interface for Xen guest OSes. 7 * Copyright (c) 2003-2004, Keir Fraser 37 * If the client sends notification for rx requests then it should specify 38 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume 43 * "feature-split-event-channels" is introduced to separate guest TX 44 * and RX notification. Backend either doesn't support this feature or 48 * channels for TX and RX, advertise them to backend as 49 * "event-channel-tx" and "event-channel-rx" respectively. If frontend 50 * doesn't want to use this feature, it just writes "event-channel" [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 | cavium-pip.txt | 10 - compatible: "cavium,octeon-3860-pip" 14 - reg: The base address of the PIP's register bank. 16 - #address-cells: Must be <1>. 18 - #size-cells: Must be <0>. 21 - compatible: "cavium,octeon-3860-pip-interface" 25 - reg: The interface number. 27 - #address-cells: Must be <1>. 29 - #size-cells: Must be <0>. 31 Properties for PIP port which is a child the PIP interface: 32 - compatible: "cavium,octeon-3860-pip-port" [all …]
|
/linux/Documentation/networking/ |
H A D | scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 multi-processor systems. 17 - RSS: Receive Side Scaling 18 - RPS: Receive Packet Steering 19 - RFS: Receive Flow Steering 20 - Accelerated Receive Flow Steering 21 - XPS: Transmit Packet Steering 28 (multi-queue). On reception, a NIC can send different packets to different 33 generally known as “Receive-side Scaling” (RSS). The goal of RSS and 35 Multi-queue distribution can also be used for traffic prioritization, but [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8750-qrd.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 20 #include "sm8750-pmics.dtsi" 24 compatible = "qcom,sm8750-qrd", "qcom,sm8750"; 25 chassis-type = "handset"; 31 wcd939x: audio-codec { 32 compatible = "qcom,wcd9395-codec", "qcom,wcd9390-codec"; [all …]
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_dma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * 8250_dma.c - DMA Engine API support for 8250.c 10 #include <linux/dma-mapping.h> 17 struct uart_8250_dma *dma = p->dma; in __dma_tx_complete() 18 struct tty_port *tport = &p->port.state->port; in __dma_tx_complete() 22 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in __dma_tx_complete() 25 uart_port_lock_irqsave(&p->port, &flags); in __dma_tx_complete() 27 dma->tx_running = 0; in __dma_tx_complete() 29 uart_xmit_advance(&p->port, dma->tx_size); in __dma_tx_complete() 31 if (kfifo_len(&tport->xmit_fifo) < WAKEUP_CHARS) in __dma_tx_complete() [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | toeplitz.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # extended toeplitz test: test rxhash plus, optionally, either (1) rss mapping 5 # from rxhash to rx queue ('-rss') or (2) rps mapping from rxhash to cpu 6 # ('-rps <rps_map>') 8 # irq-pattern-prefix can be derived from /sys/kernel/irq/*/action, 9 # which is a driver-specific encoding. 11 # invoke as ./toeplitz.sh (-i <iface>) -u|-t -4|-6 \ 12 # [(-rss -irq_prefix <irq-pattern-prefix>)|(-rps <rps_map>)] 23 PORT=8000 34 echo $(ethtool -x "${DEV}" | [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 3 * Copyright (c) 2007-2013 Broadcom Corporation 47 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi_cnic() 57 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi() 74 * bnx2x_move_fp - move content of the fastpath structure. 80 * Makes sure the contents of the bp->fp[to].napi is kept 88 struct bnx2x_fastpath *from_fp = &bp->fp[from]; in bnx2x_move_fp() 89 struct bnx2x_fastpath *to_fp = &bp->fp[to]; in bnx2x_move_fp() 90 struct bnx2x_sp_objs *from_sp_objs = &bp->sp_objs[from]; in bnx2x_move_fp() 91 struct bnx2x_sp_objs *to_sp_objs = &bp->sp_objs[to]; in bnx2x_move_fp() 92 struct bnx2x_fp_stats *from_fp_stats = &bp->fp_stats[from]; in bnx2x_move_fp() [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 6 Written/copyright 1994-2001 by Donald Becker. [tulip.c] 20 * Constants (module parms?) for Rx work limit 22 * Jumbo frames / dev->change_mtu 23 * Adjust Rx FIFO threshold and Max Rx DMA burst on Rx FIFO error 58 static int debug = -1; 62 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */ 71 MODULE_PARM_DESC (rx_copybreak, "de2104x Breakpoint at which Rx packets are copied"); 93 #define NEXT_TX(N) (((N) + 1) & (DE_TX_RING_SIZE - 1)) 94 #define NEXT_RX(N) (((N) + 1) & (DE_RX_RING_SIZE - 1)) 96 (((CP)->tx_tail <= (CP)->tx_head) ? \ [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. * 170 unsigned int in_use; /* # of in-use command descriptors */ 186 unsigned int credits; /* # of available RX buffers */ 216 /* Per T204 TX port */ 218 unsigned int avail; /* available bits - quota */ 228 unsigned int max_avail; /* max bits to be sent to any port */ 229 unsigned int port; /* port index (round robin ports) */ member 230 unsigned int num; /* num skbs in per port queues */ 244 * separate the RX(in irq context) and TX state in order to decrease memory [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ 3 * Copyright 2008 - 2016 Freescale Semiconductor Inc. 22 /* More detailed FQ types - used for fine-grained WQ assignments */ 24 FQ_TYPE_RX_DEFAULT = 1, /* Rx Default FQs */ 25 FQ_TYPE_RX_ERROR, /* Rx Error FQs */ 26 FQ_TYPE_RX_PCD, /* Rx Parse Classify Distribute FQs */ 28 FQ_TYPE_TX_CONFIRM, /* Tx default Conf FQ (actually an Rx FQ) */ 30 FQ_TYPE_TX_ERROR, /* Tx Error FQs (these are actually Rx FQs) */ 57 /* used in the DMA mapping operations */ 86 /* Counters for QMan ERN frames - one counter per rejection code */ [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. */ 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); \ 80 #define NFP_NET_MAX_RX_RINGS 64 /* Max. # of Rx rings per device */ [all …]
|
/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | qca8k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Crispin <john@phrozen.org> 13 If the QCA8K switch is connect to an SoC's external mdio-bus, each subnode 14 describing a port needs to have a valid phandle referencing the internal PHY 15 it is connected to. This is because there is no N:N mapping of port and PHY 16 ID. To declare the internal mdio-bus configuration, declare an MDIO node in 17 the switch node and declare the phandle for the port, referencing the internal 18 PHY it is connected to. In this config, an internal mdio-bus is registered and [all …]
|