Home
last modified time | relevance | path

Searched refs:tot_dimms (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/edac/
H A Dedac_mc.c130 mci->tot_dimms, mci->dimms); in edac_mc_dump_mci()
184 for (i = 0; i < mci->tot_dimms; i++) in mci_release()
264 mci->dimms = kcalloc(mci->tot_dimms, sizeof(*mci->dimms), GFP_KERNEL); in edac_mc_alloc_dimms()
271 for (idx = 0; idx < mci->tot_dimms; idx++) { in edac_mc_alloc_dimms()
341 unsigned int idx, tot_dimms = 1; in edac_mc_alloc() local
353 tot_dimms *= layers[idx].size; in edac_mc_alloc()
381 mci->tot_dimms = tot_dimms; in edac_mc_alloc()
/openbmc/linux/include/linux/
H A Dedac.h557 unsigned int tot_dimms; member
614 (dimm) = (dimm)->idx + 1 < (mci)->tot_dimms \
653 if (index < 0 || index >= mci->tot_dimms) in edac_get_dimm()