Lines Matching refs:dgrpid
837 int dgrpid)
850 banki->devgrp_id = dgrpid;
1076 mc_add_dgrp_banks(uint64_t bankid, uint64_t dgrpid,
1086 if ((dgrp = mc_node_get(dgrpid, dgrp_head)) == NULL) {
1094 match |= (ds_shift == -1 ? 0 : ((dgrpid & 1) << ds_shift));
1103 banki = mc_add_bank(bankid, mask, match, size, dgrpid);
1118 banki = mc_add_bank(bankid, mask, match, size, dgrpid);
1217 mc_add_devgrp(int dgrpid, struct mc_soft_state *softsp)
1227 if ((dgrp = mc_node_get(dgrpid, dgrp_head)) != NULL) {
1229 dgrpid));
1235 dgrp->dgrp_node.id = dgrpid;
1238 if ((dgrpid & 1) == 0) {
1260 dgrp->base = MC_BASE(mcid) + DGRP_BASE(dgrpid);
1264 " base_device %d part_type %d\n", dgrpid, dgrp->size,
1267 dgrpoffset = dgrpid % NDGRPS_PER_MC;
1271 devid = dgrpid * NDIMMS_PER_DGRP + i;
1307 int i, mcid, dgrpid;
1333 dgrpid = mcid * NDGRPS_PER_MC;
1335 mc_add_devgrp(dgrpid, softsp);
1336 mctrl->devgrpids[i] = dgrpid;
1342 dgrpid++;
1343 mc_add_devgrp(dgrpid, softsp);
1344 mctrl->devgrpids[i] = dgrpid;
1369 int i, j, dgrpid, devid, bankid;
1388 dgrpid = mc_id * NDGRPS_PER_MC + i;
1389 if (!(dgrp = mc_node_get(dgrpid, dgrp_head))) {
1394 devid = dgrpid * NDIMMS_PER_DGRP + j;