Lines Matching refs:mcport
446 struct mctrl_info *mcport;
719 if ((mcport = mc_node_get(mccontrol_in.id,
726 * mcport->ndevgrps zero means Memory Controller is disable.
728 if ((mccontrol_in.ndevgrps < mcport->ndevgrps) ||
729 (mcport->ndevgrps == 0)) {
730 mccontrol_in.ndevgrps = mcport->ndevgrps;
735 else if (mcport->ndevgrps != 0)
741 size = sizeof (*mccontrol) + (mcport->ndevgrps - 1) *
745 mccontrol->id = mcport->mctrl_node.id;
746 mccontrol->ndevgrps = mcport->ndevgrps;
747 for (i = 0; i < mcport->ndevgrps; i++) {
748 mccontrol->devgrpids[i].globalid = mcport->devgrpids[i];
750 mcport->devgrpids[i] % NDGRPS_PER_MC;