/linux/arch/powerpc/boot/dts/fsl/ |
H A D | t4240si-post.dtsi | 4 * Copyright 2012 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10000 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10000 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10000 0>; 51 #address-cells = <2>; 52 #size-cells = <1>; 59 compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0"; [all …]
|
H A D | qoriq-qman1-portals.dtsi | 2 * QorIQ QMan Portal device tree stub for 10 portals & 15 pool channels 4 * Copyright 2011 - 2014 Freescale Semiconductor Inc. 36 #address-cells = <1>; 37 #size-cells = <1>; 38 compatible = "simple-bus"; 40 qportal0: qman-portal@0 { 41 compatible = "fsl,qman-portal"; 44 cell-index = <0x0>; 46 qportal1: qman-portal@4000 { 47 compatible = "fsl,qman-portal"; [all …]
|
H A D | b4860si-post.dtsi | 4 * Copyright 2012 - 2015 Freescale Semiconductor Inc. 35 /include/ "b4si-post.dtsi" 39 compatible = "fsl,b4860-pcie", "fsl,qoriq-pcie-v2.4"; 45 #address-cells = <2>; 46 #size-cells = <2>; 47 fsl,iommu-parent = <&pamu0>; 51 #address-cells = <2>; 52 #size-cells = <2>; 53 cell-index = <1>; 57 #address-cells = <2>; [all …]
|
H A D | b4si-post.dtsi | 4 * Copyright 2012 - 2015 Freescale Semiconductor, Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10000 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10000 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10000 0>; 51 #address-cells = <2>; 52 #size-cells = <1>; 59 compatible = "fsl,b4-pcie", "fsl,qoriq-pcie-v2.4"; [all …]
|
H A D | t2081si-post.dtsi | 4 * Copyright 2013 - 2014 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10000 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10000 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10000 0>; 51 #address-cells = <2>; 52 #size-cells = <1>; 59 compatible = "fsl,t2080-pcie", "fsl,qoriq-pcie-v3.0", "fsl,qoriq-pcie"; [all …]
|
H A D | t1040si-post.dtsi | 4 * Copyright 2013 - 2014 Freescale Semiconductor Inc. 35 #include <dt-bindings/thermal/thermal.h> 38 compatible = "fsl,bman-fbpr"; 39 alloc-ranges = <0 0 0x10000 0>; 43 compatible = "fsl,qman-fqd"; 44 alloc-ranges = <0 0 0x10000 0>; 48 compatible = "fsl,qman-pfdr"; 49 alloc-ranges = <0 0 0x10000 0>; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
H A D | p1023si-post.dtsi | 4 * Copyright 2011 - 2014 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 #address-cells = <2>; 52 #size-cells = <1>; 53 compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus"; [all …]
|
H A D | t1023si-post.dtsi | 35 #include <dt-bindings/thermal/thermal.h> 38 compatible = "fsl,bman-fbpr"; 39 alloc-ranges = <0 0 0x10000 0>; 43 compatible = "fsl,qman-fqd"; 44 alloc-ranges = <0 0 0x10000 0>; 48 compatible = "fsl,qman-pfdr"; 49 alloc-ranges = <0 0 0x10000 0>; 53 #address-cells = <2>; 54 #size-cells = <1>; 60 compatible = "fsl,t1023-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie"; [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | qoriq-qman-portals.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * QorIQ QMan Portals device tree 5 * Copyright 2011-2016 Freescale Semiconductor Inc. 10 #address-cells = <1>; 11 #size-cells = <1>; 12 compatible = "simple-bus"; 14 qportal0: qman-portal@0 { 16 * bootloader fix-ups are expected to provide the 17 * "fsl,bman-portal-<hardware revision>" compatible 19 compatible = "fsl,qman-portal"; [all …]
|
/linux/Documentation/devicetree/bindings/soc/fsl/ |
H A D | fsl,qman-portal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/fsl,qman-portal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 13 Portals are memory mapped interfaces to QMan that allow low-latency, lock-less 15 interfaces with the QMan 20 - const: fsl,qman-portal 21 - items: 22 - enum: [all …]
|
/linux/drivers/soc/fsl/qbman/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 The major h/w blocks composing DPAA are BMan and QMan. 17 The Queue Manager (QMan) is a hardware queue management block 26 Compiles in additional checks, to sanity-check the drivers and 30 tristate "BMan self-tests" 32 Compile the BMan self-test code. These tests will 37 bool "High-level API self-test" 41 This requires the presence of cpu-affine portals, and performs 42 high-level API testing with them (whichever portal(s) are affine 46 tristate "QMan self-tests" [all …]
|
H A D | qman_portal.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 36 /* Enable portal interupts (as opposed to polling mode) */ 42 /* protect qman global registers and global data shared among portals */ 48 struct device *dev = pcfg->dev; in portal_set_cpu() 51 pcfg->iommu_domain = iommu_paging_domain_alloc(dev); in portal_set_cpu() 52 if (IS_ERR(pcfg->iommu_domain)) { in portal_set_cpu() 54 pcfg->iommu_domain = NULL; in portal_set_cpu() 57 ret = fsl_pamu_configure_l1_stash(pcfg->iommu_domain, cpu); in portal_set_cpu() 63 ret = iommu_attach_device(pcfg->iommu_domain, dev); in portal_set_cpu() 72 qman_set_sdest(pcfg->channel, cpu); in portal_set_cpu() [all …]
|
H A D | qman_priv.h | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 33 #include <soc/fsl/qman.h> 34 #include <linux/dma-mapping.h> 44 u16 channel_wq; /* ignores wq (3 lsbits): _res[0-2] */ 51 return wq->channel_wq >> 3; in qm_mcr_querywq_get_chan() 74 u8 i_bcnt_hi; /* high 8-bits of 40-bit "Instant" */ 75 __be32 i_bcnt_lo; /* low 32-bits of 40-bit */ 77 u8 a_bcnt_hi; /* high 8-bits of 40-bit "Average" */ 78 __be32 a_bcnt_lo; /* low 32-bits of 40-bit */ 84 return ((u64)q->i_bcnt_hi << 32) | be32_to_cpu(q->i_bcnt_lo); in qm_mcr_querycgr_i_get64() [all …]
|
H A D | qman_ccsr.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 101 * Corenet initiator settings. Stash request queues are 4-deep to match cores 111 /* Follows WQ_CS_CFG0-5 */ 134 #define QM_EIRQ_MBEI 0x02000000 /* Multi-bit ECC Error */ 135 #define QM_EIRQ_SBEI 0x01000000 /* Single-bit ECC Error */ 139 #define QM_EIRQ_IDDI 0x00000800 /* Invalid Dequeue (Direct-connect) */ 158 u32 info; /* res[30-31], ptyp[29], pnum[24-28], fqid[0-23] */ 163 return p->info & BIT(29); in qm_ecir_is_dcp() 168 return (p->info >> 24) & 0x1f; in qm_ecir_get_pnum() 173 return p->info & (BIT(24) - 1); in qm_ecir_get_fqid() [all …]
|
H A D | qman.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 35 #define IRQNAME "QMan portal %d" 36 #define MAX_IRQNAME 16 /* big enough for "QMan portal %d" */ 44 /* Portal register assists */ 47 /* Cache-inhibited register offsets */ 68 /* Cache-enabled register offsets */ 83 /* Cache-inhibited register offsets */ 104 /* Cache-enabled register offsets */ 121 * synchronisation for portal accesses and data-dependencies. Use of barrier()s 122 * or other order-preserving primitives simply degrade performance. Hence the [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/freescale/ |
H A D | dpaa.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 - Madalin Bucur <madalin.bucur@nxp.com> 9 - Camelia Groza <camelia.groza@nxp.com> 13 - DPAA Ethernet Overview 14 - DPAA Ethernet Supported SoCs 15 - Configuring DPAA Ethernet in your kernel 16 - DPAA Ethernet Frame Processing 17 - DPAA Ethernet Features 18 - DPAA IRQ Affinity and Receive Side Scaling 19 - Debugging [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
H A D | dpio-driver.rst | 7 :Copyright: |copy| 2016-2018 NXP 29 --------------- 31 The DPIO driver is bound to DPIO objects discovered on the fsl-mc bus and 40 The Linux DPIO driver consists of 3 primary components-- 41 DPIO object driver-- fsl-mc driver that manages the DPIO object 43 DPIO service-- provides APIs to other Linux drivers for services 45 QBman portal interface-- sends portal commands, gets responses:: 47 fsl-mc other 50 +---+----+ +------+-----+ 52 | driver |---| (DPIO) | [all …]
|
/linux/drivers/iommu/ |
H A D | fsl_pamu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #define pr_fmt(fmt) "fsl-pamu: %s: " fmt, __func__ 41 * "fsl,qoriq-device-config-2.0" corresponds to T4 & B4 42 * SOCs. For the older SOCs "fsl,qoriq-device-config-1.0" 46 { .compatible = "fsl,qoriq-device-config-1.0", }, 47 { .compatible = "fsl,qoriq-device-config-2.0", }, 54 * "fsl,t4240-l3-cache-controller" corresponds to T4, 55 * "fsl,b4860-l3-cache-controller" corresponds to B4 & 56 * "fsl,p4080-l3-cache-controller" corresponds to other, 60 { .compatible = "fsl,t4240-l3-cache-controller", }, [all …]
|
/linux/include/soc/fsl/ |
H A D | dpaa2-io.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * Copyright 2014-2016 Freescale Semiconductor Inc. 4 * Copyright 2017-2019 NXP 14 #include "dpaa2-fd.h" 15 #include "dpaa2-global.h" 32 #define DPAA2_IO_ANY_CPU -1 35 * struct dpaa2_io_desc - The DPIO descriptor 36 * @receives_notifications: Use notificaton mode. Non-zero if the DPIO 38 * @has_8prio: Set to non-zero for channel with 8 priority WQs. Ignored 42 * @stash_affinity: The stash affinity for this portal favour 'cpu' [all …]
|
/linux/drivers/crypto/caam/ |
H A D | qi.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright 2013-2016 Freescale Semiconductor, Inc. 7 * Copyright 2016-2017, 2019-2020 NXP 12 #include <linux/dma-mapping.h> 19 #include <soc/fsl/qman.h> 33 * so that resources used by the in-flight buffers do not become a memory hog. 42 * caam_napi - struct holding CAAM NAPI-related params 44 * @p: QMan portal 52 * caam_qi_pcpu_priv - percpu private data structure to main list of pending 68 * caam_qi_priv - CAAM QI backend private params [all …]
|
H A D | caamalg_qi2.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * Copyright 2015-2016 Freescale Semiconductor Inc. 4 * Copyright 2017-2018 NXP 12 #include <soc/fsl/dpaa2-io.h> 13 #include <soc/fsl/dpaa2-fd.h> 30 * dpaa2_caam_priv - driver private data 40 * @cscn_dma: dma address used by the QMAN to write CSCN messages 42 * @mc_io: pointer to MC portal's I/O object 71 * dpaa2_caam_priv_per_cpu - per CPU private data 76 * @prio: internal queue number - index for dpaa2_caam_priv.*_queue_attr [all …]
|
/linux/drivers/bus/fsl-mc/ |
H A D | fsl-mc-private.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 * Data Path Management Command Portal (DPMCP) API 194 /* response word 3-4 */ 196 /* response word 5-6 */ 206 /* cmd word 1-2 */ 208 /* cmd word 3-4 */ 239 /* cmd word 3-4 */ 273 /* IRQ event - Indicates that a new object added to the container */ 275 /* IRQ event - Indicates that an object was removed from the container */ 278 * IRQ event - Indicates that one of the descendant containers that opened by [all …]
|
/linux/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 4 * Copyright 2016-2019 NXP 12 #include <soc/fsl/dpaa2-global.h> 14 #include "qbman-portal.h" 19 /* QBMan portal management command codes */ 54 /* CENA register offsets in memory-backed mode */ 174 /* Portal Access */ 178 return readl_relaxed(p->addr_cinh + offset); in qbman_read_register() 184 writel_relaxed(value, p->addr_cinh + offset); in qbman_write_register() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* Copyright 2014-2016 Freescale Semiconductor Inc. 3 * Copyright 2016-2022 NXP 23 #include "dpaa2-eth.h" 29 #include "dpaa2-eth-trace.h" 40 priv->features = 0; in dpaa2_eth_detect_features() 44 priv->features |= DPAA2_ETH_FEATURE_ONESTEP_CFG_DIRECT; in dpaa2_eth_detect_features() 57 if (dpni_set_single_step_cfg(priv->mc_io, 0, priv->mc_token, &cfg)) in dpaa2_update_ptp_onestep_indirect() 72 if (priv->onestep_reg_base) in dpaa2_update_ptp_onestep_direct() 73 writel(val, priv->onestep_reg_base); in dpaa2_update_ptp_onestep_direct() [all …]
|