Searched refs:cxl_root_decoder (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/cxl/ |
H A D | cxl.h | 424 struct cxl_root_decoder; 425 typedef struct cxl_dport *(*cxl_calc_hb_fn)(struct cxl_root_decoder *cxlrd, 437 struct cxl_root_decoder { struct 712 struct cxl_root_decoder *to_cxl_root_decoder(struct device *dev); 718 struct cxl_root_decoder *cxl_root_decoder_alloc(struct cxl_port *port, 721 struct cxl_dport *cxl_hb_modulo(struct cxl_root_decoder *cxlrd, int pos);
|
H A D | acpi.c | 45 static struct cxl_dport *cxl_hb_xor(struct cxl_root_decoder *cxlrd, int pos) in cxl_hb_xor() 74 struct cxl_root_decoder *cxlrd; 82 struct cxl_root_decoder *cxlrd = ctx->cxlrd; in cxl_parse_cxims() 204 struct cxl_root_decoder *cxlrd; in __cxl_parse_cfmws() 645 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); in pair_cxl_resource()
|
H A D | cxlmem.h | 68 static inline struct cxl_port *cxlrd_to_port(struct cxl_root_decoder *cxlrd) in cxlrd_to_port()
|
/openbmc/linux/drivers/cxl/core/ |
H A D | region.c | 367 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev->parent); in interleave_ways_store() 435 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev->parent); in interleave_granularity_store() 509 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(cxlr->dev.parent); in alloc_hpa() 1161 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(cxlr->dev.parent); in cxl_port_setup_targets() 1521 struct cxl_root_decoder *cxlrd, in cxl_region_attach_position() 1759 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(cxlr->dev.parent); in cxl_region_attach() 2148 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev->parent); in cxl_region_release() 2212 static struct cxl_region *cxl_region_alloc(struct cxl_root_decoder *cxlrd, int id) in cxl_region_alloc() 2253 static struct cxl_region *devm_cxl_add_region(struct cxl_root_decoder *cxlrd, in devm_cxl_add_region() 2291 static ssize_t __create_region_show(struct cxl_root_decoder *cxlrd, char *buf) in __create_region_show() [all …]
|
H A D | port.c | 315 static bool can_create_pmem(struct cxl_root_decoder *cxlrd) in can_create_pmem() 322 static bool can_create_ram(struct cxl_root_decoder *cxlrd) in can_create_ram() 332 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); in cxl_root_decoder_visible() 421 struct cxl_root_decoder *to_cxl_root_decoder(struct device *dev) in to_cxl_root_decoder() 426 return container_of(dev, struct cxl_root_decoder, cxlsd.cxld.dev); in to_cxl_root_decoder() 432 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); in cxl_root_decoder_release() 1600 struct cxl_dport *cxl_hb_modulo(struct cxl_root_decoder *cxlrd, int pos) in cxl_hb_modulo() 1681 struct cxl_root_decoder *cxl_root_decoder_alloc(struct cxl_port *port, in cxl_root_decoder_alloc() 1685 struct cxl_root_decoder *cxlrd; in cxl_root_decoder_alloc()
|