Lines Matching refs:nfit_mem
1315 static int get_dimm(struct nfit_mem *nfit_mem, unsigned int func)
1321 if (__to_nfit_memdev(nfit_mem)->device_handle == handle[i])
1367 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm);
1370 if (!nfit_mem)
1379 if (call_pkg->nd_family != nfit_mem->family)
1382 i = get_dimm(nfit_mem, func);
1494 || !test_bit(func, &nfit_mem->dsm_mask))
1497 i = get_dimm(nfit_mem, func);
2891 struct nfit_mem *nfit_mem;
2944 nfit_mem = devm_kzalloc(dev, sizeof(*nfit_mem), GFP_KERNEL);
2945 if (!nfit_mem)
2952 *nfit_mem = (struct nfit_mem) {
2962 .provider_data = nfit_mem,
3146 struct nfit_mem *nfit_mem;
3245 /* associate dimm devices with nfit_mem data for notification testing */
3247 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) {
3248 u32 nfit_handle = __to_nfit_memdev(nfit_mem)->device_handle;
3254 nfit_mem);