Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
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()
Di3200_edac.c402 stacked ? " (stacked)" : "", PAGES_TO_MiB(nr_pages)); in i3200_probe1()
Dghes_edac.c192 PAGES_TO_MiB(dimm->nr_pages), in assign_dmi_dimm_info()
Di5100_edac.c863 chan, rank, (long)PAGES_TO_MiB(npages)); in i5100_init_csrows()