Searched refs:PAGES_TO_MiB (Results 1 – 6 of 6) sorted by relevance
/drivers/edac/ |
D | edac_core.h | 42 #define PAGES_TO_MiB(pages) ((pages) >> (20 - PAGE_SHIFT)) macro 45 #define PAGES_TO_MiB(pages) ((pages) << (PAGE_SHIFT - 20)) macro
|
D | ghes_edac.c | 177 PAGES_TO_MiB(dimm->nr_pages), in ghes_edac_dmidecode() 410 PAGES_TO_MiB(e->page_frame_number) | e->offset_in_page, in ghes_edac_report_mem_error()
|
D | edac_mc_sysfs.c | 185 return sprintf(data, "%u\n", PAGES_TO_MiB(nr_pages)); in csrow_size_show() 529 return sprintf(data, "%u\n", PAGES_TO_MiB(dimm->nr_pages)); in dimmdev_size_show() 785 return sprintf(data, "%u\n", PAGES_TO_MiB(total_pages)); in mci_size_mb_show()
|
D | i3200_edac.c | 407 stacked ? " (stacked)" : "", PAGES_TO_MiB(nr_pages)); in i3200_probe1()
|
D | i5100_edac.c | 884 chan, rank, (long)PAGES_TO_MiB(npages)); in i5100_init_csrows()
|
D | edac_mc.c | 1287 PAGES_TO_MiB(e->page_frame_number) | e->offset_in_page, in edac_mc_handle_error()
|