xref: /f-stack/dpdk/drivers/net/nfp/nfpcore/nfp_mip.h (revision d30ea906)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Netronome Systems, Inc.
3  * All rights reserved.
4  */
5 
6 #ifndef __NFP_MIP_H__
7 #define __NFP_MIP_H__
8 
9 #include "nfp_nffw.h"
10 
11 struct nfp_mip;
12 
13 struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp);
14 void nfp_mip_close(struct nfp_mip *mip);
15 
16 const char *nfp_mip_name(const struct nfp_mip *mip);
17 void nfp_mip_symtab(const struct nfp_mip *mip, uint32_t *addr, uint32_t *size);
18 void nfp_mip_strtab(const struct nfp_mip *mip, uint32_t *addr, uint32_t *size);
19 int nfp_nffw_info_mip_first(struct nfp_nffw_info *state, uint32_t *cpp_id,
20 			    uint64_t *off);
21 #endif
22