1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2009-2011 Freescale Semiconductor, Inc.
6 #ifndef _FSL_PORTALS_H_
7 #define _FSL_PORTALS_H_
9 /* entries must be in order and contiguous */
12 #ifdef CONFIG_SYS_DPAA_FMAN
14 #if (CONFIG_SYS_NUM_FMAN == 2)
19 #ifdef CONFIG_SYS_FSL_RAID_ENGINE
20 FSL_HW_PORTAL_RAID_ENGINE,
22 #ifdef CONFIG_SYS_DPAA_RMAN
25 #ifdef CONFIG_SYS_DPAA_DCE
32 u16 dliodn; /* DQRR LIODN */
33 u16 fliodn; /* frame data LIODN */
38 #define SET_QP_INFO(dqrr, fdata, off, dest) \
39 { .dliodn = dqrr, .fliodn = fdata, .liodn_offset = off, .sdest = dest }
41 extern int get_dpaa_liodn(enum fsl_dpaa_dev dpaa_dev,
42 u32 *liodns, int liodn_offset);
43 extern struct qportal_info qp_info[];
44 extern void fdt_portal(void *blob, const char *compat, const char *container,