Searched refs:cxlsd (Results 1 – 7 of 7) sorted by relevance
| /drivers/cxl/core/ |
| A D | port.c | 155 next = cxlsd->target[i + 1]; in emit_target_list() 174 rc = emit_target_list(cxlsd, buf); in target_list_show() 434 kfree(cxlsd); in cxl_switch_decoder_release() 1725 cxlsd->target[i] = dport; in decoder_populate_targets() 1812 cxlsd = &cxlrd->cxlsd; in cxl_root_decoder_alloc() 1821 cxld = &cxlsd->cxld; in cxl_root_decoder_alloc() 1861 cxlsd = kzalloc(struct_size(cxlsd, target, nr_targets), GFP_KERNEL); in cxl_switch_decoder_alloc() 1862 if (!cxlsd) in cxl_switch_decoder_alloc() 1867 kfree(cxlsd); in cxl_switch_decoder_alloc() 1871 cxld = &cxlsd->cxld; in cxl_switch_decoder_alloc() [all …]
|
| A D | region.c | 291 if (dev_WARN_ONCE(&cxld->dev, !cxlsd || cxlsd->nr_targets > 1, in commit_decoder() 1150 struct cxl_switch_decoder *cxlsd; in cxl_port_attach_region() local 1159 cxlsd->nr_targets); in cxl_port_attach_region() 1330 struct cxl_switch_decoder *cxlsd; in cxl_port_setup_targets() local 1508 dev_name(&cxlsd->cxld.dev), in cxl_port_setup_targets() 1686 struct cxl_switch_decoder *cxlsd = &cxlrd->cxlsd; in cxl_region_attach_position() local 1764 struct cxl_switch_decoder *cxlsd; in match_switch_decoder_by_range() local 1771 cxlsd = to_cxl_switch_decoder(dev); in match_switch_decoder_by_range() 1772 r1 = &cxlsd->cxld.hpa_range; in match_switch_decoder_by_range() 1782 struct cxl_switch_decoder *cxlsd; in find_pos_and_ways() local [all …]
|
| A D | hdm.c | 55 struct cxl_switch_decoder *cxlsd; in devm_cxl_add_passthrough_decoder() local 68 cxlsd = cxl_switch_decoder_alloc(port, 1); in devm_cxl_add_passthrough_decoder() 69 if (IS_ERR(cxlsd)) in devm_cxl_add_passthrough_decoder() 70 return PTR_ERR(cxlsd); in devm_cxl_add_passthrough_decoder() 731 int ways = cxlsd->cxld.interleave_ways; in cxlsd_set_targets() 795 struct cxl_switch_decoder *cxlsd = in setup_hw_decoder() local 801 cxlsd_set_targets(cxlsd, &targets); in setup_hw_decoder() 1198 struct cxl_switch_decoder *cxlsd; in devm_cxl_enumerate_decoders() local 1201 if (IS_ERR(cxlsd)) { in devm_cxl_enumerate_decoders() 1205 return PTR_ERR(cxlsd); in devm_cxl_enumerate_decoders() [all …]
|
| A D | cdat.c | 330 struct cxl_switch_decoder *cxlsd; in match_cxlrd_hb() local 337 cxlsd = &cxlrd->cxlsd; in match_cxlrd_hb() 340 for (int i = 0; i < cxlsd->nr_targets; i++) { in match_cxlrd_hb() 341 if (host_bridge == cxlsd->target[i]->dport_dev) in match_cxlrd_hb()
|
| /drivers/cxl/ |
| A D | acpi.c | 27 int hbiw = cxlrd->cxlsd.nr_targets; in cxl_xor_hpa_to_spa() 72 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld; in cxl_parse_cxims() 340 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld; in cxl_acpi_set_cache_size() 387 dev_warn(cxlrd->cxlsd.cxld.dev.parent, in cxl_setup_extended_linear_cache() 396 if (!IS_ERR_OR_NULL(_T)) put_device(&_T->cxlsd.cxld.dev)) 438 cxld = &cxlrd->cxlsd.cxld; in DEFINE_FREE() 869 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld; in pair_cxl_resource()
|
| A D | cxl.h | 443 struct cxl_switch_decoder cxlsd; member 746 …_root_decoder, struct cxl_root_decoder *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->cxlsd.cxld.dev)) 791 return cxl_decoder_autoremove(host, &cxlrd->cxlsd.cxld); in cxl_root_decoder_autoremove()
|
| A D | cxlmem.h | 81 return to_cxl_port(cxlrd->cxlsd.cxld.dev.parent); in cxlrd_to_port()
|
Completed in 732 milliseconds