Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/edac/
Dedac_mc.h42 #define MiB_TO_PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) macro
45 #define MiB_TO_PAGES(mb) ((mb) >> (PAGE_SHIFT - 20)) macro
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()
Dskx_common.c370 npages = MiB_TO_PAGES(size); in skx_get_dimm_info()
Di7300_edac.c649 dimm->nr_pages = MiB_TO_PAGES(dinfo->megabytes); in decode_mtr()
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()
Digen6_edac.c840 dimm->nr_pages = MiB_TO_PAGES(dsize >> 20); in igen6_get_dimm_config()
Di7core_edac.c602 npages = MiB_TO_PAGES(size); in get_dimm_config()
Dsb_edac.c1660 npages = MiB_TO_PAGES(size); in __populate_dimms()