Lines Matching defs:cximsd
24 static int cxl_xor_calc_n(u64 hpa, struct cxl_cxims_data *cximsd, int iw,
32 for (i = 0; i < cximsd->nr_maps; i++)
33 n |= (hweight64(hpa & cximsd->xormaps[i]) & 1) << i;
47 struct cxl_cxims_data *cximsd = cxlrd->platform_data;
64 n = cxl_xor_calc_n(hpa, cximsd, iw, ig);
85 struct cxl_cxims_data *cximsd;
111 cximsd = devm_kzalloc(dev, struct_size(cximsd, xormaps, nr_maps),
113 if (!cximsd)
115 cximsd->nr_maps = nr_maps;
116 memcpy(cximsd->xormaps, cxims->xormap_list,
117 nr_maps * sizeof(*cximsd->xormaps));
118 cxlrd->platform_data = cximsd;