Searched refs:cxlsd (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/cxl/core/ |
A D | port.c | 144 next = cxlsd->target[i + 1]; in emit_target_list() 407 kfree(cxlsd); in cxl_switch_decoder_release() 1522 cxlsd->target[i] = dport; in decoder_populate_targets() 1531 struct cxl_switch_decoder *cxlsd = &cxlrd->cxlsd; in cxl_hb_modulo() local 1628 cxlsd = &cxlrd->cxlsd; in cxl_root_decoder_alloc() 1638 cxld = &cxlsd->cxld; in cxl_root_decoder_alloc() 1677 cxlsd = kzalloc(struct_size(cxlsd, target, nr_targets), GFP_KERNEL); in cxl_switch_decoder_alloc() 1678 if (!cxlsd) in cxl_switch_decoder_alloc() 1683 kfree(cxlsd); in cxl_switch_decoder_alloc() 1687 cxld = &cxlsd->cxld; in cxl_switch_decoder_alloc() [all …]
|
A D | hdm.c | 52 struct cxl_switch_decoder *cxlsd; in devm_cxl_add_passthrough_decoder() local 57 cxlsd = cxl_switch_decoder_alloc(port, 1); in devm_cxl_add_passthrough_decoder() 58 if (IS_ERR(cxlsd)) in devm_cxl_add_passthrough_decoder() 59 return PTR_ERR(cxlsd); in devm_cxl_add_passthrough_decoder() 548 if (dev_WARN_ONCE(&cxlsd->cxld.dev, in cxlsd_set_targets() 551 cxlsd->nr_targets)) in cxlsd_set_targets() 632 struct cxl_switch_decoder *cxlsd = in cxl_decoder_commit() local 943 struct cxl_switch_decoder *cxlsd; in devm_cxl_enumerate_decoders() local 946 if (IS_ERR(cxlsd)) { in devm_cxl_enumerate_decoders() 950 return PTR_ERR(cxlsd); in devm_cxl_enumerate_decoders() [all …]
|
A D | region.c | 166 struct cxl_switch_decoder *cxlsd = NULL; in commit_decoder() local 174 if (dev_WARN_ONCE(&cxld->dev, !cxlsd || cxlsd->nr_targets > 1, in commit_decoder() 1014 struct cxl_switch_decoder *cxlsd; in cxl_port_setup_targets() local 1159 dev_name(&cxlsd->cxld.dev), in cxl_port_setup_targets() 1322 dev_name(&cxlrd->cxlsd.cxld.dev)); in cxl_region_attach_position() 1390 struct cxl_switch_decoder *cxlsd; in decoder_match_range() local 1395 cxlsd = to_cxl_switch_decoder(dev); in decoder_match_range() 1425 struct cxl_switch_decoder *cxlsd; in cmp_decode_pos() local 1475 cxlsd = to_cxl_switch_decoder(dev); in cmp_decode_pos() 1976 dev->parent = &cxlrd->cxlsd.cxld.dev; in cxl_region_alloc() [all …]
|
/linux-6.3-rc2/drivers/cxl/ |
A D | acpi.c | 48 struct cxl_switch_decoder *cxlsd = &cxlrd->cxlsd; in cxl_hb_xor() local 49 struct cxl_decoder *cxld = &cxlsd->cxld; in cxl_hb_xor() 56 cxld->interleave_ways != cxlsd->nr_targets, in cxl_hb_xor() 69 return cxlrd->cxlsd.target[n]; in cxl_hb_xor() 83 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld; in cxl_parse_cxims() 259 cxld = &cxlrd->cxlsd.cxld; in cxl_parse_cfmws() 611 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld; in pair_cxl_resource()
|
A D | cxlmem.h | 67 return to_cxl_port(cxlrd->cxlsd.cxld.dev.parent); in cxlrd_to_port()
|
A D | cxl.h | 422 struct cxl_switch_decoder cxlsd; member
|
/linux-6.3-rc2/tools/testing/cxl/test/ |
A D | cxl.c | 738 struct cxl_switch_decoder *cxlsd; in mock_init_hdm_decoder() local 813 cxlsd = to_cxl_switch_decoder(dev); in mock_init_hdm_decoder() 817 cxlsd->target[1] = dport; in mock_init_hdm_decoder() 819 cxlsd->target[0] = dport; in mock_init_hdm_decoder() 821 cxlsd->target[0] = dport; in mock_init_hdm_decoder() 822 cxld = &cxlsd->cxld; in mock_init_hdm_decoder() 867 struct cxl_switch_decoder *cxlsd; in mock_cxl_enumerate_decoders() local 869 cxlsd = cxl_switch_decoder_alloc(port, target_count); in mock_cxl_enumerate_decoders() 870 if (IS_ERR(cxlsd)) { in mock_cxl_enumerate_decoders() 873 return PTR_ERR(cxlsd); in mock_cxl_enumerate_decoders() [all …]
|
Completed in 25 milliseconds