Home
last modified time | relevance | path

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

/linux/drivers/cxl/core/
H A Dregion.c690 cxlr->hpa_range = DEFINE_RANGE(res->start, res->end); in alloc_hpa()
728 cxlr->hpa_range = DEFINE_RANGE(0, -1); in free_hpa()
944 r = &cxld->hpa_range; in match_auto_decoder()
1568 !spa_maps_hpa(p, &cxld->hpa_range) || in cxl_port_setup_targets()
1580 cxld->hpa_range.start, cxld->hpa_range.end); in cxl_port_setup_targets()
1595 cxld->hpa_range = (struct range) { in cxl_port_setup_targets()
1648 cxld->hpa_range = (struct range) { in cxl_port_reset_targets()
1880 r1 = &cxlsd->cxld.hpa_range; in match_switch_decoder_by_range()
1946 struct range *hpa_range) in cxl_calc_interleave_pos() argument
1987 rc = find_pos_and_ways(iter, hpa_range, &parent_pos, in cxl_calc_interleave_pos()
[all …]
H A Dhdm.c769 base = cxld->hpa_range.start; in setup_hw_decoder()
770 size = range_len(&cxld->hpa_range); in setup_hw_decoder()
949 cxld->hpa_range = info->dvsec_range[which]; in cxl_setup_hdm_decoder_from_dvsec()
1011 cxld->hpa_range = (struct range) { in init_hdm_decoder()
1083 port->id, cxld->id, cxld->hpa_range.start, cxld->hpa_range.end, in init_hdm_decoder()
H A Dcore.h25 struct range hpa_range; member
H A Dport.c105 return sysfs_emit(buf, "%#llx\n", cxld->hpa_range.start); in start_show()
114 return sysfs_emit(buf, "%#llx\n", range_len(&cxld->hpa_range)); in size_show()
1968 cxld->hpa_range = (struct range) { in cxl_decoder_init()
/linux/drivers/cxl/
H A Dcxl.h287 struct range hpa_range; member
470 struct range hpa_range; member
516 struct range hpa_range; member
524 struct range hpa_range; member
H A Dacpi.c366 struct range *hpa = &cxld->hpa_range; in cxl_setup_extended_linear_cache()
441 cxld->hpa_range = (struct range) { in DEFINE_FREE()
872 .start = cxld->hpa_range.start, in pair_cxl_resource()
873 .end = cxld->hpa_range.end, in pair_cxl_resource()
H A Dpmem.c417 res->start = cxlr_pmem->hpa_range.start; in cxl_pmem_region_probe()
418 res->end = cxlr_pmem->hpa_range.end; in cxl_pmem_region_probe()
/linux/tools/testing/cxl/test/
H A Dcxl.c777 ___d->id, msg, ___d->hpa_range.start, \ in mock_init_hdm_decoder()
778 ___d->hpa_range.end + 1, ___d->interleave_ways, \ in mock_init_hdm_decoder()
789 a->hpa_range = b->hpa_range; in mock_init_hdm_decoder()
1002 cxld->hpa_range.start = 0; in get_port_array()
1003 cxld->hpa_range.end = -1; in get_port_array()
1030 cxld->hpa_range = (struct range){ in get_port_array()
1148 cxld->hpa_range = (struct range) { in cxl_rch_topo_init()
1208 cxld->hpa_range = (struct range) { in cxl_single_topo_init()