Lines Matching refs:dflt_mc_io
50 struct fsl_mc_io *dflt_mc_io = NULL; /* child container */ variable
1027 err = dpio_create(dflt_mc_io, in dpio_init()
1038 err = dpio_get_api_version(dflt_mc_io, 0, in dpio_init()
1053 err = dpio_open(dflt_mc_io, in dpio_init()
1063 err = dpio_get_attributes(dflt_mc_io, MC_CMD_NO_FLAGS, in dpio_init()
1078 err = dpio_enable(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpio->dpio_handle); in dpio_init()
1102 dpio_disable(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpio->dpio_handle); in dpio_init()
1106 dpio_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpio->dpio_handle); in dpio_init()
1109 dpio_destroy(dflt_mc_io, in dpio_init()
1123 err = dpio_disable(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpio->dpio_handle); in dpio_exit()
1129 dpio_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpio->dpio_handle); in dpio_exit()
1135 err = dpio_destroy(dflt_mc_io, in dpio_exit()
1206 dflt_mc_io = (struct fsl_mc_io *)calloc(sizeof(struct fsl_mc_io), 1); in dprc_init()
1207 if (!dflt_mc_io) { in dprc_init()
1214 dflt_mc_io->mmio_regs = SOC_MC_PORTAL_ADDR(child_portal_id); in dprc_init()
1218 child_dprc_id, dflt_mc_io->mmio_regs); in dprc_init()
1221 err = dprc_open(dflt_mc_io, MC_CMD_NO_FLAGS, child_dprc_id, in dprc_init()
1235 free(dflt_mc_io); in dprc_init()
1250 err = dprc_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dprc_handle); in dprc_exit()
1269 if (dflt_mc_io) in dprc_exit()
1270 free(dflt_mc_io); in dprc_exit()
1298 err = dpbp_create(dflt_mc_io, in dpbp_init()
1310 err = dpbp_get_api_version(dflt_mc_io, 0, in dpbp_init()
1326 err = dpbp_open(dflt_mc_io, in dpbp_init()
1336 err = dpbp_get_attributes(dflt_mc_io, MC_CMD_NO_FLAGS, in dpbp_init()
1353 err = dpbp_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpbp->dpbp_handle); in dpbp_init()
1363 dpbp_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpbp->dpbp_handle); in dpbp_init()
1364 dpbp_destroy(dflt_mc_io, in dpbp_init()
1381 err = dpbp_destroy(dflt_mc_io, dflt_dprc_handle, MC_CMD_NO_FLAGS, in dpbp_exit()
1423 err = dpni_create(dflt_mc_io, in dpni_init()
1434 err = dpni_get_api_version(dflt_mc_io, 0, in dpni_init()
1450 err = dpni_open(dflt_mc_io, in dpni_init()
1462 err = dpni_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpni->dpni_handle); in dpni_init()
1471 dpni_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpni->dpni_handle); in dpni_init()
1474 dpni_destroy(dflt_mc_io, in dpni_init()
1489 err = dpni_destroy(dflt_mc_io, dflt_dprc_handle, MC_CMD_NO_FLAGS, in dpni_exit()
1552 err = dpsparser_create(dflt_mc_io, in dpsparser_init()
1559 err = dpsparser_version_check(dflt_mc_io); in dpsparser_init()
1565 err = dpsparser_open(dflt_mc_io, in dpsparser_init()
1577 dpsparser_destroy(dflt_mc_io, in dpsparser_init()
1596 dpsparser_close(dflt_mc_io, MC_CMD_NO_FLAGS, dpsparser_handle); in dpsparser_exit()
1602 err = dpsparser_destroy(dflt_mc_io, dflt_dprc_handle, in dpsparser_exit()
1652 err = dpsparser_apply_spb(dflt_mc_io, MC_CMD_NO_FLAGS, dpsparser_handle, in mc_apply_spb()