| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/ti/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/net/9p/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/ti/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/mailbox/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | mic_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 27 #define __mic_align(a, x) (((a) + (x) - 1) & ~((x) - 1)) 33 * @type: Device type: console/network/disk etc. Type 0/-1 terminates. 81 * @h2c_scif_db - Host to card SCIF doorbell set by card 82 * @c2h_scif_db - Card to host SCIF doorbell set by host 83 * @scif_host_dma_addr - SCIF host queue pair DMA address 84 * @scif_card_dma_addr - SCIF card queue pair DMA address 112 * (avail and desc rings) 114 * @num: The number of entries in the virtio_ring 119 __le16 num; member [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | mic_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 27 #define __mic_align(a, x) (((a) + (x) - 1) & ~((x) - 1)) 33 * @type: Device type: console/network/disk etc. Type 0/-1 terminates. 81 * @h2c_scif_db - Host to card SCIF doorbell set by card 82 * @c2h_scif_db - Card to host SCIF doorbell set by host 83 * @scif_host_dma_addr - SCIF host queue pair DMA address 84 * @scif_card_dma_addr - SCIF card queue pair DMA address 112 * (avail and desc rings) 114 * @num: The number of entries in the virtio_ring 119 __le16 num; member [all …]
|
| /OK3568_Linux_fs/kernel/include/xen/interface/io/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_flowring.h | 2 * @file Header file describing the flow rings DHD interfaces. 4 * Flow rings are transmit traffic (=propagating towards antenna) related entities. 6 * Provides type definitions and function prototypes used to create, delete and manage flow rings at 11 * Copyright (C) 1999-2017, Broadcom Corporation 32 * <<Broadcom-WL-IPTag/Open:>> 34 * $Id: dhd_flowring.h 697690 2017-05-04 14:16:18Z $ 47 /* Number of H2D common rings */ 79 #define DHD_IF_ROLE(pub, idx) (((if_flow_lkup_t *)(pub)->if_flow_lkup)[idx].role) 101 (flow_ring_node_t *)&(((flow_ring_node_t *)((dhdp)->flow_ring_table))[flowid]) 128 #define DHD_FLOW_QUEUE_LEN(queue) ((int)(queue)->len) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_flowring.h | 2 * @file Header file describing the flow rings DHD interfaces. 4 * Flow rings are transmit traffic (=propagating towards antenna) related entities. 6 * Provides type definitions and function prototypes used to create, delete and manage flow rings at 11 * Copyright (C) 1999-2017, Broadcom Corporation 32 * <<Broadcom-WL-IPTag/Open:>> 34 * $Id: dhd_flowring.h 697690 2017-05-04 14:16:18Z $ 47 /* Number of H2D common rings */ 79 #define DHD_IF_ROLE(pub, idx) (((if_flow_lkup_t *)(pub)->if_flow_lkup)[idx].role) 101 (flow_ring_node_t *)&(((flow_ring_node_t *)((dhdp)->flow_ring_table))[flowid]) 128 #define DHD_FLOW_QUEUE_LEN(queue) ((int)(queue)->len) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_flowring.h | 2 * @file Header file describing the flow rings DHD interfaces. 4 * Flow rings are transmit traffic (=propagating towards antenna) related entities. 6 * Provides type definitions and function prototypes used to create, delete and manage flow rings at 11 * Copyright (C) 1999-2017, Broadcom Corporation 32 * <<Broadcom-WL-IPTag/Open:>> 34 * $Id: dhd_flowring.h 697690 2017-05-04 14:16:18Z $ 47 /* Number of H2D common rings */ 79 #define DHD_IF_ROLE(pub, idx) (((if_flow_lkup_t *)(pub)->if_flow_lkup)[idx].role) 101 (flow_ring_node_t *)&(((flow_ring_node_t *)((dhdp)->flow_ring_table))[flowid]) 128 #define DHD_FLOW_QUEUE_LEN(queue) ((int)(queue)->len) [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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 …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/is_valid/ |
| H A D | debug_complement_graph.hpp | 32 os << "num rings: " << graph.m_num_rings << std::endl; in debug_print_complement_graph() 37 os << " " << it->id(); in debug_print_complement_graph() 44 os << "neighbors of " << it->id() << ": {"; in debug_print_complement_graph() 49 nit = graph.m_neighbors[it->id()].begin(); in debug_print_complement_graph() 50 nit != graph.m_neighbors[it->id()].end(); ++nit) in debug_print_complement_graph() 52 os << " " << (*nit)->id(); in debug_print_complement_graph()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_flowring.h | 2 * @file Header file describing the flow rings DHD interfaces. 4 * Flow rings are transmit traffic (=propagating towards antenna) related entities. 6 * Provides type definitions and function prototypes used to create, delete and manage flow rings at 26 * <<Broadcom-WL-IPTag/Open:>> 43 /* Number of H2D common rings */ 67 ((flowid >= (pub)->htput_flow_ring_start) && \ 68 (flowid < ((pub)->htput_flow_ring_start + HTPUT_TOTAL_FLOW_RINGS))) 93 * --Update-- 13Jul2018 (above comments preserved for history) 118 #define DHD_IF_ROLE(pub, idx) (((if_flow_lkup_t *)(pub)->if_flow_lkup)[idx].role) 142 (flow_ring_node_t *)&(((flow_ring_node_t *)((dhdp)->flow_ring_table))[flowid]) [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_flowring.h | 2 * @file Header file describing the flow rings DHD interfaces. 4 * Flow rings are transmit traffic (=propagating towards antenna) related entities. 6 * Provides type definitions and function prototypes used to create, delete and manage flow rings at 26 * <<Broadcom-WL-IPTag/Open:>> 43 /* Number of H2D common rings */ 67 ((flowid >= (pub)->htput_flow_ring_start) && \ 68 (flowid < ((pub)->htput_flow_ring_start + HTPUT_TOTAL_FLOW_RINGS))) 93 * --Update-- 13Jul2018 (above comments preserved for history) 118 #define DHD_IF_ROLE(pub, idx) (((if_flow_lkup_t *)(pub)->if_flow_lkup)[idx].role) 142 (flow_ring_node_t *)&(((flow_ring_node_t *)((dhdp)->flow_ring_table))[flowid]) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/agere/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/block/xen-blkback/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/asm/ |
| H A 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 …]
|