Home
last modified time | relevance | path

Searched refs:cxl_root_decoder (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/cxl/
H A Dcxl.h357 struct cxl_root_decoder;
364 u64 (*hpa_to_spa)(struct cxl_root_decoder *cxlrd, u64 hpa);
365 u64 (*spa_to_hpa)(struct cxl_root_decoder *cxlrd, u64 spa);
381 struct cxl_root_decoder { struct
486 struct cxl_root_decoder *cxlrd;
743 DEFINE_FREE(put_cxl_root_decoder, struct cxl_root_decoder *, if (!IS_ERR_OR_NULL(_T)) put_device(&_…
771 struct cxl_root_decoder *to_cxl_root_decoder(struct device *dev);
777 struct cxl_root_decoder *cxl_root_decoder_alloc(struct cxl_port *port,
786 struct cxl_root_decoder *cxlrd) in cxl_root_decoder_autoremove()
H A Dcxlmem.h81 static inline struct cxl_port *cxlrd_to_port(struct cxl_root_decoder *cxlrd) in cxlrd_to_port()
/linux/drivers/cxl/core/
H A Dregion.c491 struct cxl_root_decoder *cxlrd = cxlr->cxlrd; in set_interleave_ways()
565 struct cxl_root_decoder *cxlrd = cxlr->cxlrd; in set_interleave_granularity()
655 struct cxl_root_decoder *cxlrd = cxlr->cxlrd; in alloc_hpa()
1442 struct cxl_root_decoder *cxlrd = cxlr->cxlrd; in cxl_port_setup_targets()
1803 struct cxl_root_decoder *cxlrd = cxlr->cxlrd; in cxl_region_attach_position()
2053 struct cxl_root_decoder *cxlrd = cxlr->cxlrd; in cxl_region_attach()
2518 struct cxl_root_decoder *cxlrd = cxlr->cxlrd; in cxl_region_release()
2561 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(cxlr->dev.parent); in unregister_region()
2585 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(cxlr->dev.parent); in endpoint_unregister_region()
2595 static struct cxl_region *cxl_region_alloc(struct cxl_root_decoder *cxlrd, int id) in cxl_region_alloc()
[all …]
H A Dcore.h55 void kill_regions(struct cxl_root_decoder *cxlrd);
85 static inline void kill_regions(struct cxl_root_decoder *cxlrd) { }; in kill_regions()
H A Dport.c309 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); in qos_class_show()
341 static bool can_create_pmem(struct cxl_root_decoder *cxlrd) in can_create_pmem()
348 static bool can_create_ram(struct cxl_root_decoder *cxlrd) in can_create_ram()
358 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); in cxl_root_decoder_visible()
447 struct cxl_root_decoder *to_cxl_root_decoder(struct device *dev) in to_cxl_root_decoder()
452 return container_of(dev, struct cxl_root_decoder, cxlsd.cxld.dev); in to_cxl_root_decoder()
458 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); in cxl_root_decoder_release()
2007 struct cxl_root_decoder *cxl_root_decoder_alloc(struct cxl_port *port, in cxl_root_decoder_alloc()
2010 struct cxl_root_decoder *cxlrd; in cxl_root_decoder_alloc()
H A Dcdat.c292 struct cxl_root_decoder *cxlrd; in match_cxlrd_qos_class()
331 struct cxl_root_decoder *cxlrd; in match_cxlrd_hb()