Lines Matching refs:mcport
506 struct mctrl_info *mcport;
796 if ((mcport = (struct mctrl_info *)mc_node_get(mccontrol_in.id,
803 * mcport->ndevgrps zero means Memory Controller is disable.
805 if ((mccontrol_in.ndevgrps < mcport->ndevgrps) ||
806 (mcport->ndevgrps == 0)) {
807 mccontrol_in.ndevgrps = mcport->ndevgrps;
811 else if (mcport->ndevgrps != 0)
818 size = sizeof (struct mc_control) + (mcport->ndevgrps - 1) *
822 mccontrol->id = mcport->mctrl_node.id;
823 mccontrol->ndevgrps = mcport->ndevgrps;
824 for (i = 0; i < mcport->ndevgrps; i++) {
825 mccontrol->devgrpids[i].globalid = mcport->devgrpids[i];
827 mcport->devgrpids[i] % NDGRPS;