Lines Matching refs:root_mc_io
49 struct fsl_mc_io *root_mc_io = NULL; variable
849 root_mc_io = (struct fsl_mc_io *)calloc(sizeof(struct fsl_mc_io), 1); in mc_init()
850 if (!root_mc_io) { in mc_init()
855 root_mc_io->mmio_regs = SOC_MC_PORTAL_ADDR(portal_id); in mc_init()
857 portal_id, root_mc_io->mmio_regs); in mc_init()
859 error = mc_get_version(root_mc_io, MC_CMD_NO_FLAGS, &mc_ver_info); in mc_init()
1163 err = dprc_get_container_id(root_mc_io, MC_CMD_NO_FLAGS, &container_id); in dprc_init()
1172 err = dprc_open(root_mc_io, MC_CMD_NO_FLAGS, container_id, in dprc_init()
1184 err = dprc_version_check(root_mc_io, root_dprc_handle); in dprc_init()
1196 err = dprc_create_container(root_mc_io, MC_CMD_NO_FLAGS, in dprc_init()
1237 dprc_destroy_container(root_mc_io, MC_CMD_NO_FLAGS, in dprc_init()
1240 dprc_close(root_mc_io, MC_CMD_NO_FLAGS, root_dprc_handle); in dprc_init()
1256 err = dprc_destroy_container(root_mc_io, MC_CMD_NO_FLAGS, in dprc_exit()
1263 err = dprc_close(root_mc_io, MC_CMD_NO_FLAGS, root_dprc_handle); in dprc_exit()
1272 if (root_mc_io) in dprc_exit()
1273 free(root_mc_io); in dprc_exit()