Home
last modified time | relevance | path

Searched refs:hb_ways (Results 1 – 2 of 2) 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
75 cximsd->nr_maps = hbiw_to_nr_maps[hb_ways]; in to_hpa()
77 return cxl_do_xormap_calc(cximsd, hpa_offset, hb_ways); 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
98 cximsd->nr_maps = hbiw_to_nr_maps[hb_ways]; in to_dpa()
101 cxl_do_xormap_calc(cximsd, hpa_offset, hb_ways); 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
123 offset = cxl_do_xormap_calc(cximsd, hpa_offset, hb_ways); in to_pos()
142 u8 hb_ways, int math, u64 expect_hpa) in run_translation_test() argument
148 translated_spa = to_hpa(dpa, pos, r_eiw, r_eig, hb_ways, math); in run_translation_test()
[all …]
/linux/drivers/cxl/core/
H A Dregion.c3126 static int decode_pos(int region_ways, int hb_ways, int pos, int *pos_port, in decode_pos() argument
3137 switch (hb_ways) { in decode_pos()
3159 devices_per_hb = region_ways / hb_ways; in decode_pos()