Home
last modified time | relevance | path

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

/linux/tools/testing/cxl/test/
H A Dcxl_translate.c64 static u64 to_hpa(u64 dpa_offset, int pos, u8 r_eiw, u16 r_eig, u8 hb_ways, in to_hpa() argument
70 hpa_offset = cxl_calculate_hpa_offset(dpa_offset, pos, r_eiw, r_eig); in to_hpa()
93 static u64 to_dpa(u64 hpa_offset, u8 r_eiw, u16 r_eig, u8 hb_ways, u8 math) in to_dpa() argument
103 return cxl_calculate_dpa_offset(offset, r_eiw, r_eig); in to_dpa()
117 static u64 to_pos(u64 hpa_offset, u8 r_eiw, u16 r_eig, u8 hb_ways, u8 math) in to_pos() argument
125 return cxl_calculate_position(offset, r_eiw, r_eig); in to_pos()
141 static int run_translation_test(u64 dpa, int pos, u8 r_eiw, u16 r_eig, in run_translation_test() argument
148 translated_spa = to_hpa(dpa, pos, r_eiw, r_eig, hb_ways, math); in run_translation_test()
156 reverse_dpa = to_dpa(translated_spa, r_eiw, r_eig, hb_ways, math); in run_translation_test()
164 reverse_pos = to_pos(translated_spa, r_eiw, r_eig, hb_ways, math); in run_translation_test()
[all …]