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