Searched refs:PAGES_TO_MiB (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/edac/ |
D | edac_mc.h | 41 #define PAGES_TO_MiB(pages) ((pages) >> (20 - PAGE_SHIFT)) macro 44 #define PAGES_TO_MiB(pages) ((pages) << (PAGE_SHIFT - 20)) macro
|
D | edac_mc_sysfs.c | 169 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()
|
D | i3200_edac.c | 403 stacked ? " (stacked)" : "", PAGES_TO_MiB(nr_pages)); in i3200_probe1()
|
D | ghes_edac.c | 183 PAGES_TO_MiB(dimm->nr_pages), in ghes_edac_dmidecode()
|
D | i5100_edac.c | 876 chan, rank, (long)PAGES_TO_MiB(npages)); in i5100_init_csrows()
|