Home
last modified time | relevance | path

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

/openbmc/linux/drivers/edac/
H A Dedac_mc.h41 #define PAGES_TO_MiB(pages) ((pages) >> (20 - PAGE_SHIFT)) macro
44 #define PAGES_TO_MiB(pages) ((pages) << (PAGE_SHIFT - 20)) macro
H A Dedac_mc_sysfs.c169 return sprintf(data, "%u\n", PAGES_TO_MiB(nr_pages)); in csrow_size_show()
549 return sprintf(data, "%u\n", PAGES_TO_MiB(dimm->nr_pages)); in dimmdev_size_show()
836 return sprintf(data, "%u\n", PAGES_TO_MiB(total_pages)); in mci_size_mb_show()
H A Di3200_edac.c401 stacked ? " (stacked)" : "", PAGES_TO_MiB(nr_pages)); in i3200_probe1()
H A Dghes_edac.c193 PAGES_TO_MiB(dimm->nr_pages), in assign_dmi_dimm_info()
H A Di5100_edac.c858 chan, rank, (long)PAGES_TO_MiB(npages)); in i5100_init_csrows()