Searched refs:hpa_range (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/cxl/core/ |
| H A D | region.c | 691 cxlr->hpa_range = DEFINE_RANGE(res->start, res->end); in alloc_hpa() 729 cxlr->hpa_range = DEFINE_RANGE(0, -1); in free_hpa() 945 r = &cxld->hpa_range; in match_auto_decoder() 1580 !spa_maps_hpa(p, &cxld->hpa_range) || in cxl_port_setup_targets() 1592 cxld->hpa_range.start, cxld->hpa_range.end); in cxl_port_setup_targets() 1607 cxld->hpa_range = (struct range) { in cxl_port_setup_targets() 1660 cxld->hpa_range = (struct range) { in cxl_port_reset_targets() 1905 r1 = &cxlsd->cxld.hpa_range; in match_switch_decoder_by_range() 1967 struct range *hpa_range) in cxl_calc_interleave_pos() argument 2008 rc = find_pos_and_ways(iter, hpa_range, &parent_pos, in cxl_calc_interleave_pos() [all …]
|
| H A D | hdm.c | 769 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 D | core.h | 25 struct range hpa_range; member
|
| H A D | port.c | 106 return sysfs_emit(buf, "%#llx\n", cxld->hpa_range.start); in start_show() 115 return sysfs_emit(buf, "%#llx\n", range_len(&cxld->hpa_range)); in size_show() 1978 cxld->hpa_range = (struct range) { in cxl_decoder_init()
|
| H A D | pci.c | 237 return range_contains(&cxld->hpa_range, dev_range); in dvsec_range_allowed()
|
| /linux/drivers/cxl/ |
| H A D | cxl.h | 299 struct range hpa_range; member 487 struct range hpa_range; member 535 struct range hpa_range; member 543 struct range hpa_range; member
|
| H A D | pmem.c | 417 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()
|
| H A D | cxlmem.h | 115 struct range hpa_range; member
|
| /linux/tools/testing/cxl/test/ |
| H A D | cxl.c | 808 ___d->id, msg, ___d->hpa_range.start, \ 809 ___d->hpa_range.end + 1, ___d->interleave_ways, \ 820 a->hpa_range = b->hpa_range; in cxld_copy() 1033 cxld->hpa_range.start = 0; in init_disabled_mock_decoder() 1034 cxld->hpa_range.end = -1; in init_disabled_mock_decoder() 1061 cxld->hpa_range = (struct range){ in default_mock_decoder() 1152 cxld->hpa_range = (struct range) { in mock_init_hdm_type2_cxled() 1191 cxld->hpa_range = (struct range) { in mock_init_hdm_type2_cxled() 1235 cxld->hpa_range = (struct range) { in mock_init_hdm_type3_cxled() 1291 cxld->hpa_range = (struct range) { in mock_init_hdm_type3_cxled()
|