Searched refs:nfit_mem (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/acpi/nfit/ |
D | intel.c | 55 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 …]
|
D | core.c | 189 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in xlat_nvdimm_status() local 197 if (test_bit(NFIT_MEM_LSR, &nfit_mem->flags)) in xlat_nvdimm_status() 204 if (test_bit(NFIT_MEM_LSR, &nfit_mem->flags) in xlat_nvdimm_status() 209 if (test_bit(NFIT_MEM_LSW, &nfit_mem->flags) in xlat_nvdimm_status() 395 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in payload_dumpable() local 397 if (nfit_mem && nfit_mem->family == NVDIMM_FAMILY_INTEL in payload_dumpable() 404 static int cmd_to_func(struct nfit_mem *nfit_mem, unsigned int cmd, in cmd_to_func() argument 410 if (nfit_mem && nfit_mem->family != call_pkg->nd_family) in cmd_to_func() 421 if (!nfit_mem) in cmd_to_func() 425 if (nfit_mem->family == NVDIMM_FAMILY_INTEL) in cmd_to_func() [all …]
|
D | nfit.h | 207 struct nfit_mem { struct 333 struct nfit_mem *nfit_mem) in __to_nfit_memdev() argument 335 if (nfit_mem->memdev_dcr) in __to_nfit_memdev() 336 return nfit_mem->memdev_dcr; in __to_nfit_memdev() 337 return nfit_mem->memdev_pmem; in __to_nfit_memdev()
|
/Linux-v5.10/tools/testing/nvdimm/ |
D | acpi_nfit_test.c | 12 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-v5.10/tools/testing/nvdimm/test/ |
D | nfit.c | 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() [all …]
|