baseband/la12xx: support multiple modems
[dpdk.git] / drivers / baseband / la12xx / bbdev_la12xx_ipc.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2020-2021 NXP
3  */
4 #ifndef __BBDEV_LA12XX_IPC_H__
5 #define __BBDEV_LA12XX_IPC_H__
6
7 /** No. of max channel per instance */
8 #define IPC_MAX_DEPTH   (16)
9
10 /* This shared memory would be on the host side which have copy of some
11  * of the parameters which are also part of Shared BD ring. Read access
12  * of these parameters from the host side would not be over PCI.
13  */
14 typedef struct host_ipc_params {
15         volatile uint32_t pi;
16         volatile uint32_t ci;
17         volatile uint32_t modem_ptr[IPC_MAX_DEPTH];
18 } __rte_packed host_ipc_params_t;
19
20 #endif