Home
last modified time | relevance | path

Searched refs:PAGES_TO_MiB (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/edac/
Dedac_mc.h41 #define PAGES_TO_MiB(pages) ((pages) >> (20 - PAGE_SHIFT)) macro
44 #define PAGES_TO_MiB(pages) ((pages) << (PAGE_SHIFT - 20)) macro
Dedac_mc_sysfs.c169 return sprintf(data, "%u\n", PAGES_TO_MiB(nr_pages)); in csrow_size_show()
526 return sprintf(data, "%u\n", PAGES_TO_MiB(dimm->nr_pages)); in dimmdev_size_show()
830 return sprintf(data, "%u\n", PAGES_TO_MiB(total_pages)); in mci_size_mb_show()
Di3200_edac.c403 stacked ? " (stacked)" : "", PAGES_TO_MiB(nr_pages)); in i3200_probe1()
Dghes_edac.c183 PAGES_TO_MiB(dimm->nr_pages), in ghes_edac_dmidecode()
Di5100_edac.c876 chan, rank, (long)PAGES_TO_MiB(npages)); in i5100_init_csrows()