Searched refs:nfit_mem (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/acpi/nfit/ |
D | core.c | 177 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in xlat_nvdimm_status() local 185 if (test_bit(NFIT_MEM_LSR, &nfit_mem->flags)) in xlat_nvdimm_status() 192 if (test_bit(NFIT_MEM_LSR, &nfit_mem->flags) in xlat_nvdimm_status() 197 if (test_bit(NFIT_MEM_LSW, &nfit_mem->flags) in xlat_nvdimm_status() 399 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in payload_dumpable() local 401 if (nfit_mem && nfit_mem->family == NVDIMM_FAMILY_INTEL in payload_dumpable() 408 static int cmd_to_func(struct nfit_mem *nfit_mem, unsigned int cmd, in cmd_to_func() argument 414 if (nfit_mem && nfit_mem->family != call_pkg->nd_family) in cmd_to_func() 424 if (!nfit_mem) in cmd_to_func() 428 if (nfit_mem->family == NVDIMM_FAMILY_INTEL) in cmd_to_func() [all …]
|
D | intel.c | 13 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_flags() local 30 if (!test_bit(NVDIMM_INTEL_GET_SECURITY_STATE, &nfit_mem->dsm_mask)) in intel_security_flags() 79 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_freeze() local 93 if (!test_bit(NVDIMM_INTEL_FREEZE_LOCK, &nfit_mem->dsm_mask)) in intel_security_freeze() 109 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_change_key() local 127 if (!test_bit(cmd, &nfit_mem->dsm_mask)) in intel_security_change_key() 156 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_unlock() local 171 if (!test_bit(NVDIMM_INTEL_UNLOCK_UNIT, &nfit_mem->dsm_mask)) in intel_security_unlock() 198 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in intel_security_disable() local 212 if (!test_bit(NVDIMM_INTEL_DISABLE_PASSPHRASE, &nfit_mem->dsm_mask)) in intel_security_disable() [all …]
|
D | nfit.h | 185 struct nfit_mem { struct 302 struct nfit_mem *nfit_mem) in __to_nfit_memdev() argument 304 if (nfit_mem->memdev_dcr) in __to_nfit_memdev() 305 return nfit_mem->memdev_dcr; in __to_nfit_memdev() 306 return nfit_mem->memdev_pmem; in __to_nfit_memdev()
|
/Linux-v5.4/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.4/tools/testing/nvdimm/test/ |
D | nfit.c | 1182 static int get_dimm(struct nfit_mem *nfit_mem, unsigned int func) in get_dimm() argument 1188 if (__to_nfit_memdev(nfit_mem)->device_handle == handle[i]) in get_dimm() 1209 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in nfit_test_ctl() local 1212 if (!nfit_mem) in nfit_test_ctl() 1221 if (call_pkg->nd_family != nfit_mem->family) in nfit_test_ctl() 1224 i = get_dimm(nfit_mem, func); in nfit_test_ctl() 1326 || !test_bit(func, &nfit_mem->dsm_mask)) in nfit_test_ctl() 1329 i = get_dimm(nfit_mem, func); in nfit_test_ctl() 2697 struct nfit_mem *nfit_mem; in nfit_ctl_test() local 2742 nfit_mem = devm_kzalloc(dev, sizeof(*nfit_mem), GFP_KERNEL); in nfit_ctl_test() [all …]
|