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.c59 * hb_ways: host bridge interleave ways
64 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()
88 * hb_ways: host bridge interleave ways
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()
112 * hb_ways: host bridge interleave ways
117 static u64 to_pos(u64 hpa_offset, u8 r_eiw, u16 r_eig, u8 hb_ways, u argument
142 run_translation_test(u64 dpa,int pos,u8 r_eiw,u16 r_eig,u8 hb_ways,int math,u64 expect_hpa) run_translation_test() argument
189 parse_test_vector(const char * entry,u64 * dpa,int * pos,u8 * r_eiw,u16 * r_eig,u8 * hb_ways,int * math,u64 * expect_hpa) parse_test_vector() argument
404 u8 r_eiw, hb_ways; cxl_translate_init() local
[all...]
/linux/drivers/cxl/core/
H A Dregion.c3227 static int decode_pos(int region_ways, int hb_ways, int pos, int *pos_port, in decode_pos() argument
3238 switch (hb_ways) { in decode_pos()
3260 devices_per_hb = region_ways / hb_ways; in decode_pos()