Lines Matching refs:nfit_mem
1312 static int get_dimm(struct nfit_mem *nfit_mem, unsigned int func) in get_dimm() argument
1318 if (__to_nfit_memdev(nfit_mem)->device_handle == handle[i]) in get_dimm()
1364 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in nfit_test_ctl() local
1367 if (!nfit_mem) in nfit_test_ctl()
1376 if (call_pkg->nd_family != nfit_mem->family) in nfit_test_ctl()
1379 i = get_dimm(nfit_mem, func); in nfit_test_ctl()
1491 || !test_bit(func, &nfit_mem->dsm_mask)) in nfit_test_ctl()
1494 i = get_dimm(nfit_mem, func); in nfit_test_ctl()
2874 struct nfit_mem *nfit_mem; in nfit_ctl_test() local
2927 nfit_mem = devm_kzalloc(dev, sizeof(*nfit_mem), GFP_KERNEL); in nfit_ctl_test()
2928 if (!nfit_mem) in nfit_ctl_test()
2935 *nfit_mem = (struct nfit_mem) { in nfit_ctl_test()
2945 .provider_data = nfit_mem, in nfit_ctl_test()
3129 struct nfit_mem *nfit_mem; in nfit_test_probe() local
3229 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) { in nfit_test_probe()
3230 u32 nfit_handle = __to_nfit_memdev(nfit_mem)->device_handle; in nfit_test_probe()
3236 nfit_mem); in nfit_test_probe()