/freebsd/sys/contrib/device-tree/src/powerpc/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-bman1-portals.dtsi | 2 * QorIQ BMan Portal device tree stub for 10 portals 4 * Copyright 2011 - 2014 Freescale Semiconductor Inc. 36 #address-cells = <1>; 37 #size-cells = <1>; 38 compatible = "simple-bus"; 40 bman-portal@0 { 41 compatible = "fsl,bman-portal"; 45 bman-portal@4000 { 46 compatible = "fsl,bman-portal"; 50 bman-portal@8000 { [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 …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | qoriq-bman-portals.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * QorIQ BMan Portals device tree 5 * Copyright 2011-2016 Freescale Semiconductor Inc. 10 #address-cells = <1>; 11 #size-cells = <1>; 12 compatible = "simple-bus"; 14 bman-portal@0 { 16 * bootloader fix-ups are expected to provide the 17 * "fsl,bman-portal-<hardware revision>" compatible 19 compatible = "fsl,bman-portal"; [all …]
|
H A D | qoriq-qman-portals.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 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"; 22 cell-index = <0>; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/ |
H A D | bman-portals.txt | 3 Copyright (C) 2008 - 2014 Freescale Semiconductor Inc. 7 - BMan Portal 8 - Example 10 BMan Portal Node 12 Portals are memory mapped interfaces to BMan that allow low-latency, lock-less 14 interfaces with the BMan 18 - compatible 21 Definition: Must include "fsl,bman-portal-<hardware revision>" 22 May include "fsl,<SoC>-bman-portal" or "fsl,bman-portal" 24 - reg [all …]
|
H A D | fsl,bman-portal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/fsl,bman-portal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 13 QorIQ DPAA Buffer Manager Portal 15 Portals are memory mapped interfaces to BMan that allow low-latency, lock-less 17 interfaces with the BMan 22 - const: fsl,bman-portal 23 - items: [all …]
|
/freebsd/sys/dev/dpaa/ |
H A D | bman.h | 1 /*- 2 * Copyright (c) 2011-2012 Semihalf. 35 * BMAN Configuration 38 /* Maximum number of buffers in all BMAN pools */ 42 * Portal definitions 63 t_Handle sc_bh; /* BMAN handle */ 64 t_Handle sc_bph[MAXCPU]; /* BMAN portal handles */ 65 vm_paddr_t sc_bp_pa; /* BMAN portals PA */ 74 * @brief Function to create BMAN pool. 96 * @param dep_sw_entry The software portal depletion entry threshold. [all …]
|
H A D | bman.c | 1 /*- 2 * Copyright (c) 2011-2012 Semihalf. 41 #include "bman.h" 73 device_printf(sc->sc_dev, "BMAN Exception: %s.\n", message); in bman_exception() 85 sc->sc_dev = dev; in bman_attach() 93 sc->sc_rrid = 0; in bman_attach() 94 sc->sc_rres = bus_alloc_resource_anywhere(dev, SYS_RES_MEMORY, in bman_attach() 95 &sc->sc_rrid, BMAN_CCSR_SIZE, RF_ACTIVE); in bman_attach() 96 if (sc->sc_rres == NULL) in bman_attach() 99 sc->sc_irid = 0; in bman_attach() [all …]
|
H A D | bman_portals.c | 1 /*- 48 #include "bman.h" 62 /* Map bman portal to physical address space */ in bman_portals_attach() 63 if (law_enable(OCP85XX_TGTIF_BMAN, sc->sc_dp_pa, sc->sc_dp_size)) { in bman_portals_attach() 67 /* Set portal properties for XX_VirtToPhys() */ in bman_portals_attach() 83 for (i = 0; i < ARRAY_SIZE(sc->sc_dp); i++) { in bman_portals_detach() 84 if (sc->sc_dp[i].dp_ph != NULL) { in bman_portals_detach() 89 BM_PORTAL_Free(sc->sc_dp[i].dp_ph); in bman_portals_detach() 96 if (sc->sc_dp[i].dp_ires != NULL) { in bman_portals_detach() 97 XX_DeallocIntr((uintptr_t)sc->sc_dp[i].dp_ires); in bman_portals_detach() [all …]
|
H A D | bman_fdt.c | 1 /*- 2 * Copyright (c) 2011-2012 Semihalf. 42 #include "bman.h" 63 "bman", 68 EARLY_DRIVER_MODULE(bman, simplebus, bman_driver, 0, 0, BUS_PASS_SUPPORTDEV); 74 if (!ofw_bus_is_compatible(dev, "fsl,bman")) in bman_fdt_probe() 83 * BMAN Portals 85 #define BMAN_PORT_DEVSTR "Freescale Buffer Manager - Portals" 100 "bman-portals", 114 OF_getencprop(node, "#address-cells", addrp, sizeof(*addrp)); in get_addr_props() [all …]
|
/freebsd/sys/dts/powerpc/ |
H A D | p3041si.dtsi | 4 * Copyright 2010-2011 Freescale Semiconductor Inc. 35 /dts-v1/; 39 #address-cells = <2>; 40 #size-cells = <2>; 41 interrupt-parent = <&mpic>; 65 bman = &bman; 102 #address-cells = <1>; 103 #size-cells = <0>; 108 bus-frequency = <749999996>; 109 next-level-cache = <&L2_0>; [all …]
|
H A D | p2041si.dtsi | 35 /dts-v1/; 39 #address-cells = <2>; 40 #size-cells = <2>; 41 interrupt-parent = <&mpic>; 64 bman = &bman; 101 #address-cells = <1>; 102 #size-cells = <0>; 107 bus-frequency = <749999996>; 108 next-level-cache = <&L2_0>; 109 L2_0: l2-cache { [all …]
|
H A D | p2041rdb.dts | 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 66 bman-portals@ff4000000 { 67 bman-portal@0 { 68 cpu-handle = <&cpu0>; 70 bman-portal@4000 { 71 cpu-handle = <&cpu1>; 73 bman-portal@8000 { 74 cpu-handle = <&cpu2>; [all …]
|
H A D | p5020si.dtsi | 4 * Copyright 2010-2011 Freescale Semiconductor Inc. 35 /dts-v1/; 39 #address-cells = <2>; 40 #size-cells = <2>; 41 interrupt-parent = <&mpic>; 65 bman = &bman; 108 #address-cells = <1>; 109 #size-cells = <0>; 114 bus-frequency = <799999998>; 115 next-level-cache = <&L2_0>; [all …]
|
H A D | p3041ds.dts | 4 * Copyright 2010-2011 Freescale Semiconductor Inc. 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 67 bman-portals@ff4000000 { 68 bman-portal@0 { 69 cpu-handle = <&cpu0>; 71 bman-portal@4000 { 72 cpu-handle = <&cpu1>; 74 bman-portal@8000 { [all …]
|
H A D | p5020ds.dts | 4 * Copyright 2010-2011 Freescale Semiconductor Inc. 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 67 bman-portals@ff4000000 { 68 bman-portal@0 { 69 cpu-handle = <&cpu0>; 71 bman-portal@4000 { 72 cpu-handle = <&cpu1>; 74 bman-portal@8000 { [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bm.h | 3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc. 89 /* BM-Portal defaults */ 92 /* BM-Pool defaults */ 109 /* BMan Buffer Pool Configuration & Status Registers */ 110 volatile uint32_t swdet[BM_NUM_OF_POOLS]; /**< S/W Portal depletion entry threshold */ 111 volatile uint32_t hwdet[BM_NUM_OF_POOLS]; /**< H/W Portal depletion entry threshold */ 112 volatile uint32_t swdxt[BM_NUM_OF_POOLS]; /**< S/W Portal depletion exit threshold */ 113 volatile uint32_t hwdxt[BM_NUM_OF_POOLS]; /**< H/W Portal depletion exit threshold */ 114 volatile uint32_t sdcnt[BM_NUM_OF_POOLS]; /**< S/W Portal depletion count */ 115 volatile uint32_t hdcnt[BM_NUM_OF_POOLS]; /**< H/W Portal depletion count */ [all …]
|
H A D | fsl_bman.h | 3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc. 48 /* BMan s/w corenet portal, low-level i/face */ 51 e_BmPortalPCI = 0, /* PI index, cache-inhibited */ 52 e_BmPortalPCE, /* PI index, cache-enabled */ 53 e_BmPortalPVB /* valid-bit */ 57 e_BmPortalRcrCCI = 0, /* CI index, cache-inhibited */ 58 e_BmPortalRcrCCE /* CI index, cache-enabled */ 61 /* Portal constants */ 72 /* Represents s/w corenet portal mapped data structures */ 77 /* This type represents a s/w corenet portal space, and is used for creating the [all …]
|
H A D | bm_portal.c | 3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc. 60 /* Portal interrupt handler */ 63 t_BmPortal *portal = ptr; in portal_isr() local 64 /* Only do fast-path handling if it's required */ in portal_isr() 65 if (portal->flags & BMAN_PORTAL_FLAG_IRQ_FAST) in portal_isr() 66 __poll_portal_fast(portal); in portal_isr() 67 __poll_portal_slow(portal); in portal_isr() 72 * bman_create_portal - Manage a Bman s/w portal 73 * @portal: the s/w corenet portal to use 74 * @flags: bit-mask of BMAN_PORTAL_FLAG_*** options [all …]
|