Searched refs:PAGES_TO_MiB (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/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() 525 return sprintf(data, "%u\n", PAGES_TO_MiB(dimm->nr_pages)); in dimmdev_size_show() 812 return sprintf(data, "%u\n", PAGES_TO_MiB(total_pages)); in mci_size_mb_show()
|
D | i3200_edac.c | 402 stacked ? " (stacked)" : "", PAGES_TO_MiB(nr_pages)); in i3200_probe1()
|
D | ghes_edac.c | 192 PAGES_TO_MiB(dimm->nr_pages), in assign_dmi_dimm_info()
|
D | i5100_edac.c | 863 chan, rank, (long)PAGES_TO_MiB(npages)); in i5100_init_csrows()
|