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) in mc_construct() argument
1492 if ((mctrl = (struct mctrl_info *)mc_node_get(mc_id, in mc_construct()
1494 cmn_err(CE_WARN, "mc_construct: mctrl %d exists\n", mc_id); in mc_construct()
1506 mctrl->mctrl_node.id = mc_id; in mc_construct()
1515 idx = mc_id * NDGRPS + i; in mc_construct()
1554 mctrl->mctrl_node.id = mc_id; in mc_construct()
1577 mlayout_add(int mc_id, int bank_no, uint64_t reg, void *dimminfop) in mlayout_add() argument
1606 "%d, reg 0x%lx\n", mc_id, bank_no, reg)); in mlayout_add()
1609 idx = mc_id * NBANKS + bank_no; in mlayout_add()
1676 idx = mc_id * NDGRPS + (bank_no % NDGRPS); in mlayout_add()
1777 mlayout_del(int mc_id, int delete) in mlayout_del() argument
1790 if ((mctrl = (struct mctrl_info *)mc_node_get(mc_id, mctrl_head)) != in mlayout_del()
1809 dgrpid = mc_id * NDGRPS + i; in mlayout_del()
1833 bankid = mc_id * NBANKS + i; in mlayout_del()
1890 i = mc_get_sid_cache_index(mc_id); in mlayout_del()