Home
last modified time | relevance | path

Searched refs:nfit_mem (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/acpi/nfit/
Dintel.c55 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_flags() local
72 if (!test_bit(NVDIMM_INTEL_GET_SECURITY_STATE, &nfit_mem->dsm_mask)) in intel_security_flags()
121 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_freeze() local
135 if (!test_bit(NVDIMM_INTEL_FREEZE_LOCK, &nfit_mem->dsm_mask)) in intel_security_freeze()
151 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_change_key() local
169 if (!test_bit(cmd, &nfit_mem->dsm_mask)) in intel_security_change_key()
198 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_unlock() local
213 if (!test_bit(NVDIMM_INTEL_UNLOCK_UNIT, &nfit_mem->dsm_mask)) in intel_security_unlock()
240 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_disable() local
254 if (!test_bit(NVDIMM_INTEL_DISABLE_PASSPHRASE, &nfit_mem->dsm_mask)) in intel_security_disable()
[all …]
Dcore.c190 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in xlat_nvdimm_status() local
198 if (test_bit(NFIT_MEM_LSR, &nfit_mem->flags)) in xlat_nvdimm_status()
205 if (test_bit(NFIT_MEM_LSR, &nfit_mem->flags) in xlat_nvdimm_status()
210 if (test_bit(NFIT_MEM_LSW, &nfit_mem->flags) in xlat_nvdimm_status()
397 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in payload_dumpable() local
399 if (nfit_mem && nfit_mem->family == NVDIMM_FAMILY_INTEL in payload_dumpable()
406 static int cmd_to_func(struct nfit_mem *nfit_mem, unsigned int cmd, in cmd_to_func() argument
412 if (nfit_mem && nfit_mem->family != call_pkg->nd_family) in cmd_to_func()
423 if (!nfit_mem) in cmd_to_func()
427 if (nfit_mem->family == NVDIMM_FAMILY_INTEL) in cmd_to_func()
[all …]
Dnfit.h207 struct nfit_mem { struct
327 struct nfit_mem *nfit_mem) in __to_nfit_memdev() argument
329 if (nfit_mem->memdev_dcr) in __to_nfit_memdev()
330 return nfit_mem->memdev_dcr; in __to_nfit_memdev()
331 return nfit_mem->memdev_pmem; in __to_nfit_memdev()
/linux-6.1.9/tools/testing/nvdimm/
Dacpi_nfit_test.c12 void nfit_intel_shutdown_status(struct nfit_mem *nfit_mem) in nfit_intel_shutdown_status() argument
14 set_bit(NFIT_MEM_DIRTY_COUNT, &nfit_mem->flags); in nfit_intel_shutdown_status()
15 nfit_mem->dirty_shutdown = 42; in nfit_intel_shutdown_status()
/linux-6.1.9/tools/testing/nvdimm/test/
Dnfit.c1312 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()
[all …]