Lines Matching refs:mc_id
150 static void mc_construct(int mc_id, void *dimminfop);
151 static int mlayout_add(int mc_id, int bank_no, uint64_t reg, void *dimminfop);
152 static void mlayout_del(int mc_id, int delete);
1482 mc_construct(int mc_id, void *dimminfop)
1492 if ((mctrl = (struct mctrl_info *)mc_node_get(mc_id,
1494 cmn_err(CE_WARN, "mc_construct: mctrl %d exists\n", mc_id);
1506 mctrl->mctrl_node.id = mc_id;
1515 idx = mc_id * NDGRPS + i;
1554 mctrl->mctrl_node.id = mc_id;
1577 mlayout_add(int mc_id, int bank_no, uint64_t reg, void *dimminfop)
1605 DPRINTF(MC_CNSTRC_DEBUG, ("mlayout_add: mc_id %d, bank num "
1606 "%d, reg 0x%lx\n", mc_id, bank_no, reg));
1609 idx = mc_id * NBANKS + bank_no;
1676 idx = mc_id * NDGRPS + (bank_no % NDGRPS);
1777 mlayout_del(int mc_id, int delete)
1790 if ((mctrl = (struct mctrl_info *)mc_node_get(mc_id, mctrl_head)) !=
1809 dgrpid = mc_id * NDGRPS + i;
1833 bankid = mc_id * NBANKS + i;
1890 i = mc_get_sid_cache_index(mc_id);