Home
last modified time | relevance | path

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

/linux/drivers/cxl/core/
H A Dregion.c2925 u64 dpa_offset, hpa_offset, bits_upper, mask_upper, hpa; in cxl_dpa_to_hpa() local
2960 hpa_offset = (dpa_offset & mask_upper) << eiw; in cxl_dpa_to_hpa()
2961 hpa_offset |= pos << (eig + 8); in cxl_dpa_to_hpa()
2965 hpa_offset = ((bits_upper << (eiw - 8)) + pos) << (eig + 8); in cxl_dpa_to_hpa()
2969 hpa_offset |= dpa_offset & GENMASK_ULL(eig + 7, 0); in cxl_dpa_to_hpa()
2971 /* Apply the hpa_offset to the region base address */ in cxl_dpa_to_hpa()
2972 hpa = hpa_offset + p->res->start + p->cache_size; in cxl_dpa_to_hpa()