1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2018 NXP
4  */
5 
6 #ifndef _FSL_PORTALS_H_
7 #define _FSL_PORTALS_H_
8 
9 struct qportal_info {
10 	u16	dicid;	/* DQRR ICID */
11 	u16	ficid;	/* frame data ICID */
12 	u16	icid;
13 	u8	sdest;
14 };
15 
16 #define SET_QP_INFO(streamid, dest) \
17 	{ .dicid = (streamid), .ficid = (streamid), .icid = (streamid), \
18 	.sdest = (dest) }
19 
20 extern struct qportal_info qp_info[];
21 void fdt_portal(void *blob, const char *compat, const char *container,
22 		u64 addr, u32 size);
23 
24 #endif
25