Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/cxl/core/
Dtrace.c13 int gran = p->interleave_granularity; in cxl_is_hpa_in_range()
46 granularity_to_eig(p->interleave_granularity, &eig); in cxl_dpa_to_hpa()
Dregion.c441 rc = sysfs_emit(buf, "%d\n", p->interleave_granularity); in interleave_granularity_show()
474 if (cxld->interleave_ways > 1 && val != cxld->interleave_granularity) in interleave_granularity_store()
485 p->interleave_granularity = val; in interleave_granularity_store()
492 static DEVICE_ATTR_RW(interleave_granularity);
544 if (!p->interleave_ways || !p->interleave_granularity || in alloc_hpa()
1137 parent_ig = p->interleave_granularity; in cxl_port_setup_targets()
1151 parent_ig = parent_cxld->interleave_granularity; in cxl_port_setup_targets()
1209 cxld->interleave_granularity != ig || in cxl_port_setup_targets()
1221 cxld->interleave_granularity, in cxl_port_setup_targets()
1230 cxld->interleave_granularity = ig; in cxl_port_setup_targets()
[all …]
Dhdm.c560 if (WARN_ONCE(granularity_to_eig(cxld->interleave_granularity, &eig), in cxld_set_interleave()
562 cxld->interleave_granularity)) in cxld_set_interleave()
900 &cxld->interleave_granularity); in init_hdm_decoder()
906 cxld->interleave_ways, cxld->interleave_granularity); in init_hdm_decoder()
Dport.c275 return sysfs_emit(buf, "%d\n", cxld->interleave_granularity); in interleave_granularity_show()
278 static DEVICE_ATTR_RO(interleave_granularity);
1649 cxld->interleave_granularity = PAGE_SIZE; in cxl_decoder_init()
/linux-6.6.21/drivers/cxl/
Dacpi.c50 int ig = cxld->interleave_granularity; in cxl_hb_xor()
94 if (hbig != cxld->interleave_granularity) in cxl_parse_cxims()
269 cxld->interleave_granularity = ig; in __cxl_parse_cfmws()
Dcxl.h343 int interleave_granularity; member
478 int interleave_granularity; member
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-cxl328 'interleave_granularity') to consecutive DPA addresses. The
335 What: /sys/bus/cxl/devices/decoderX.Y/interleave_granularity
343 interleave_granularity (assuming N is aligned to
344 interleave_granularity).
383 What: /sys/bus/cxl/devices/regionZ/interleave_granularity
/linux-6.6.21/tools/testing/cxl/test/
Dcxl.c716 cxld->interleave_granularity = 256; in default_mock_decoder()
790 eig_to_granularity(window->granularity, &cxld->interleave_granularity); in mock_init_hdm_decoder()
835 cxld->interleave_granularity = 4096; in mock_init_hdm_decoder()