summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-fsl-layerscape/fsl_portals.h
blob: 1577e935a606c4b2cfc1ebc431d3e35e3d9b60c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2018 NXP
 */

#ifndef _FSL_PORTALS_H_
#define _FSL_PORTALS_H_

struct qportal_info {
	u16	dicid;	/* DQRR ICID */
	u16	ficid;	/* frame data ICID */
	u16	icid;
	u8	sdest;
};

#define SET_QP_INFO(streamid, dest) \
	{ .dicid = (streamid), .ficid = (streamid), .icid = (streamid), \
	.sdest = (dest) }

extern struct qportal_info qp_info[];
void fdt_portal(void *blob, const char *compat, const char *container,
		u64 addr, u32 size);

#endif