Lines Matching refs:cxlrd
45 static struct cxl_dport *cxl_hb_xor(struct cxl_root_decoder *cxlrd, int pos)
47 struct cxl_cxims_data *cximsd = cxlrd->platform_data;
48 struct cxl_switch_decoder *cxlsd = &cxlrd->cxlsd;
60 hpa = cxlrd->res->start + pos * ig;
69 return cxlrd->cxlsd.target[n];
74 struct cxl_root_decoder *cxlrd;
82 struct cxl_root_decoder *cxlrd = ctx->cxlrd;
83 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld;
118 cxlrd->platform_data = cximsd;
204 struct cxl_root_decoder *cxlrd;
251 cxlrd = cxl_root_decoder_alloc(root_port, ways, cxl_calc_hb);
252 if (IS_ERR(cxlrd))
253 return PTR_ERR(cxlrd);
255 cxld = &cxlrd->cxlsd.cxld;
275 .cxlrd = cxlrd,
281 if (!cxlrd->platform_data) {
645 struct cxl_root_decoder *cxlrd = to_cxl_root_decoder(dev);
646 struct cxl_decoder *cxld = &cxlrd->cxlsd.cxld;
654 cxlrd->res = cxl_get_public_resource(p);