Lines Matching refs:adev_dimm

1776 	struct acpi_device *adev, *adev_dimm;  in acpi_nfit_add_dimm()  local
1807 adev_dimm = acpi_find_child_device(adev, device_handle, false); in acpi_nfit_add_dimm()
1808 nfit_mem->adev = adev_dimm; in acpi_nfit_add_dimm()
1809 if (!adev_dimm) { in acpi_nfit_add_dimm()
1815 if (ACPI_FAILURE(acpi_install_notify_handler(adev_dimm->handle, in acpi_nfit_add_dimm()
1816 ACPI_DEVICE_NOTIFY, acpi_nvdimm_notify, adev_dimm))) { in acpi_nfit_add_dimm()
1818 dev_name(&adev_dimm->dev)); in acpi_nfit_add_dimm()
1825 dev_set_drvdata(&adev_dimm->dev, nfit_mem); in acpi_nfit_add_dimm()
1842 if (acpi_check_dsm(adev_dimm->handle, to_nfit_uuid(i), 1, 1)) { in acpi_nfit_add_dimm()
1882 if (acpi_check_dsm(adev_dimm->handle, guid, in acpi_nfit_add_dimm()
1897 if (acpi_nvdimm_has_method(adev_dimm, "_LSI") in acpi_nfit_add_dimm()
1898 && acpi_nvdimm_has_method(adev_dimm, "_LSR")) { in acpi_nfit_add_dimm()
1899 dev_dbg(dev, "%s: has _LSR\n", dev_name(&adev_dimm->dev)); in acpi_nfit_add_dimm()
1904 && acpi_nvdimm_has_method(adev_dimm, "_LSW")) { in acpi_nfit_add_dimm()
1905 dev_dbg(dev, "%s: has _LSW\n", dev_name(&adev_dimm->dev)); in acpi_nfit_add_dimm()
1916 dev_name(&adev_dimm->dev)); in acpi_nfit_add_dimm()
1920 dev_name(&adev_dimm->dev)); in acpi_nfit_add_dimm()
1939 struct acpi_device *adev_dimm = nfit_mem->adev; in shutdown_dimm_notify() local
1945 if (adev_dimm) { in shutdown_dimm_notify()
1946 acpi_remove_notify_handler(adev_dimm->handle, in shutdown_dimm_notify()
1948 dev_set_drvdata(&adev_dimm->dev, NULL); in shutdown_dimm_notify()