Searched refs:cxlrd (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/drivers/cxl/ |
H A D | acpi.c | 45 static struct cxl_dport *cxl_hb_xor(struct cxl_root_decoder *cxlrd, int pos) in cxl_hb_xor() argument 47 struct cxl_cxims_data *cximsd = cxlrd->platform_data; in cxl_hb_xor() 48 struct cxl_switch_decoder *cxlsd = &cxlrd->cxlsd; in cxl_hb_xor() 60 hpa = cxlrd->res->start + pos * ig; in cxl_hb_xor() 69 return cxlrd->cxlsd.target[n]; in cxl_hb_xor() 74 struct cxl_root_decoder *cxlrd; member 82 struct cxl_root_decoder *cxlrd = ctx->cxlrd; in cxl_parse_cxims() local 83 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld; in cxl_parse_cxims() 118 cxlrd in cxl_parse_cxims() 204 struct cxl_root_decoder *cxlrd; __cxl_parse_cfmws() local 645 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); pair_cxl_resource() local [all...] |
H A D | cxl.h | 423 typedef struct cxl_dport *(*cxl_calc_hb_fn)(struct cxl_root_decoder *cxlrd, 718 struct cxl_dport *cxl_hb_modulo(struct cxl_root_decoder *cxlrd, int pos);
|
H A D | cxlmem.h | 68 static inline struct cxl_port *cxlrd_to_port(struct cxl_root_decoder *cxlrd) in cxlrd_to_port() argument 70 return to_cxl_port(cxlrd->cxlsd.cxld.dev.parent); in cxlrd_to_port()
|
/kernel/linux/linux-6.6/drivers/cxl/core/ |
H A D | region.c | 383 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev->parent); in interleave_ways_store() local 384 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld; in interleave_ways_store() 451 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev->parent); in interleave_granularity_store() local 452 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld; in interleave_granularity_store() 525 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(cxlr->dev.parent); in alloc_hpa() local 552 res = alloc_free_mem_region(cxlrd->res, size, SZ_256M, in alloc_hpa() 1113 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(cxlr->dev.parent); in cxl_port_setup_targets() local 1168 parent_iw = cxlrd->cxlsd.cxld.interleave_ways; in cxl_port_setup_targets() 1453 struct cxl_root_decoder *cxlrd, in cxl_region_attach_position() 1461 if (cxlrd in cxl_region_attach_position() 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 1688 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(cxlr->dev.parent); cxl_region_attach() local 2074 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev->parent); cxl_region_release() local 2138 cxl_region_alloc(struct cxl_root_decoder *cxlrd, int id) cxl_region_alloc() argument 2179 devm_cxl_add_region(struct cxl_root_decoder *cxlrd, int id, enum cxl_decoder_mode mode, enum cxl_decoder_type type) devm_cxl_add_region() argument 2226 __create_region_show(struct cxl_root_decoder *cxlrd, char *buf) __create_region_show() argument 2243 __create_region(struct cxl_root_decoder *cxlrd, enum cxl_decoder_mode mode, int id) __create_region() argument 2264 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); create_pmem_region_store() local 2284 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); create_ram_region_store() local 2321 cxl_find_region_by_name(struct cxl_root_decoder *cxlrd, const char *name) cxl_find_region_by_name() argument 2337 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); delete_region_store() local 2771 struct cxl_root_decoder *cxlrd; match_root_decoder_by_range() local 2803 construct_region(struct cxl_root_decoder *cxlrd, struct cxl_endpoint_decoder *cxled) construct_region() argument 2892 struct cxl_root_decoder *cxlrd; cxl_add_to_region() local [all...] |
H A D | port.c | 315 static bool can_create_pmem(struct cxl_root_decoder *cxlrd) in can_create_pmem() argument 319 return (cxlrd->cxlsd.cxld.flags & flags) == flags; in can_create_pmem() 322 static bool can_create_ram(struct cxl_root_decoder *cxlrd) in can_create_ram() argument 326 return (cxlrd->cxlsd.cxld.flags & flags) == flags; in can_create_ram() 332 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev); in cxl_root_decoder_visible() local 334 if (a == CXL_REGION_ATTR(create_pmem_region) && !can_create_pmem(cxlrd)) in cxl_root_decoder_visible() 337 if (a == CXL_REGION_ATTR(create_ram_region) && !can_create_ram(cxlrd)) in cxl_root_decoder_visible() 341 !(can_create_pmem(cxlrd) || can_create_ram(cxlrd))) in cxl_root_decoder_visible() 432 struct cxl_root_decoder *cxlrd in cxl_root_decoder_release() local 1600 cxl_hb_modulo(struct cxl_root_decoder *cxlrd, int pos) cxl_hb_modulo() argument 1685 struct cxl_root_decoder *cxlrd; cxl_root_decoder_alloc() local [all...] |
Completed in 10 milliseconds