Lines Matching refs:handle
79 acpi_handle handle = ACPI_HANDLE(dev); in detect_tablet_mode() local
84 status = acpi_evaluate_integer(handle, "VGBS", NULL, &vgbs); in detect_tablet_mode()
147 static void notify_handler(acpi_handle handle, u32 event, void *context) in notify_handler() argument
257 static bool intel_vbtn_has_switches(acpi_handle handle, bool dual_accel) in intel_vbtn_has_switches() argument
269 status = acpi_evaluate_integer(handle, "VGBS", NULL, &vgbs); in intel_vbtn_has_switches()
275 acpi_handle handle = ACPI_HANDLE(&device->dev); in intel_vbtn_probe() local
282 has_buttons = acpi_has_method(handle, "VBDL"); in intel_vbtn_probe()
283 has_switches = intel_vbtn_has_switches(handle, dual_accel); in intel_vbtn_probe()
305 status = acpi_install_notify_handler(handle, in intel_vbtn_probe()
313 status = acpi_evaluate_object(handle, "VBDL", NULL, NULL); in intel_vbtn_probe()
333 acpi_handle handle = ACPI_HANDLE(&device->dev); in intel_vbtn_remove() local
336 acpi_remove_notify_handler(handle, ACPI_DEVICE_NOTIFY, notify_handler); in intel_vbtn_remove()
387 check_acpi_dev(acpi_handle handle, u32 lvl, void *context, void **rv) in check_acpi_dev() argument
390 struct acpi_device *dev = acpi_fetch_acpi_dev(handle); in check_acpi_dev()