Home
last modified time | relevance | path

Searched +full:fman +full:- +full:muram (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dfsl,fman-muram.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/fsl,fman-muram.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale Frame Manager MURAM Device
10 - Frank Li <Frank.Li@nxp.com>
13 FMan Internal memory - shared between all the FMan modules.
17 FMan internal memory is split into the following parts:
24 - fsl,fman-muram
30 - compatible
[all …]
H A Dfsl,fman.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/fsl,fman.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Frank Li <Frank.Li@nxp.com>
13 Due to the fact that the FMan is an aggregation of sub-engines (ports, MACs,
14 etc.) the FMan node will have child nodes for each of them.
19 - fsl,fman
21 FMan version can be determined via FM_IP_REV_1 register in the
22 FMan block. The offset is 0xc4 from the beginning of the
[all …]
H A Dfsl-fman.txt5 - FMan Node
6 - FMan Port Node
7 - FMan MURAM Node
8 - FMan dTSEC/XGEC/mEMAC Node
9 - FMan IEEE 1588 Node
10 - FMan MDIO Node
11 - Example
14 FMan Node
18 Due to the fact that the FMan is an aggregation of sub-engines (ports, MACs,
19 etc.) the FMan node will have child nodes for each of them.
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dqoriq-fman3-0.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * QorIQ FMan v3 device tree
5 * Copyright 2012-2015 Freescale Semiconductor Inc.
9 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
11 fman0: fman@1a00000 {
12 #address-cells = <1>;
13 #size-cells = <1>;
14 cell-index = <0>;
15 compatible = "fsl,fman";
21 clock-names = "fmanclk";
[all …]
H A Dfsl-ls1043a.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for NXP Layerscape-1043A family SoC.
5 * Copyright 2014-2015 Freescale Semiconductor, Inc.
11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
12 #include <dt-bindings/thermal/thermal.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/gpio/gpio.h>
18 interrupt-parent = <&gic>;
19 #address-cells = <2>;
20 #size-cells = <2>;
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dqoriq-fman3-1.dtsi2 * QorIQ FMan v3 device tree stub [ controller @ offset 0x500000 ]
4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
35 fman1: fman@500000 {
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <1>;
39 compatible = "fsl,fman";
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x820 0x10>;
46 ptimer-handle = <&ptp_timer1>;
[all …]
H A Dqoriq-fman3l-0.dtsi2 * QorIQ FMan v3 device tree stub [ controller @ offset 0x400000 ]
4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
35 fman0: fman@400000 {
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <0>;
39 compatible = "fsl,fman";
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x800 0x10>;
46 ptimer-handle = <&ptp_timer0>;
[all …]
H A Dqoriq-fman3-0.dtsi2 * QorIQ FMan v3 device tree stub [ controller @ offset 0x400000 ]
4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
35 fman0: fman@400000 {
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <0>;
39 compatible = "fsl,fman";
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x800 0x10>;
46 ptimer-handle = <&ptp_timer0>;
[all …]
H A Dqoriq-fman-0.dtsi2 * QorIQ FMan device tree stub [ controller @ offset 0x400000 ]
4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
35 fman0: fman@400000 {
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <0>;
39 compatible = "fsl,fman";
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x40 0xc>;
46 ptimer-handle = <&ptp_timer0>;
[all …]
H A Dqoriq-fman-1.dtsi2 * QorIQ FMan device tree stub [ controller @ offset 0x500000 ]
4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
35 fman1: fman@500000 {
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <1>;
39 compatible = "fsl,fman";
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x60 0xc>;
46 ptimer-handle = <&ptp_timer1>;
[all …]
H A Db4si-post.dtsi4 * 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 Dt1040si-post.dtsi4 * 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 …]
/freebsd/sys/dev/dpaa/
H A Dfman.c1 /*-
2 * Copyright (c) 2011-2012 Semihalf.
48 #include "fman.h"
51 static MALLOC_DEFINE(M_FMAN, "fman", "fman devices information");
54 * @group FMan private defines.
78 * @group FMan private methods/members.
98 for (i = 0; i < sc->sc_base.nranges; i++) { in fman_activate_resource()
99 if (rman_is_region_manager(res, &sc->rman) != 0) { in fman_activate_resource()
100 bt = rman_get_bustag(sc->mem_res); in fman_activate_resource()
102 rman_get_bushandle(sc->mem_res), in fman_activate_resource()
[all …]
/freebsd/sys/dts/powerpc/
H A Dp3041si.dtsi4 * Copyright 2010-2011 Freescale Semiconductor Inc.
35 /dts-v1/;
39 #address-cells = <2>;
40 #size-cells = <2>;
41 interrupt-parent = <&mpic>;
102 #address-cells = <1>;
103 #size-cells = <0>;
108 bus-frequency = <749999996>;
109 next-level-cache = <&L2_0>;
110 L2_0: l2-cache {
[all …]
H A Dp2041si.dtsi35 /dts-v1/;
39 #address-cells = <2>;
40 #size-cells = <2>;
41 interrupt-parent = <&mpic>;
101 #address-cells = <1>;
102 #size-cells = <0>;
107 bus-frequency = <749999996>;
108 next-level-cache = <&L2_0>;
109 L2_0: l2-cache {
110 next-level-cache = <&cpc>;
[all …]
H A Dp5020si.dtsi4 * Copyright 2010-2011 Freescale Semiconductor Inc.
35 /dts-v1/;
39 #address-cells = <2>;
40 #size-cells = <2>;
41 interrupt-parent = <&mpic>;
108 #address-cells = <1>;
109 #size-cells = <0>;
114 bus-frequency = <799999998>;
115 next-level-cache = <&L2_0>;
116 L2_0: l2-cache {
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/inc/
H A Dfm_common.h2 * Copyright 2008-2012 Freescale Semiconductor Inc.
79 @Description Enum for inter-module interrupts registration
88 e_FM_MOD_FMAN_CTRL, /**< FMAN Controller Timer event */
102 @Description Enum for inter-module interrupts registration
135 e_FM_EV_FMAN_CTRL_0, /**< Fman controller event 0 */
136 e_FM_EV_FMAN_CTRL_1, /**< Fman controller event 1 */
137 e_FM_EV_FMAN_CTRL_2, /**< Fman controller event 2 */
138 e_FM_EV_FMAN_CTRL_3, /**< Fman controller event 3 */
151 volatile uint32_t fmpl_pemode; /* 0x090 FMPL_PEMODE - FM Policer Profile Entry Mode*/
152 …volatile uint32_t fmpl_pegnia; /* 0x094 FMPL_PEGNIA - FM Policer Profile Entry GREEN Next Inv…
[all …]
/freebsd/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_ext.h1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
65 run-time control routines. This module must be initialized always
67 NOTE - We assume that the FM library will be initialized only by core No. 0!
115 volatile uint16_t cksum; /**< Running-sum */
116 …volatile uint16_t flags_frag_off; /**< Flags & fragment-offset field of the last IP-header …
120 volatile uint8_t ip_pid_off; /**< IP PID (last IP-proto) offset */
154 #define FM_FD_ERR_UNSUPPORTED_FORMAT 0x04000000 /**< Not for Rx-Port! Unsupported Format */
155 #define FM_FD_ERR_LENGTH 0x02000000 /**< Not for Rx-Port! Length Error */
160 #define FM_FD_ERR_IPR_NCSP (0x00100000 | FM_FD_IPR) /**< IPR non-consistent-sp */
211 #define FM_FD_RX_STATUS_ERR_NON_FM 0x00400000 /**< non Frame-Manager error */
[all …]
H A Dfm_pcd_ext.h1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
60 @Description Frame Manager PCD (Parse-Classify-Distribute) API.
70 module will manage the PCD resources - i.e. resource management of
82 #define FM_PCD_MAX_NUM_OF_DISTINCTION_UNITS (32 - FM_PCD_MAX_NUM_OF_PRIVATE_HDRS)
98 …MAGE_SIZE (FM_PCD_SW_PRS_SIZE /*- FM_PCD_PRS_SW_OFFSET -FM_PCD_PRS_SW_TAIL_SIZE…
123 …e_FM_PCD_PLCR_COUNTERS_RED, /**< Policer counter - counts the tota…
124 …e_FM_PCD_PLCR_COUNTERS_YELLOW, /**< Policer counter - counts the tota…
125 …e_FM_PCD_PLCR_COUNTERS_RECOLORED_TO_RED, /**< Policer counter - counts the numb…
127 …e_FM_PCD_PLCR_COUNTERS_RECOLORED_TO_YELLOW, /**< Policer counter - counts the numb…
129 …e_FM_PCD_PLCR_COUNTERS_TOTAL, /**< Policer counter - counts the tota…
[all …]
H A Dfm_port_ext.h1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc.
37 @Description FM-Port Application Programming Interface.
66 The SW driver manages these ports as sub-modules of the FM, i.e.
75 (relative to the port's type) - always starting at 0.
82 This enum defines the superset of PCD engines support - i.e. not
115 e_FM_PORT_EXCEPTION_IM_BUSY /**< Independent-Mode Rx-BUSY */
130 #define FM_PORT_FRM_ERR_UNSUPPORTED_FORMAT FM_FD_ERR_UNSUPPORTED_FORMAT /**< Not for Rx-Por…
131 #define FM_PORT_FRM_ERR_LENGTH FM_FD_ERR_LENGTH /**< Not for Rx-Por…
133 #define FM_PORT_FRM_ERR_NON_FM FM_FD_RX_STATUS_ERR_NON_FM /**< non Frame-Mana…
137 …T_FRM_ERR_IPR_NCSP (FM_FD_ERR_IPR_NCSP & ~FM_FD_IPR) /**< IPR non-consistent-sp */
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/
H A Dfm_ncsw.c2 * Copyright 2008-2012 Freescale Semiconductor Inc.
71 if (p_Fm->camBaseAddr) in FreeInitResources()
72 FM_MURAM_FreeMem(p_Fm->h_FmMuram, UINT_TO_PTR(p_Fm->camBaseAddr)); in FreeInitResources()
73 if (p_Fm->fifoBaseAddr) in FreeInitResources()
74 FM_MURAM_FreeMem(p_Fm->h_FmMuram, UINT_TO_PTR(p_Fm->fifoBaseAddr)); in FreeInitResources()
75 if (p_Fm->resAddr) in FreeInitResources()
76 FM_MURAM_FreeMem(p_Fm->h_FmMuram, UINT_TO_PTR(p_Fm->resAddr)); in FreeInitResources()
84 p_Iram = (t_FMIramRegs *)UINT_TO_PTR(p_Fm->baseAddr + FM_MM_IMEM); in IsFmanCtrlCodeLoaded()
86 return (bool)!!(GET_UINT32(p_Iram->iready) & IRAM_READY); in IsFmanCtrlCodeLoaded()
91 if (IsFmanCtrlCodeLoaded(p_Fm) && !p_Fm->resetOnInit) in CheckFmParameters()
[all …]
H A Dfm_ipc.h2 * Copyright 2008-2012 Freescale Semiconductor Inc.
37 @Description FM Inter-Partition prototypes, structures and definitions.
55 @Group FM_IPC_grp FM Inter-Partition messaging Unit
57 @Description FM Inter-Partition messaging unit API definitions and enums.
158 @Description Structure for port-FM communication during FM_PORT_Free.
202 @Description structure for returning Fman Ctrl Code revision information
211 @Description Structure for defining Fm number of Fman controlers
216 t_FmFmanCtrl orFmanCtrl; /**< IN. fman controller for order restoration*/
220 @Description structure for setting Fman contriller events
223 uint8_t eventRegId; /**< IN: Fman controller event register id */
[all …]
/freebsd/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman.h50 uint8_t num_backup_pools; /**< Number of BM backup pools -
73 considered for depletion (Note - this
76 will be sent after a single-pool
80 considered for depletion (Note - this
138 uint32_t fmfp_fcev[4]; /**< FPM FMan-Controller Event 1-4 0x20-0x2f */
139 uint32_t res0030[4]; /**< res 0x30 - 0x3f */
140 uint32_t fmfp_cee[4]; /**< PM FMan-Controller Event 1-4 0x40-0x4f */
141 uint32_t res0050[4]; /**< res 0x50-0x5f */
150 uint32_t fmfp_drd[16]; /**< FPM Data_Ram Data 0-15 0x80 - 0xbf */
159 uint32_t fmfp_cev[4]; /**< FPM CPU Event 1-4 0xe0-0xef */
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_replic.c2 * Copyright 2008-2012 Freescale Semiconductor Inc.
64 /* the last member index is different between add and remove operation - in GetMemberPosition()
65 in case of remove - this is exactly the last member index in GetMemberPosition()
66 in case of add - this is the last member index + 1 - e.g. in GetMemberPosition()
72 lastMemberIndex = p_ReplicGroup->numOfEntries; in GetMemberPosition()
74 lastMemberIndex = p_ReplicGroup->numOfEntries-1; in GetMemberPosition()
100 if ((p_MemberParams->nextEngine != e_FM_PCD_DONE) && in MemberCheckParams()
101 (p_MemberParams->nextEngine != e_FM_PCD_KG) && in MemberCheckParams()
102 (p_MemberParams->nextEngine != e_FM_PCD_PLCR)) in MemberCheckParams()
120 if (!IN_RANGE(2, p_ReplicGroupParam->maxNumOfEntries, FM_PCD_FRM_REPLIC_MAX_NUM_OF_ENTRIES)) in CheckParams()
[all …]
H A Dfm_pcd.c2 * Copyright 2008-2012 Freescale Semiconductor Inc.
62 if (!p_FmPcd->h_Fm) in CheckFmPcdParameters()
65 if (p_FmPcd->guestId == NCSW_MASTER_ID) in CheckFmPcdParameters()
67 if (p_FmPcd->p_FmPcdKg && !p_FmPcd->p_FmPcdKg->p_FmPcdKgRegs) in CheckFmPcdParameters()
70 if (p_FmPcd->p_FmPcdPlcr && !p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs) in CheckFmPcdParameters()
73 if (!p_FmPcd->f_Exception) in CheckFmPcdParameters()
76 if ((!p_FmPcd->f_FmPcdIndexedException) && (p_FmPcd->p_FmPcdPlcr || p_FmPcd->p_FmPcdKg)) in CheckFmPcdParameters()
79 if (p_FmPcd->p_FmPcdDriverParam->prsMaxParseCycleLimit > PRS_MAX_CYCLE_LIMIT) in CheckFmPcdParameters()
120 switch (p_IpcMsg->msgId) in IpcMsgHandlerCB()
123 *(uint8_t*)(p_IpcReply->replyBody) = 1; in IpcMsgHandlerCB()
[all …]

12