Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/edac/
Dedac_mc.c133 mci->tot_dimms, mci->dimms); in edac_mc_dump_mci()
240 for (i = 0; i < mci->tot_dimms; i++) in mci_release()
318 mci->dimms = kcalloc(mci->tot_dimms, sizeof(*mci->dimms), GFP_KERNEL); in edac_mc_alloc_dimms()
325 for (idx = 0; idx < mci->tot_dimms; idx++) { in edac_mc_alloc_dimms()
398 unsigned int idx, size, tot_dimms = 1; in edac_mc_alloc() local
411 tot_dimms *= layers[idx].size; in edac_mc_alloc()
434 tot_dimms, in edac_mc_alloc()
453 mci->tot_dimms = tot_dimms; in edac_mc_alloc()
/Linux-v5.15/include/linux/
Dedac.h551 unsigned int tot_dimms; member
608 (dimm) = (dimm)->idx + 1 < (mci)->tot_dimms \
647 if (index < 0 || index >= mci->tot_dimms) in edac_get_dimm()