2 * Copyright (C) 2014 Freescale Semiconductor
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef _FSL_MC_PRIVATE_H_
8 #define _FSL_MC_PRIVATE_H_
13 #include <linux/compat.h>
14 #include <linux/types.h>
15 #include <linux/stringify.h>
17 #include <fsl-mc/fsl_mc_sys.h>
18 #include <fsl-mc/fsl_mc_cmd.h>
19 #include <fsl-mc/fsl_dprc.h>
20 #include <fsl-mc/fsl_dpbp.h>
22 extern struct fsl_mc_io *dflt_mc_io;
25 * struct dpbp_node - DPBP strucuture
26 * @uint16_t handle: DPBP object handle
27 * @int dpbp_id: DPBP id
31 struct dpbp_attr dpbp_attr;
34 extern struct fsl_dpbp_obj *dflt_dpbp;
37 * struct fsl_dpio_obj - DPIO strucuture
38 * @int dpio_id: DPIO id
39 * @struct qbman_swp *sw_portal: SW portal object
43 struct qbman_swp *sw_portal; /** SW portal object */
46 extern struct fsl_dpio_obj *dflt_dpio;
49 int ldpaa_eth_init(struct dprc_obj_desc obj_desc);
50 #endif /* _FSL_MC_PRIVATE_H_ */