| /linux/drivers/cxl/core/ |
| H A D | region.c | 56 struct cxl_region *cxlr = to_cxl_region(dev); \ 58 if (cxlr->coord[level].attrib == 0) \ 61 return sysfs_emit(buf, "%u\n", cxlr->coord[level].attrib); \ 99 struct cxl_region *cxlr = to_cxl_region(dev); \ 102 cxlr->coord[level].read_latency == 0) \ 106 cxlr->coord[level].write_latency == 0) \ 110 cxlr->coord[level].read_bandwidth == 0) \ 114 cxlr->coord[level].write_bandwidth == 0) \ 148 struct cxl_region *cxlr = to_cxl_region(dev); in uuid_show() local 149 struct cxl_region_params *p = &cxlr->params; in uuid_show() [all …]
|
| H A D | cdat.c | 628 static int cxl_endpoint_gather_bandwidth(struct cxl_region *cxlr, in cxl_endpoint_gather_bandwidth() argument 754 static struct xarray *cxl_switch_gather_bandwidth(struct cxl_region *cxlr, in DEFINE_FREE() 845 dev_dbg(&cxlr->dev, in DEFINE_FREE() 954 static void cxl_region_update_bandwidth(struct cxl_region *cxlr, in cxl_region_update_bandwidth() argument 966 cxlr->coord[i].read_bandwidth = coord[i].read_bandwidth; in cxl_region_update_bandwidth() 967 cxlr->coord[i].write_bandwidth = coord[i].write_bandwidth; in cxl_region_update_bandwidth() 980 void cxl_region_shared_upstream_bandwidth_update(struct cxl_region *cxlr) in cxl_region_shared_upstream_bandwidth_update() argument 998 for (int i = 0; i < cxlr->params.nr_targets; i++) { in cxl_region_shared_upstream_bandwidth_update() 999 struct cxl_endpoint_decoder *cxled = cxlr->params.targets[i]; in cxl_region_shared_upstream_bandwidth_update() 1002 rc = cxl_endpoint_gather_bandwidth(cxlr, cxled, usp_xa, &is_root); in cxl_region_shared_upstream_bandwidth_update() [all …]
|
| H A D | trace.h | 452 struct cxl_region *cxlr, u64 hpa, u64 hpa_alias0, 455 TP_ARGS(cxlmd, log, cxlr, hpa, hpa_alias0, rec), 477 __string(region_name, cxlr ? dev_name(&cxlr->dev) : "") 501 if (cxlr) { 503 uuid_copy(&__entry->region_uuid, &cxlr->params.uuid); 595 struct cxl_region *cxlr, u64 hpa, u64 hpa_alias0, 598 TP_ARGS(cxlmd, log, cxlr, hpa, hpa_alias0, rec), 626 __string(region_name, cxlr ? dev_name(&cxlr->dev) : "") 653 if (cxlr) { 655 uuid_copy(&__entry->region_uuid, &cxlr->params.uuid); [all …]
|
| H A D | edac.c | 37 struct cxl_region *cxlr; member 108 struct cxl_region *cxlr; in cxl_scrub_get_attrbs() local 112 if (!cxl_ps_ctx->cxlr) { in cxl_scrub_get_attrbs() 122 cxlr = cxl_ps_ctx->cxlr; in cxl_scrub_get_attrbs() 123 p = &cxlr->params; in cxl_scrub_get_attrbs() 157 struct cxl_region *cxlr; in cxl_scrub_set_attrbs_region() local 164 cxlr = cxl_ps_ctx->cxlr; in cxl_scrub_set_attrbs_region() 165 p = &cxlr->params; in cxl_scrub_set_attrbs_region() 187 cxlmd->scrub_region_id, cxlr->id, in cxl_scrub_set_attrbs_region() 191 cxlmd->scrub_region_id = cxlr->id; in cxl_scrub_set_attrbs_region() [all …]
|
| H A D | mbox.c | 909 struct cxl_region *cxlr; in cxl_event_trace_record() local 920 cxlr = cxl_dpa_to_region(cxlmd, dpa); in cxl_event_trace_record() 921 if (cxlr) { in cxl_event_trace_record() 922 u64 cache_size = cxlr->params.cache_size; in cxl_event_trace_record() 924 hpa = cxl_dpa_to_hpa(cxlr, cxlmd, dpa); in cxl_event_trace_record() 942 trace_cxl_general_media(cxlmd, type, cxlr, hpa, in cxl_event_trace_record() 957 trace_cxl_dram(cxlmd, type, cxlr, hpa, hpa_alias, in cxl_event_trace_record() 1419 struct cxl_region *cxlr) in cxl_mem_get_poison() argument 1451 trace_cxl_poison(cxlmd, cxlr, &po->record[i], in cxl_mem_get_poison()
|
| /linux/drivers/dax/ |
| H A D | cxl.c | 13 struct cxl_region *cxlr = cxlr_dax->cxlr; in cxl_dax_region_probe() local 20 dax_region = alloc_dax_region(dev, cxlr->id, &cxlr_dax->hpa_range, nid, in cxl_dax_region_probe()
|
| /linux/drivers/cxl/ |
| H A D | pmem.c | 379 struct cxl_region *cxlr = cxlr_pmem->cxlr; in cxl_pmem_region_probe() local 380 struct cxl_nvdimm_bridge *cxl_nvb = cxlr->cxl_nvb; in cxl_pmem_region_probe() 417 dev_dbg(&cxlr->dev, "changing target node from %d to %d", in cxl_pmem_region_probe() 425 ndr_desc.memregion = cxlr->id; in cxl_pmem_region_probe()
|
| H A D | cxl.h | 583 struct cxl_region *cxlr; member 592 struct cxl_region *cxlr; member 936 void cxl_region_perf_data_calculate(struct cxl_region *cxlr, 938 void cxl_region_shared_upstream_bandwidth_update(struct cxl_region *cxlr);
|
| /linux/Documentation/driver-api/cxl/linux/ |
| H A D | access-coordinates.rst | 169 access coordinates residing in the cxl region (cxlr) context.
|