Lines Matching defs:nfit_mem
1312 static int get_dimm(struct nfit_mem *nfit_mem, unsigned int func)
1318 if (__to_nfit_memdev(nfit_mem)->device_handle == handle[i])
1364 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm);
1367 if (!nfit_mem)
1376 if (call_pkg->nd_family != nfit_mem->family)
1379 i = get_dimm(nfit_mem, func);
1491 || !test_bit(func, &nfit_mem->dsm_mask))
1494 i = get_dimm(nfit_mem, func);
2876 struct nfit_mem *nfit_mem;
2929 nfit_mem = devm_kzalloc(dev, sizeof(*nfit_mem), GFP_KERNEL);
2930 if (!nfit_mem)
2937 *nfit_mem = (struct nfit_mem) {
2947 .provider_data = nfit_mem,
3131 struct nfit_mem *nfit_mem;
3229 /* associate dimm devices with nfit_mem data for notification testing */
3231 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) {
3232 u32 nfit_handle = __to_nfit_memdev(nfit_mem)->device_handle;
3238 nfit_mem);