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_dpbp.h>
21 extern struct fsl_mc_io *dflt_mc_io;
24 * struct dpbp_node - DPBP strucuture
25 * @uint16_t handle: DPBP object handle
26 * @int dpbp_id: DPBP id
30 struct dpbp_attr dpbp_attr;
33 extern struct fsl_dpbp_obj *dflt_dpbp;
36 * struct fsl_dpio_obj - DPIO strucuture
37 * @int dpio_id: DPIO id
38 * @struct qbman_swp *sw_portal: SW portal object
42 struct qbman_swp *sw_portal; /** SW portal object */
45 extern struct fsl_dpio_obj *dflt_dpio;
48 #endif /* _FSL_MC_PRIVATE_H_ */