/openbmc/linux/Documentation/devicetree/bindings/sound/ |
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 | 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# 22 - qcom,wcd9380-codec 23 - qcom,wcd9385-codec 25 reset-gpios: [all …]
|
/openbmc/linux/drivers/soundwire/ |
H A D | amd_manager.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 208 * SDW0 Manager instance registers 6 CPU DAI (3 TX & 3 RX Ports) 209 * whereas SDW1 Manager Instance registers 2 CPU DAI (one TX & one RX port) 210 * Below is the CPU DAI <->Manager port number mapping 211 * i.e SDW0 Pin0 -> port number 0 -> AUDIO0 TX 212 * SDW0 Pin1 -> Port number 1 -> AUDIO1 TX 213 * SDW0 Pin2 -> Port number 2 -> AUDIO2 TX 214 * SDW0 Pin3 -> port number 3 -> AUDIO0 RX 215 * SDW0 Pin4 -> Port number 4 -> AUDIO1 RX 216 * SDW0 Pin5 -> Port number 5 -> AUDIO2 RX [all …]
|
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_driver.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/nvmem-consumer.h> 28 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_open() 31 netdev_dbg(ndev, "Open port = %x\n", mac->lan_port); in spl2sw_ethernet_open() 33 comm->enable |= mac->lan_port; in spl2sw_ethernet_open() 37 /* Enable TX and RX interrupts */ in spl2sw_ethernet_open() 38 mask = readl(comm->l2sw_reg_base + L2SW_SW_INT_MASK_0); in spl2sw_ethernet_open() 40 writel(mask, comm->l2sw_reg_base + L2SW_SW_INT_MASK_0); in spl2sw_ethernet_open() 42 phy_start(ndev->phydev); in spl2sw_ethernet_open() 52 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_stop() [all …]
|
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 …]
|
/openbmc/linux/drivers/net/ethernet/cortina/ |
H A D | gemini.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * Michał Mirosław <mirq-linux@rere.qmqm.pl> 22 #include <linux/dma-mapping.h> 46 #define DRV_NAME "gmac-gemini" 49 static int debug = -1; 86 * struct gmac_queue_page - page buffer per-page info 88 * @mapping: the dma address handle 92 dma_addr_t mapping; member 156 spinlock_t irq_lock; /* Locks IRQ-related registers */ 227 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_update_config0_reg() local [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 34 u32 reg = readl_relaxed(priv->base + offset + off); \ 40 writel_relaxed(val, priv->base + offset + off); \ 59 if (priv->is_lite && off >= RDMA_STATUS) in rdma_readl() 61 return readl_relaxed(priv->base + SYS_PORT_RDMA_OFFSET + off); in rdma_readl() 66 if (priv->is_lite && off >= RDMA_STATUS) in rdma_writel() 68 writel_relaxed(val, priv->base + SYS_PORT_RDMA_OFFSET + off); in rdma_writel() 73 if (!priv->is_lite) { in tdma_control_bit() 83 /* L2-interrupt masking/unmasking helpers, does automatic saving of the applied [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/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 | 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2017-2019 NXP */ 8 #include <linux/dma-mapping.h> 19 #define ENETC_MAX_MTU (ENETC_MAC_MAXFRM_SIZE - \ 47 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD) 49 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM) 61 /* max # of chained Tx BDs is 15, including head and extension BD */ 91 struct device *dev; /* for DMA mapping */ 96 void *bd_base; /* points to Rx or Tx BD ring */ 107 struct device *dev; /* for DMA mapping */ [all …]
|
/openbmc/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/ 22 /* Only considers pending TX for now. Caller must take care of locking */ 23 static int __serial_port_busy(struct uart_port *port) in __serial_port_busy() argument 25 return !uart_tx_stopped(port) && in __serial_port_busy() 26 uart_circ_chars_pending(&port->state->xmit); in __serial_port_busy() 32 struct uart_port *port; in serial_port_runtime_resume() local 35 port = port_dev->port; in serial_port_runtime_resume() 37 if (port->flags & UPF_DEAD) in serial_port_runtime_resume() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | dma-ep93xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/dma-mapping.h> 30 * struct ep93xx_dma_data - configuration data for the EP93xx dmaengine 31 * @port: peripheral which is requesting the channel 32 * @direction: TX/RX channel 40 int port; member 46 * struct ep93xx_dma_chan_data - platform specific data for a DMA channel 58 * struct ep93xx_dma_platform_data - platform data for the dmaengine driver 63 * M2P channels, contract is that even channels are for TX and odd for RX. 73 return !strcmp(dev_name(chan->device->dev), "ep93xx-dma-m2p"); in ep93xx_dma_chan_is_m2p() [all …]
|
/openbmc/qemu/include/hw/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 …]
|
/openbmc/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 circ_buf *xmit = &p->port.state->xmit; in __dma_tx_complete() 22 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in __dma_tx_complete() 25 spin_lock_irqsave(&p->port.lock, 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() 32 uart_write_wakeup(&p->port); in __dma_tx_complete() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iommu/ |
H A D | mediatek,iommu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yong Wu <yong.wu@mediatek.com> 15 pagetable, and only supports 4K size page mapping. Generation two uses the 16 ARM Short-Descriptor translation table format for address translation. 24 +--------+ 26 gals0-rx gals1-rx (Global Async Local Sync rx) 29 gals0-tx gals1-tx (Global Async Local Sync tx) 31 +--------+ [all …]
|