| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/ti/ |
| D | k3-ringacc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: "http://devicetree.org/schemas/soc/ti/k3-ringacc.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Santosh Shilimkar <ssantosh@kernel.org> 12 - Grygorii Strashko <grygorii.strashko@ti.com> 31 - const: ti,am654-navss-ringacc 35 - description: real time registers regions 36 - description: fifos registers regions [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
| D | octeon_device.c | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 80 /* Num of desc for rx rings */ 83 /* Num of desc for tx rings */ 109 /* Num of desc for rx rings */ 112 /* Num of desc for tx rings */ 188 /* Num of desc for rx rings */ 191 /* Num of desc for tx rings */ 217 /* Num of desc for rx rings */ 220 /* Num of desc for tx rings */ [all …]
|
| D | octeon_config.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 25 /*--------------------------CONFIG VALUES------------------------*/ 121 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) 122 #define CFG_GET_IQ_MAX_Q(cfg) ((cfg)->iq.max_iqs) 123 #define CFG_GET_IQ_PENDING_LIST_SIZE(cfg) ((cfg)->iq.pending_list_size) 124 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) 125 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) 126 #define CFG_GET_IQ_DB_TIMEOUT(cfg) ((cfg)->iq.db_timeout) 128 #define CFG_GET_IQ_INTR_PKT(cfg) ((cfg)->iq.iq_intr_pkt) [all …]
|
| /kernel/linux/linux-5.10/net/9p/ |
| D | trans_xen.c | 47 #define XEN_9PFS_RING_SIZE(ring) XEN_FLEX_RING_SIZE(ring->intf->ring_order) 81 struct xen_9pfs_dataring *rings; member 98 return -EINVAL; in p9_xen_create() 102 if (!strcmp(priv->tag, addr)) { in p9_xen_create() 103 priv->client = client; in p9_xen_create() 109 return -EINVAL; in p9_xen_create() 118 if (priv->client == client) { in p9_xen_close() 119 priv->client = NULL; in p9_xen_close() 131 cons = ring->intf->out_cons; in p9_xen_write_todo() 132 prod = ring->intf->out_prod; in p9_xen_write_todo() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/ti/ |
| D | k3-ringacc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 8 #include <linux/dma-mapping.h> 14 #include <linux/soc/ti/k3-ringacc.h> 26 * struct k3_ring_rt_regs - The RA realtime Control/Status Registers region 49 * struct k3_ring_fifo_regs - The Ring Accelerator Queues Registers region 64 * struct k3_ringacc_proxy_gcfg_regs - RA Proxy Global Config MMIO Region 77 * struct k3_ringacc_proxy_target_regs - Proxy Datapath MMIO Region 92 #define K3_RINGACC_PROXY_NOT_USED (-1) 113 * struct k3_ring_state - Internal state tracking structure [all …]
|
| /kernel/linux/linux-5.10/drivers/mailbox/ |
| D | bcm-flexrm-mailbox.c | 19 * manager provides a set of rings which can be used to submit 23 * rings where each mailbox channel represents a separate FlexRM ring. 33 #include <linux/dma-mapping.h> 40 #include <linux/mailbox/brcm-message.h> 60 (!((addr) & ((0x1 << RING_BD_ALIGN_ORDER) - 1))) 76 /* Per-Ring register offsets */ 268 int num; member 295 struct flexrm_ring *rings; member 326 return -EIO; in flexrm_cmpl_desc_to_error() 332 return -ETIMEDOUT; in flexrm_cmpl_desc_to_error() [all …]
|
| 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 21 * rings. The tx_msg_start descriptor index indicates where the last message 42 #include <linux/mailbox/brcm-message.h> 44 #include <linux/dma-direction.h> 45 #include <linux/dma-mapping.h> 61 /* Rings are 8k aligned */ 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 …]
|
| /kernel/linux/linux-5.10/include/xen/interface/io/ |
| D | blkif.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Unified block-device I/O interface for Xen guest OSes. 7 * Copyright (c) 2003-2004, Keir Fraser 17 * Front->back notifications: When enqueuing a new request, sending a 19 * hold-off mechanism provided by the ring macros). Backends must set 22 * Back->front notifications: When enqueuing a new response, sending a 24 * hold-off mechanism provided by the ring macros). Frontends must set 32 * Multiple hardware queues/rings: 33 * If supported, the backend will write the key "multi-queue-max-queues" to 37 * key "multi-queue-num-queues" with the number they wish to use, which must be [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
| D | lpfc_sli.h | 4 * Copyright (C) 2017-2019 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 61 uint16_t iotag; /* pre-assigned IO tag */ 62 uint16_t sli4_lxritag; /* logical pre-assigned XRI. */ 63 uint16_t sli4_xritag; /* pre-assigned XRI, (OXID) tag. */ 69 union lpfc_wqe128 wqe; /* SLI-4 */ 70 IOCB_t iocb; /* SLI-3 */ 74 uint8_t retry; /* retry counter for IOCB cmd - if needed */ 79 #define LPFC_IO_FCP 4 /* FCP command -- iocbq in scsi_buf */ [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
| D | adf_transport_debug.c | 1 // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) 2 /* Copyright(c) 2014 - 2020 Intel Corporation */ 15 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_start() 21 if (*pos >= (ADF_SIZE_TO_RING_SIZE_IN_BYTES(ring->ring_size) / in adf_ring_start() 22 ADF_MSG_SIZE_TO_BYTES(ring->msg_size))) in adf_ring_start() 25 return ring->base_addr + in adf_ring_start() 26 (ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++); in adf_ring_start() 31 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_next() 33 if (*pos >= (ADF_SIZE_TO_RING_SIZE_IN_BYTES(ring->ring_size) / in adf_ring_next() 34 ADF_MSG_SIZE_TO_BYTES(ring->msg_size))) in adf_ring_next() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | mhi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 10 #include <linux/dma-direction.h> 27 * enum mhi_callback - MHI callback 51 * enum mhi_flags - Transfer flags 63 * enum mhi_device_type - Device types 73 * enum mhi_ch_type - Channel types 89 * struct image_info - Firmware and RDDM table 102 * struct mhi_link_info - BW requirement 103 * target_link_speed - Link speed as defined by TLS bits in LinkControl reg [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
| D | gve.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2019 Google, Inc. 10 #include <linux/dma-mapping.h> 75 /* An RX ring that contains a power-of-two sized desc and data ring. */ 80 u64 rbytes; /* free-running bytes received */ 81 u64 rpackets; /* free-running packets received */ 82 u32 cnt; /* free-running total number of completed packets */ 83 u32 fill_cnt; /* free-running total number of descs and buffs posted */ 85 u64 rx_copybreak_pkt; /* free-running count of copybreak packets */ 86 u64 rx_copied_pkt; /* free-running total number of copied packets */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | intel_gt.c | 1 // SPDX-License-Identifier: MIT 24 gt->i915 = i915; in intel_gt_init_early() 25 gt->uncore = &i915->uncore; in intel_gt_init_early() 27 spin_lock_init(>->irq_lock); in intel_gt_init_early() 29 mutex_init(>->tlb_invalidate_lock); in intel_gt_init_early() 31 INIT_LIST_HEAD(>->closed_vma); in intel_gt_init_early() 32 spin_lock_init(>->closed_lock); in intel_gt_init_early() 40 intel_rps_init_early(>->rps); in intel_gt_init_early() 41 intel_uc_init_early(>->uc); in intel_gt_init_early() 46 gt->ggtt = ggtt; in intel_gt_init_hw_early() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/agere/ |
| D | et131x.c | 2 * 10/100/1000 Base-T Ethernet Driver for the ET1301 and ET131x series MACs 10 *------------------------------------------------------------------------------ 87 MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver for the ET1310 by Agere Systems"); 106 * In both cases, when flow control is enabled for either Tx or bi-direction, 108 * buffer rings are running low. 156 #define ET131X_PCI_DEVICE_ID_GIG 0xED00 /* ET1310 1000 Base-T 8 */ 157 #define ET131X_PCI_DEVICE_ID_FAST 0xED01 /* ET1310 100 Base-T */ 173 /* number of RFDs - default and min */ 189 u32 word2; /* Bits 10-31 reserved, 0-9 descriptor */ 197 * PE-MCXMAC Data Sheet IPD DS54 0210-1 (also IPD-DS80 0205-2) [all …]
|
| /kernel/linux/linux-5.10/drivers/block/xen-blkback/ |
| D | xenbus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #define pr_fmt(fmt) "xen-blkback: " fmt 18 /* On the XenBus the max length of 'ring-ref%u'. */ 40 return be->dev; in xen_blkbk_xenbus() 58 struct xenbus_device *dev = blkif->be->dev; in blkback_name() 60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name() 70 snprintf(buf, TASK_COMM_LEN, "%d.%s", blkif->domid, devname); in blkback_name() 84 if (!blkif->rings || !blkif->rings[0].irq || !blkif->vbd.bdev) in xen_update_blkif_status() 88 if (blkif->be->dev->state == XenbusStateConnected) in xen_update_blkif_status() 92 connect(blkif->be); in xen_update_blkif_status() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
| D | sunhme.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 #define GREG_STAT_ACNTEXP 0x00000004 /* Align-error counter expired */ 39 #define GREG_STAT_CCNTEXP 0x00000008 /* CRC-error counter expired */ 40 #define GREG_STAT_LCNTEXP 0x00000010 /* Length-error counter expired */ 42 #define GREG_STAT_CVCNTEXP 0x00000040 /* Code-violation counter expired */ 46 #define GREG_STAT_MAXPKTERR 0x00000400 /* Max-packet size error */ 47 #define GREG_STAT_NCNTEXP 0x00000800 /* Normal-collision counter expired */ 48 #define GREG_STAT_ECNTEXP 0x00001000 /* Excess-collision counter expired */ 49 #define GREG_STAT_LCCNTEXP 0x00002000 /* Late-collision counter expired */ 50 #define GREG_STAT_FCNTEXP 0x00004000 /* First-collision counter expired */ [all …]
|
| /kernel/linux/linux-5.10/arch/sparc/include/asm/ |
| D | vio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 84 #define VIO_DESC_MODE 0x02 /* In-band descriptors */ 85 #define VIO_DRING_MODE 0x03 /* Descriptor rings */ 147 #define VD_OP_GET_WCE 0x04 /* Get write-cache status */ 148 #define VD_OP_SET_WCE 0x05 /* Enable/disable write-cache */ 186 u16 num_cyl; /* Num data cylinders */ 187 u16 alt_cyl; /* Num alternate cylinders */ 189 u16 num_hd; /* Num heads */ 190 u16 num_sec; /* Num sectors */ 194 u16 phy_cyl; /* Num physical cylinders */ [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/ti/ |
| D | k3-j7200-mcu-wakeup.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 10 compatible = "ti,k2g-sci"; 11 ti,host-id = <12>; 13 mbox-names = "rx", "tx"; 18 reg-names = "debug_messages"; 21 k3_pds: power-controller { 22 compatible = "ti,sci-pm-domain"; 23 #power-domain-cells = <2>; 27 compatible = "ti,k2g-sci-clk"; [all …]
|
| D | k3-am65-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/ 7 #include <dt-bindings/phy/phy-am654-serdes.h> 11 compatible = "mmio-sram"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 atf-sram@0 { 21 sysfw-sram@f0000 { 25 l3cache-sram@100000 { 30 gic500: interrupt-controller@1800000 { [all …]
|
| D | k3-am65-mcu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/ 9 mcu_conf: scm-conf@40f00000 { 10 compatible = "syscon", "simple-mfd"; 12 #address-cells = <1>; 13 #size-cells = <1>; 17 compatible = "ti,am654-phy-gmii-sel"; 19 #phy-cells = <1>; 24 compatible = "ti,am654-uart"; 26 reg-shift = <2>; [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * ice_vsi_type_str - maps VSI type enum to string equivalents 33 * ice_vsi_ctrl_all_rx_rings - Start or stop a VSI's Rx rings 35 * @ena: start or stop the Rx rings 37 * First enable/disable all of the Rx rings, flush any remaining writes, and 39 * let all of the register writes complete when enabling/disabling the Rx rings 47 for (i = 0; i < vsi->num_rxq; i++) in ice_vsi_ctrl_all_rx_rings() 50 ice_flush(&vsi->back->hw); in ice_vsi_ctrl_all_rx_rings() 52 for (i = 0; i < vsi->num_rxq; i++) { in ice_vsi_ctrl_all_rx_rings() 62 * ice_vsi_alloc_arrays - Allocate queue and vector pointer arrays for the VSI [all …]
|
| D | ice.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/dma-mapping.h> 84 #define ICE_RES_MISC_VEC_ID (ICE_RES_VALID_BIT - 1) 94 #define ICE_MAX_MTU (ICE_AQ_SET_MAC_FRAME_SIZE_MAX - ICE_ETH_PKT_HDR_PAD) 100 #define ICE_TX_DESC(R, i) (&(((struct ice_tx_desc *)((R)->desc))[i])) 101 #define ICE_RX_DESC(R, i) (&(((union ice_32b_rx_flex_desc *)((R)->desc))[i])) 102 #define ICE_TX_CTX_DESC(R, i) (&(((struct ice_tx_ctx_desc *)((R)->desc))[i])) 103 #define ICE_TX_FDIRDESC(R, i) (&(((struct ice_fltr_desc *)((R)->desc))[i])) 107 for ((i) = 0; (i) < (pf)->num_alloc_vsi; (i)++) 111 for ((i) = 0; (i) < (vsi)->num_txq; (i)++) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 4 #include <linux/dma-mapping.h> 9 #include <linux/dma-direction.h> 14 #define cmq_ring_to_dev(ring) (&(ring)->dev->pdev->dev) 18 int ntu = ring->next_to_use; in hclge_ring_space() 19 int ntc = ring->next_to_clean; in hclge_ring_space() 20 int used = (ntu - ntc + ring->desc_num) % ring->desc_num; in hclge_ring_space() 22 return ring->desc_num - used - 1; in hclge_ring_space() 27 int ntu = ring->next_to_use; in is_valid_csq_clean_head() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
| D | core.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 346 /* the following are protected by ar->data_lock */ 384 #define ATH11K_DEFAULT_NOISE_FLOOR -95 501 /* pdev_idx starts from 0 whereas pdev->pdev_id starts with 1 */ 701 /* Below regd's are protected by ab->data_lock */ 751 /* Total on-channel time */ 763 /* Num HTT cookies queued to dispatch list */ 765 /* Num HTT cookies dispatched */ 767 /* Num MSDU queued to WAL */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
| D | atl1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. 4 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com> 5 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com> 8 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 82 /* Wake-On-Lan control register */ 215 /* RX/TX count-down timer to trigger CMB-write. 2us resolution. */ 302 #define AUTONEG_ADVERTISE_SPEED_DEFAULT 0x002F /* All but 1000-Half */ 431 * The L1 transmit packet descriptor is comprised of four 32-bit words. 434 * +---------------------------------------+ [all …]
|