Home
last modified time | relevance | path

Searched refs:MiB_TO_PAGES (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/edac/
A Dedac_mc.h42 #define MiB_TO_PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) macro
45 #define MiB_TO_PAGES(mb) ((mb) >> (PAGE_SHIFT - 20)) macro
A Dghes_edac.c121 dimm->nr_pages = MiB_TO_PAGES(32);/* Unknown */ in assign_dmi_dimm_info()
123 dimm->nr_pages = MiB_TO_PAGES(entry->extended_size); in assign_dmi_dimm_info()
126 dimm->nr_pages = MiB_TO_PAGES((entry->size & 0x7fff) << 10); in assign_dmi_dimm_info()
128 dimm->nr_pages = MiB_TO_PAGES(entry->size); in assign_dmi_dimm_info()
A Dskx_common.c370 npages = MiB_TO_PAGES(size); in skx_get_dimm_info()
A Di7300_edac.c649 dimm->nr_pages = MiB_TO_PAGES(dinfo->megabytes); in decode_mtr()
A Dpnd2_edac.c1234 dimm->nr_pages = MiB_TO_PAGES(capacity >> (20 - 3)); in apl_get_dimm_config()
1300 dimm->nr_pages = MiB_TO_PAGES(capacity >> (20 - 3)); in dnv_get_dimm_config()
A Digen6_edac.c840 dimm->nr_pages = MiB_TO_PAGES(dsize >> 20); in igen6_get_dimm_config()
A Di7core_edac.c602 npages = MiB_TO_PAGES(size); in get_dimm_config()
A Dsb_edac.c1660 npages = MiB_TO_PAGES(size); in __populate_dimms()

Completed in 26 milliseconds