Home
last modified time | relevance | path

Searched refs:cxlr (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dregion.c36 struct cxl_region *cxlr = to_cxl_region(dev); in uuid_show() local
37 struct cxl_region_params *p = &cxlr->params; in uuid_show()
43 if (cxlr->mode != CXL_DECODER_PMEM) in uuid_show()
55 struct cxl_region *cxlr; in is_dup() local
62 cxlr = to_cxl_region(match); in is_dup()
63 p = &cxlr->params; in is_dup()
76 struct cxl_region *cxlr = to_cxl_region(dev); in uuid_store() local
77 struct cxl_region_params *p = &cxlr->params; in uuid_store()
117 struct cxl_region *cxlr) in cxl_rr_load()
119 return xa_load(&port->regions, (unsigned long)cxlr); in cxl_rr_load()
116 cxl_rr_load(struct cxl_port *port, struct cxl_region *cxlr) cxl_rr_load() argument
122 cxl_region_invalidate_memregion(struct cxl_region *cxlr) cxl_region_invalidate_memregion() argument
141 cxl_region_decode_reset(struct cxl_region *cxlr, int count) cxl_region_decode_reset() argument
211 cxl_region_decode_commit(struct cxl_region *cxlr) cxl_region_decode_commit() argument
260 struct cxl_region *cxlr = to_cxl_region(dev); commit_store() local
332 struct cxl_region *cxlr = to_cxl_region(dev); commit_show() local
350 struct cxl_region *cxlr = to_cxl_region(dev); cxl_region_visible() local
364 struct cxl_region *cxlr = to_cxl_region(dev); interleave_ways_show() local
385 struct cxl_region *cxlr = to_cxl_region(dev); interleave_ways_store() local
434 struct cxl_region *cxlr = to_cxl_region(dev); interleave_granularity_show() local
453 struct cxl_region *cxlr = to_cxl_region(dev); interleave_granularity_store() local
497 struct cxl_region *cxlr = to_cxl_region(dev); resource_show() local
517 struct cxl_region *cxlr = to_cxl_region(dev); mode_show() local
523 alloc_hpa(struct cxl_region *cxlr, resource_size_t size) alloc_hpa() argument
566 cxl_region_iomem_release(struct cxl_region *cxlr) cxl_region_iomem_release() argument
584 free_hpa(struct cxl_region *cxlr) free_hpa() argument
604 struct cxl_region *cxlr = to_cxl_region(dev); size_store() local
631 struct cxl_region *cxlr = to_cxl_region(dev); size_show() local
664 show_targetN(struct cxl_region *cxlr, char *buf, int pos) show_targetN() argument
733 cxl_region_find_decoder(struct cxl_port *port, struct cxl_endpoint_decoder *cxled, struct cxl_region *cxlr) cxl_region_find_decoder() argument
783 alloc_region_ref(struct cxl_port *port, struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled) alloc_region_ref() argument
833 struct cxl_region *cxlr = cxl_rr->region; cxl_rr_free_decoder() local
849 struct cxl_region *cxlr = cxl_rr->region; free_region_ref() local
862 struct cxl_region *cxlr = cxl_rr->region; cxl_rr_ep_add() local
882 cxl_rr_alloc_decoder(struct cxl_port *port, struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled, struct cxl_region_ref *cxl_rr) cxl_rr_alloc_decoder() argument
942 cxl_port_attach_region(struct cxl_port *port, struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled, int pos) cxl_port_attach_region() argument
1028 cxl_port_detach_region(struct cxl_port *port, struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled) cxl_port_detach_region() argument
1074 struct cxl_region *cxlr = cxl_rr->region; check_last_peer() local
1109 cxl_port_setup_targets(struct cxl_port *port, struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled) cxl_port_setup_targets() argument
1298 cxl_port_reset_targets(struct cxl_port *port, struct cxl_region *cxlr) cxl_port_reset_targets() argument
1319 cxl_region_teardown_targets(struct cxl_region *cxlr) cxl_region_teardown_targets() argument
1354 cxl_region_setup_targets(struct cxl_region *cxlr) cxl_region_setup_targets() argument
1404 cxl_region_validate_position(struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled, int pos) cxl_region_validate_position() argument
1452 cxl_region_attach_position(struct cxl_region *cxlr, struct cxl_root_decoder *cxlrd, struct cxl_endpoint_decoder *cxled, const struct cxl_dport *dport, int pos) cxl_region_attach_position() argument
1484 cxl_region_attach_auto(struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled, int pos) cxl_region_attach_auto() argument
1660 cxl_region_sort_targets(struct cxl_region *cxlr) cxl_region_sort_targets() argument
1685 cxl_region_attach(struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled, int pos) cxl_region_attach() argument
1850 struct cxl_region *cxlr = cxled->cxld.region; cxl_region_detach() local
1915 attach_target(struct cxl_region *cxlr, struct cxl_endpoint_decoder *cxled, int pos, unsigned int state) attach_target() argument
1935 detach_target(struct cxl_region *cxlr, int pos) detach_target() argument
1962 store_targetN(struct cxl_region *cxlr, const char *buf, int pos, size_t len) store_targetN() argument
2047 struct cxl_region *cxlr = to_cxl_region(dev); cxl_region_target_visible() local
2075 struct cxl_region *cxlr = to_cxl_region(dev); cxl_region_release() local
2118 struct cxl_region *cxlr = to_cxl_region(dev); unregister_region() local
2140 struct cxl_region *cxlr; cxl_region_alloc() local
2185 struct cxl_region *cxlr; devm_cxl_add_region() local
2265 struct cxl_region *cxlr; create_pmem_region_store() local
2285 struct cxl_region *cxlr; create_ram_region_store() local
2339 struct cxl_region *cxlr; delete_region_store() local
2514 cxl_pmem_region_alloc(struct cxl_region *cxlr) cxl_pmem_region_alloc() argument
2613 cxl_dax_region_alloc(struct cxl_region *cxlr) cxl_dax_region_alloc() argument
2651 struct cxl_region *cxlr = cxlr_pmem->cxlr; cxlr_pmem_unregister() local
2668 struct cxl_region *cxlr = _cxlr; cxlr_release_nvdimm() local
2686 devm_cxl_add_pmem_region(struct cxl_region *cxlr) devm_cxl_add_pmem_region() argument
2739 devm_cxl_add_dax_region(struct cxl_region *cxlr) devm_cxl_add_dax_region() argument
2784 struct cxl_region *cxlr; match_region_by_range() local
2810 struct cxl_region *cxlr; construct_region() local
2894 struct cxl_region *cxlr; cxl_add_to_region() local
2955 struct cxl_region *cxlr = arg; is_system_ram() local
2964 struct cxl_region *cxlr = to_cxl_region(dev); cxl_region_probe() local
[all...]
H A Dtrace.c10 static bool cxl_is_hpa_in_range(u64 hpa, struct cxl_region *cxlr, int pos) in cxl_is_hpa_in_range() argument
12 struct cxl_region_params *p = &cxlr->params; in cxl_is_hpa_in_range()
19 dev_dbg(&cxlr->dev, in cxl_is_hpa_in_range()
30 dev_dbg(&cxlr->dev, in cxl_is_hpa_in_range()
36 static u64 cxl_dpa_to_hpa(u64 dpa, struct cxl_region *cxlr, in cxl_dpa_to_hpa() argument
40 struct cxl_region_params *p = &cxlr->params; in cxl_dpa_to_hpa()
78 if (!cxl_is_hpa_in_range(hpa, cxlr, cxled->pos)) in cxl_dpa_to_hpa()
84 u64 cxl_trace_hpa(struct cxl_region *cxlr, struct cxl_memdev *cxlmd, in cxl_trace_hpa() argument
87 struct cxl_region_params *p = &cxlr->params; in cxl_trace_hpa()
98 return cxl_dpa_to_hpa(dpa, cxlr, cxle in cxl_trace_hpa()
[all...]
H A Dmemdev.c255 struct cxl_region *cxlr; member
278 ctx->cxlr = cxled->cxld.region; in __cxl_dpa_to_region()
295 return ctx.cxlr; in cxl_dpa_to_region()
328 struct cxl_region *cxlr; in cxl_inject_poison() local
358 cxlr = cxl_dpa_to_region(cxlmd, dpa); in cxl_inject_poison()
359 if (cxlr) in cxl_inject_poison()
362 dev_name(&cxlr->dev)); in cxl_inject_poison()
368 trace_cxl_poison(cxlmd, cxlr, &record, 0, 0, CXL_POISON_TRACE_INJECT); in cxl_inject_poison()
383 struct cxl_region *cxlr; in cxl_clear_poison() local
422 cxlr in cxl_clear_poison()
[all...]
H A Dmbox.c1308 struct cxl_region *cxlr) in cxl_mem_get_poison()
1340 trace_cxl_poison(cxlmd, cxlr, &po->record[i], in cxl_mem_get_poison()
1307 cxl_mem_get_poison(struct cxl_memdev *cxlmd, u64 offset, u64 len, struct cxl_region *cxlr) cxl_mem_get_poison() argument
H A Dtrace.h641 u64 cxl_trace_hpa(struct cxl_region *cxlr, struct cxl_memdev *memdev, u64 dpa);
/kernel/linux/linux-6.6/drivers/dax/
H A Dcxl.c13 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()
/kernel/linux/linux-6.6/drivers/cxl/
H A Dpmem.c310 struct cxl_region *cxlr = cxlr_pmem->cxlr; in cxl_pmem_region_probe() local
311 struct cxl_nvdimm_bridge *cxl_nvb = cxlr->cxl_nvb; in cxl_pmem_region_probe()
348 dev_dbg(&cxlr->dev, "changing target node from %d to %d", in cxl_pmem_region_probe()
356 ndr_desc.memregion = cxlr->id; in cxl_pmem_region_probe()
H A Dcxl.h547 struct cxl_region *cxlr; member
556 struct cxl_region *cxlr; member
H A Dcxlmem.h872 struct cxl_region *cxlr);

Completed in 11 milliseconds