Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cxl/core/
H A Dtrace.c39 u64 dpa_offset, hpa_offset, bits_upper, mask_upper, hpa; in cxl_dpa_to_hpa() local
64 hpa_offset = (dpa_offset & mask_upper) << eiw; in cxl_dpa_to_hpa()
65 hpa_offset |= pos << (eig + 8); in cxl_dpa_to_hpa()
69 hpa_offset = ((bits_upper << (eiw - 8)) + pos) << (eig + 8); in cxl_dpa_to_hpa()
73 hpa_offset |= dpa_offset & GENMASK_ULL(eig + 7, 0); in cxl_dpa_to_hpa()
76 hpa = hpa_offset + p->res->start; in cxl_dpa_to_hpa()
/openbmc/qemu/hw/mem/
H A Dcxl_type3.c1054 uint64_t decoder_base, decoder_size, hpa_offset, skip; in cxl_type3_dpa() local
1073 hpa_offset = (uint64_t)host_addr - decoder_base; in cxl_type3_dpa()
1082 (hpa_offset >= decoder_size)) { in cxl_type3_dpa()
1094 ((MAKE_64BIT_MASK(0, 8 + ig) & hpa_offset) | in cxl_type3_dpa()
1095 ((MAKE_64BIT_MASK(8 + ig + iw, 64 - 8 - ig - iw) & hpa_offset) in cxl_type3_dpa()