Lines Matching refs:handle
309 static union acpi_object *acpi_label_write(acpi_handle handle, u32 offset, in acpi_label_write() argument
333 rc = acpi_evaluate_object(handle, "_LSW", &input, &buf); in acpi_label_write()
339 static union acpi_object *acpi_label_read(acpi_handle handle, u32 offset, in acpi_label_read() argument
358 rc = acpi_evaluate_object(handle, "_LSR", &input, &buf); in acpi_label_read()
364 static union acpi_object *acpi_label_info(acpi_handle handle) in acpi_label_info() argument
369 rc = acpi_evaluate_object(handle, "_LSI", NULL, &buf); in acpi_label_info()
449 acpi_handle handle; in acpi_nfit_ctl() local
475 handle = adev->handle; in acpi_nfit_ctl()
495 handle = adev->handle; in acpi_nfit_ctl()
540 out_obj = acpi_label_info(handle); in acpi_nfit_ctl()
545 out_obj = acpi_label_read(handle, p->in_offset, p->in_length); in acpi_nfit_ctl()
550 out_obj = acpi_label_write(handle, p->in_offset, p->in_length, in acpi_nfit_ctl()
559 out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj); in acpi_nfit_ctl()
1387 static DEVICE_ATTR_RO(handle);
1475 u32 handle; in format1_show() local
1485 handle = to_nfit_memdev(dev)->device_handle; in format1_show()
1493 if (memdev->device_handle != handle) in format1_show()
1695 static void acpi_nvdimm_notify(acpi_handle handle, u32 event, void *data) in acpi_nvdimm_notify() argument
1707 acpi_handle handle; in acpi_nvdimm_has_method() local
1710 status = acpi_get_handle(adev->handle, method, &handle); in acpi_nvdimm_has_method()
1734 acpi_handle handle = adev->handle; in nfit_intel_shutdown_status() local
1740 out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj); in nfit_intel_shutdown_status()
1816 if (ACPI_FAILURE(acpi_install_notify_handler(adev_dimm->handle, in acpi_nfit_add_dimm()
1843 if (acpi_check_dsm(adev_dimm->handle, to_nfit_uuid(i), 1, 1)) { in acpi_nfit_add_dimm()
1883 if (acpi_check_dsm(adev_dimm->handle, guid, in acpi_nfit_add_dimm()
1947 acpi_remove_notify_handler(adev_dimm->handle, in shutdown_dimm_notify()
2139 if (acpi_check_dsm(adev->handle, guid, 1, 1ULL << i)) in acpi_nfit_init_dsms()
2152 if (acpi_check_dsm(adev->handle, guid, 1, 1ULL << i)) in acpi_nfit_init_dsms()
2160 if (acpi_check_dsm(adev->handle, guid, 1, 1ULL << i)) in acpi_nfit_init_dsms()
3285 static void acpi_nfit_notify(acpi_handle handle, u32 event, void *data) in acpi_nfit_notify() argument
3290 __acpi_nfit_notify(&adev->dev, handle, event); in acpi_nfit_notify()
3379 status = acpi_evaluate_object(adev->handle, "_FIT", NULL, &buf); in acpi_nfit_add()
3402 static void acpi_nfit_update_notify(struct device *dev, acpi_handle handle) in acpi_nfit_update_notify() argument
3430 status = acpi_evaluate_object(handle, "_FIT", NULL, &buf); in acpi_nfit_update_notify()
3447 static void acpi_nfit_uc_error_notify(struct device *dev, acpi_handle handle) in acpi_nfit_uc_error_notify() argument
3457 void __acpi_nfit_notify(struct device *dev, acpi_handle handle, u32 event) in __acpi_nfit_notify() argument
3463 return acpi_nfit_update_notify(dev, handle); in __acpi_nfit_notify()
3465 return acpi_nfit_uc_error_notify(dev, handle); in __acpi_nfit_notify()