/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/dsa/microchip/ |
H A D | lan937x_main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019-2024 Microchip Technology Inc. 21 /* marker for ports without built-in PHY */ 25 * lan9370_phy_addr - Mapping of LAN9370 switch ports to PHY addresses. 27 * Each entry corresponds to a specific port on the LAN9370 switch, 28 * where ports 1-4 are connected to integrated 100BASE-T1 PHYs, and 29 * Port 5 is connected to an RGMII interface without a PHY. The values 33 [0] = 2, /* Port 1, T1 AFE0 */ 34 [1] = 3, /* Port 2, T1 AFE1 */ 35 [2] = 5, /* Port 3, T1 AFE3 */ [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. * 71 * Period of the TX buffer reclaim timer. This timer does not need to run 72 * frequently as TX buffers are usually reclaimed by new TX packets. 170 unsigned int in_use; /* # of in-use command descriptors */ 174 unsigned int stop_thres; /* SW TX queue suspend threshold */ 214 /* T204 TX SW scheduler */ 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 */ [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 */ 29 #define MAC_INT_TX_DONE_L BIT(3) /* TX Low Priority Done */ 30 #define MAC_INT_TX_DONE_H BIT(2) /* TX High Priority Done */ 31 #define MAC_INT_TX_DES_ERR BIT(1) /* TX Descriptor Error */ [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/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/Documentation/netlink/specs/ |
H A D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 18 - 20 name: port-type 22 - 24 - [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/ata/ |
H A D | sata_highbank.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 activity LEDs and for mapping the ComboPHYs. 15 - Andre Przywara <andre.przywara@arm.com> 19 const: calxeda,hb-ahci 27 dma-coherent: true 29 calxeda,pre-clocks: 35 calxeda,post-clocks: 41 calxeda,led-order: [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | sdma.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright(c) 2015 - 2018 Intel Corporation. 22 #define MAX_SDMA_PKT_SIZE ((16 * 1024) - 1) 61 ((1ULL << SDMA_DESC0_BYTE_COUNT_WIDTH) - 1) 67 ((1ULL << SDMA_DESC0_PHY_ADDR_WIDTH) - 1) 74 ((1ULL << SDMA_DESC1_HEADER_UPDATE1_WIDTH) - 1) 80 ((1ULL << SDMA_DESC1_HEADER_MODE_WIDTH) - 1) 86 ((1ULL << SDMA_DESC1_HEADER_INDEX_WIDTH) - 1) 92 ((1ULL << SDMA_DESC1_HEADER_DWS_WIDTH) - 1) 98 ((1ULL << SDMA_DESC1_GENERATION_WIDTH) - 1) [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/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 38 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume 43 * "feature-split-event-channels" is introduced to separate guest TX 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" 56 * If supported, the backend will write the key "multi-queue-max-queues" to 60 * key "multi-queue-num-queues", set to the number they wish to use, which [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/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-b650v3.dts | 5 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "imx6q-bx50v3.dtsi" 49 compatible = "ge,imx6q-b650v3", "advantech,imx6q-ba16", "fsl,imx6q"; 52 stdout-path = &uart3; 55 panel-lvds0 { 56 compatible = "innolux,g121x1-l03"; 58 power-supply = <®_lvds>; 60 port { 62 remote-endpoint = <&lvds0_out>; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8550-hdk.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 22 compatible = "qcom,sm8550-hdk", "qcom,sm8550"; 23 chassis-type = "embedded"; 30 wcd938x: audio-codec { 31 compatible = "qcom,wcd9385-codec"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&wcd_default>; [all …]
|
H A D | sm8550-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 22 compatible = "qcom,sm8550-mtp", "qcom,sm8550"; 23 chassis-type = "handset"; 29 wcd938x: audio-codec { 30 compatible = "qcom,wcd9385-codec"; 32 pinctrl-names = "default"; 33 pinctrl-0 = <&wcd_default>; 35 qcom,micbias1-microvolt = <1800000>; [all …]
|
/linux/drivers/tty/serial/ |
H A D | serial_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Serial core port device driver 5 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/ 23 /* Only considers pending TX for now. Caller must take care of locking */ 24 static int __serial_port_busy(struct uart_port *port) in __serial_port_busy() argument 26 return !uart_tx_stopped(port) && in __serial_port_busy() 27 !kfifo_is_empty(&port->state->port.xmit_fifo); in __serial_port_busy() 33 struct uart_port *port; in serial_port_runtime_resume() local 36 port = port_dev->port; in serial_port_runtime_resume() 38 if (port->flags & UPF_DEAD) in serial_port_runtime_resume() [all …]
|