Home
last modified time | relevance | path

Searched +full:qman +full:- +full:channel +full:- +full:range (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/dev/dpaa/
H A Dqman.h1 /*-
2 * Copyright (c) 2011-2012 Semihalf.
36 * @group QMan private defines/declarations
45 * Pool channel common to all software portals.
75 t_Handle sc_qh; /* QMAN handle */
76 t_Handle sc_qph[MAXCPU]; /* QMAN portal handles */
77 vm_paddr_t sc_qp_pa; /* QMAN portal PA */
85 * @group QMan bus interface
97 * @group QMan API
102 * Create Frame Queue Range.
[all …]
H A Dqman.c1 /*-
2 * Copyright (c) 2011-2012 Semihalf.
44 #include "qman.h"
104 message = "Invalid Enqueue Channel Interrupt"; in qman_exception()
116 device_printf(sc->sc_dev, "QMan Exception: %s.\n", message); in qman_exception()
122 * frame queue range (fqr).
132 device_printf(sc->sc_dev, "dummy callback for received frame.\n"); in qman_received_frame_callback()
139 * frame queue range (fqr).
150 device_printf(sc->sc_dev, "dummy callback for rejected frame.\n"); in qman_rejected_frame_callback()
163 sc->sc_dev = dev; in qman_attach()
[all …]
H A Dfman.c1 /*-
2 * Copyright (c) 2011-2012 Semihalf.
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()
103 rman_get_start(res) - in fman_activate_resource()
104 rman_get_start(sc->mem_res), in fman_activate_resource()
141 KASSERT(rle->res != NULL, in fman_release_resource()
143 rle->res = NULL; in fman_release_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>;
66 qman = &qman;
102 #address-cells = <1>;
103 #size-cells = <0>;
108 bus-frequency = <749999996>;
109 next-level-cache = <&L2_0>;
[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>;
66 qman = &qman;
108 #address-cells = <1>;
109 #size-cells = <0>;
114 bus-frequency = <799999998>;
115 next-level-cache = <&L2_0>;
[all …]
H A Dp2041si.dtsi35 /dts-v1/;
39 #address-cells = <2>;
40 #size-cells = <2>;
41 interrupt-parent = <&mpic>;
65 qman = &qman;
101 #address-cells = <1>;
102 #size-cells = <0>;
107 bus-frequency = <749999996>;
108 next-level-cache = <&L2_0>;
109 L2_0: l2-cache {
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dfsl,fman.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
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,
19 - fsl,fman
26 cell-index:
31 The cell-index value may be used by the SoC, to identify the
33 there's a description of the cell-index use in each SoC:
35 - P1023:
[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
18 Due to the fact that the FMan is an aggregation of sub-engines (ports, MACs,
23 - compatible
32 - cell-index
[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)
5 * Copyright 2012-2015 Freescale Semiconductor Inc.
9 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
12 #address-cells = <1>;
13 #size-cells = <1>;
14 cell-index = <0>;
21 clock-names = "fmanclk";
22 fsl,qman-channel-range = <0x800 0x10>;
23 ptimer-handle = <&ptp_timer0>;
24 dma-coherent;
[all …]
/freebsd/sys/contrib/ncsw/inc/integrations/
H A Ddpaa_integration_ext.h3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc.
82 QMan INTEGRATION-SPECIFIC DEFINITIONS
85 #define QM_MAX_NUM_OF_WQ 8 /**< Number of work queues per channel */
88 /**< FQIDs range - 24 bits */
91 @Description Work Queue Channel assignments in QMan.
124 each sub-portal (SP) in the portal */
140 …e_QM_FQ_CHANNEL_CAAM = 0x80, /**< Dedicated channel serviced by Direct Connect Port…
143 …e_QM_FQ_CHANNEL_PME = 0xA0, /**< Dedicated channel serviced by Direct Connect Port…
145 …e_QM_FQ_CHANNEL_RAID = 0xC0 /**< Dedicated channel serviced by Direct Connect Port…
150 BMan INTEGRATION-SPECIFIC DEFINITIONS
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dqoriq-fman3-1.dtsi4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <1>;
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x820 0x10>;
46 ptimer-handle = <&ptp_timer1>;
49 compatible = "fsl,fman-muram";
54 cell-index = <0x2>;
55 compatible = "fsl,fman-v3-port-oh";
[all …]
H A Dqoriq-fman-0.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <0>;
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x40 0xc>;
46 ptimer-handle = <&ptp_timer0>;
49 compatible = "fsl,fman-muram";
54 cell-index = <0x1>;
55 compatible = "fsl,fman-v2-port-oh";
[all …]
H A Dqoriq-fman-1.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <1>;
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x60 0xc>;
46 ptimer-handle = <&ptp_timer1>;
49 compatible = "fsl,fman-muram";
54 cell-index = <0x1>;
55 compatible = "fsl,fman-v2-port-oh";
[all …]
H A Dqoriq-fman3l-0.dtsi4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <0>;
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x800 0x10>;
46 ptimer-handle = <&ptp_timer0>;
49 compatible = "fsl,fman-muram";
54 cell-index = <0x2>;
55 compatible = "fsl,fman-v3-port-oh";
[all …]
H A Dqoriq-fman3-0.dtsi4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
36 #address-cells = <1>;
37 #size-cells = <1>;
38 cell-index = <0>;
44 clock-names = "fmanclk";
45 fsl,qman-channel-range = <0x800 0x10>;
46 ptimer-handle = <&ptp_timer0>;
49 compatible = "fsl,fman-muram";
54 cell-index = <0x2>;
55 compatible = "fsl,fman-v3-port-oh";
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dfsl_qman.h3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc.
50 /* QMan s/w corenet portal, low-level i/face */
53 e_QmPortalPCI = 0, /* PI index, cache-inhibited */
54 e_QmPortalPCE, /* PI index, cache-enabled */
55 e_QmPortalPVB /* valid-bit */
59 e_QmPortalEqcrCCI = 0, /* CI index, cache-inhibited */
60 e_QmPortalEqcrCCE /* CI index, cache-enabled */
64 e_QmPortalDqrrCCI = 0, /* CI index, cache-inhibited */
65 e_QmPortalDqrrCCE, /* CI index, cache-enabled */
70 e_QmPortalMrCCI = 0, /* CI index, cache-inhibited */
[all …]
H A Dqm_portal_fqr.c3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc.
62 * Context entries are 32-bit. The qman driver uses the pointer to the queue as
63 * its context, and the pointer is 64-byte aligned, per the XX_MallocSmart()
64 * call. Take advantage of this fact to shove a 64-bit kernel pointer into a
65 * 32-bit context integer, and back.
67 * XXX: This depends on the fact that VM_MAX_KERNEL_ADDRESS is less than 38-bit
71 CTASSERT((VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS) < (1ULL << 35));
79 ctx -= VM_MIN_KERNEL_ADDRESS; in aligned_int_from_ptr()
80 KASSERT((ctx & 0x07) == 0, ("Pointer %p is not 8-byte aligned!\n", p)); in aligned_int_from_ptr()
100 ASSERT_COND((p_Fq->state == qman_fq_state_parked) || in qman_volatile_dequeue()
[all …]
/freebsd/sys/contrib/ncsw/inc/Peripherals/
H A Dqm_ext.h3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc.
64 @Param[in] h_QmFqr A handle to an QM-FQR Module.
68 @Retval e_RX_STORE_RESPONSE_CONTINUE - order the driver to continue Rx
70 @Retval e_RX_STORE_RESPONSE_PAUSE - order the driver to stop Rx operation.
87 @Param[in] h_QmFqr A handle to an QM-FQR Module.
135 @Param[in] h_QmFqr A handle to an QM-FQR Module.
140 @Retval e_RX_STORE_RESPONSE_CONTINUE - order the driver to continue Rx
142 @Retval e_RX_STORE_RESPONSE_PAUSE - order the driver to stop Rx operation.
182 e_QM_EX_ENQUEUE_CHANNEL, /**< Invalid Enqueue Channel Interrupt */
201 @Param[in] h_App - User's application descriptor.
[all …]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_ni.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright © 2021-2023 Dmitry Salychev
34 * range of features from a very basic Ethernet interface up to a
35 * high-functioning network interface. The DPNI supports features that are
112 mtx_assert(&(__sc)->lock, MA_NOTOWNED); \
113 mtx_lock(&(__sc)->lock); \
116 mtx_assert(&(__sc)->lock, MA_OWNED); \
117 mtx_unlock(&(__sc)->lock); \
120 mtx_assert(&(__sc)->lock, MA_OWNED); \
[all …]