cxl_region
void cxl_region_perf_data_calculate(struct cxl_region *cxlr,
static int cxl_endpoint_gather_bandwidth(struct cxl_region *cxlr,
static struct xarray *cxl_switch_gather_bandwidth(struct cxl_region *cxlr,
static void cxl_region_update_bandwidth(struct cxl_region *cxlr,
void cxl_region_shared_upstream_bandwidth_update(struct cxl_region *cxlr)
int cxl_decoder_detach(struct cxl_region *cxlr,
struct cxl_region *cxl_dpa_to_region(const struct cxl_memdev *cxlmd, u64 dpa);
u64 cxl_dpa_to_hpa(struct cxl_region *cxlr, const struct cxl_memdev *cxlmd,
static inline u64 cxl_dpa_to_hpa(struct cxl_region *cxlr,
struct cxl_region *cxl_dpa_to_region(const struct cxl_memdev *cxlmd, u64 dpa)
static inline int cxl_decoder_detach(struct cxl_region *cxlr,
struct cxl_region *cxlr;
struct cxl_region *cxlr;
int devm_cxl_region_edac_register(struct cxl_region *cxlr)
struct cxl_region *cxlr;
static int cxl_region_scrub_init(struct cxl_region *cxlr,
struct cxl_region *cxlr)
struct cxl_region *cxlr;
struct cxl_region *cxlr;
struct cxl_region *cxlr;
struct cxl_region *cxlr = cxl_rr->region;
struct cxl_region *cxlr = cxl_rr->region;
struct cxl_region *cxlr = cxl_rr->region;
static int cxl_rr_assign_decoder(struct cxl_port *port, struct cxl_region *cxlr,
static void cxl_region_setup_flags(struct cxl_region *cxlr,
struct cxl_region *cxlr,
struct cxl_region *cxlr,
struct cxl_region *cxlr = cxl_rr->region;
struct cxl_region *cxlr,
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr)
static void cxl_region_teardown_targets(struct cxl_region *cxlr)
struct cxl_region *cxlr;
static int cxl_region_setup_targets(struct cxl_region *cxlr)
static int cxl_region_validate_position(struct cxl_region *cxlr,
static int cxl_region_attach_position(struct cxl_region *cxlr,
static int cxl_region_attach_auto(struct cxl_region *cxlr,
struct cxl_region *cxlr = to_cxl_region(dev);
static int cxl_region_sort_targets(struct cxl_region *cxlr)
static int cxl_region_attach(struct cxl_region *cxlr,
static struct cxl_region *
__cxl_decoder_detach(struct cxl_region *cxlr,
struct cxl_region *cxlr)
int cxl_decoder_detach(struct cxl_region *cxlr,
struct cxl_region *detach;
static int cxl_region_invalidate_memregion(struct cxl_region *cxlr)
static int __attach_target(struct cxl_region *cxlr,
static int attach_target(struct cxl_region *cxlr,
static int detach_target(struct cxl_region *cxlr, int pos)
static size_t store_targetN(struct cxl_region *cxlr, const char *buf, int pos,
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
static struct cxl_region *to_cxl_region(struct device *dev)
return container_of(dev, struct cxl_region, dev);
struct cxl_region *cxlr = _cxlr;
static void cxl_region_decode_reset(struct cxl_region *cxlr, int count)
static struct cxl_region *cxl_region_alloc(struct cxl_root_decoder *cxlrd, int id)
struct cxl_region *cxlr;
static bool cxl_region_update_coordinates(struct cxl_region *cxlr, int nid)
struct cxl_region *cxlr = container_of(nb, struct cxl_region,
struct cxl_region *cxlr = container_of(nb, struct cxl_region,
static struct cxl_region *devm_cxl_add_region(struct cxl_root_decoder *cxlrd,
struct cxl_region *cxlr;
static struct cxl_region *__create_region(struct cxl_root_decoder *cxlrd,
struct cxl_region *cxlr;
static struct cxl_region *
struct cxl_region *cxlr;
struct cxl_region *cxlr;
struct cxl_region *cxlr;
struct cxl_region *cxl_dpa_to_region(const struct cxl_memdev *cxlmd, u64 dpa)
static bool cxl_is_hpa_in_chunk(u64 hpa, struct cxl_region *cxlr, int pos)
static int cxl_region_decode_commit(struct cxl_region *cxlr)
static bool region_is_unaligned_mod3(struct cxl_region *cxlr)
u64 cxl_dpa_to_hpa(struct cxl_region *cxlr, const struct cxl_memdev *cxlmd,
static int unaligned_region_offset_to_dpa_result(struct cxl_region *cxlr,
static int region_offset_to_dpa_result(struct cxl_region *cxlr, u64 offset,
static int cxl_pmem_region_alloc(struct cxl_region *cxlr)
static struct cxl_dax_region *cxl_dax_region_alloc(struct cxl_region *cxlr)
static int queue_reset(struct cxl_region *cxlr)
struct cxl_region *cxlr = cxlr_pmem->cxlr;
struct cxl_region *cxlr = _cxlr;
static int devm_cxl_add_pmem_region(struct cxl_region *cxlr)
static int devm_cxl_add_dax_region(struct cxl_region *cxlr)
static int __commit(struct cxl_region *cxlr)
struct cxl_region *cxlr;
static int cxl_extended_linear_cache_resize(struct cxl_region *cxlr,
static int __construct_region(struct cxl_region *cxlr,
static struct cxl_region *construct_region(struct cxl_root_decoder *cxlrd,
struct cxl_region *cxlr;
static struct cxl_region *
struct cxl_region *cxlr __free(put_cxl_region) =
struct cxl_region *cxlr = arg;
struct cxl_region *cxlr = _cxlr;
static int validate_region_offset(struct cxl_region *cxlr, u64 offset)
struct cxl_region *cxlr = data;
static struct cxl_region *to_cxl_region(struct device *dev);
struct cxl_region *cxlr = data;
struct cxl_region *cxlr = to_cxl_region(dev);
static int cxl_region_setup_poison(struct cxl_region *cxlr)
static int cxl_region_can_probe(struct cxl_region *cxlr)
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev); \
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
static int alloc_hpa(struct cxl_region *cxlr, resource_size_t size)
static void cxl_region_iomem_release(struct cxl_region *cxlr)
static int free_hpa(struct cxl_region *cxlr)
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
struct cxl_region *cxlr = to_cxl_region(dev);
static size_t show_targetN(struct cxl_region *cxlr, char *buf, int pos)
struct cxl_region *cxlr)
static bool auto_order_ok(struct cxl_port *port, struct cxl_region *cxlr_iter,
alloc_region_ref(struct cxl_port *port, struct cxl_region *cxlr,
struct cxl_region *cxlr = to_cxl_region(dev); \
TP_PROTO(struct cxl_memdev *cxlmd, struct cxl_region *cxlr,
struct cxl_region *cxlr, u64 hpa, u64 hpa_alias0,
struct cxl_region *cxlr, u64 hpa, u64 hpa_alias0,
struct cxl_region *region;
struct cxl_region *cxlr;
struct cxl_region *cxlr;
struct cxl_region *region;
DEFINE_FREE(put_cxl_region, struct cxl_region *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
void cxl_region_perf_data_calculate(struct cxl_region *cxlr,
void cxl_region_shared_upstream_bandwidth_update(struct cxl_region *cxlr);
struct cxl_region *cxlr);
int devm_cxl_region_edac_register(struct cxl_region *cxlr);
static inline int devm_cxl_region_edac_register(struct cxl_region *cxlr)
struct cxl_region *cxlr = cxlr_pmem->cxlr;
struct cxl_region *cxlr = cxlr_dax->cxlr;