Searched refs:nfit_mem (Results 1 – 3 of 3) sorted by relevance
186 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in xlat_nvdimm_status() local194 if (nfit_mem->has_lsr) in xlat_nvdimm_status()201 if (nfit_mem->has_lsr && status == ACPI_LABELS_LOCKED) in xlat_nvdimm_status()205 if (nfit_mem->has_lsw && status == ACPI_LABELS_LOCKED) in xlat_nvdimm_status()398 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in acpi_nfit_ctl() local424 struct acpi_device *adev = nfit_mem->adev; in acpi_nfit_ctl()428 if (call_pkg && nfit_mem->family != call_pkg->nd_family) in acpi_nfit_ctl()434 dsm_mask = nfit_mem->dsm_mask; in acpi_nfit_ctl()436 guid = to_nfit_uuid(nfit_mem->family); in acpi_nfit_ctl()483 if (nvdimm && cmd == ND_CMD_GET_CONFIG_SIZE && nfit_mem->has_lsr) in acpi_nfit_ctl()[all …]
163 struct nfit_mem { struct272 struct nfit_mem *nfit_mem) in __to_nfit_memdev() argument274 if (nfit_mem->memdev_dcr) in __to_nfit_memdev()275 return nfit_mem->memdev_dcr; in __to_nfit_memdev()276 return nfit_mem->memdev_pmem; in __to_nfit_memdev()
934 static int get_dimm(struct nfit_mem *nfit_mem, unsigned int func) in get_dimm() argument940 if (__to_nfit_memdev(nfit_mem)->device_handle == handle[i]) in get_dimm()961 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in nfit_test_ctl() local964 if (!nfit_mem) in nfit_test_ctl()973 if (call_pkg->nd_family != nfit_mem->family) in nfit_test_ctl()976 i = get_dimm(nfit_mem, func); in nfit_test_ctl()1038 || !test_bit(func, &nfit_mem->dsm_mask)) in nfit_test_ctl()1041 i = get_dimm(nfit_mem, func); in nfit_test_ctl()2359 struct nfit_mem *nfit_mem; in nfit_ctl_test() local2404 nfit_mem = devm_kzalloc(dev, sizeof(*nfit_mem), GFP_KERNEL); in nfit_ctl_test()[all …]