Lines Matching refs:handle
39 static int toshiba_haps_reset_protection(acpi_handle handle) in toshiba_haps_reset_protection() argument
43 status = acpi_evaluate_object(handle, "RSSS", NULL, NULL); in toshiba_haps_reset_protection()
52 static int toshiba_haps_protection_level(acpi_handle handle, int level) in toshiba_haps_protection_level() argument
56 status = acpi_execute_simple_method(handle, "PTLV", level); in toshiba_haps_protection_level()
95 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level); in protection_level_store()
121 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); in reset_protection_store()
162 static int toshiba_haps_available(acpi_handle handle) in toshiba_haps_available() argument
171 status = acpi_evaluate_integer(handle, "_STA", NULL, in toshiba_haps_available()
189 if (!toshiba_haps_available(acpi_dev->handle)) in toshiba_haps_add()
204 ret = toshiba_haps_protection_level(acpi_dev->handle, 2); in toshiba_haps_add()
226 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, 0); in toshiba_haps_suspend()
239 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, in toshiba_haps_resume()
243 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); in toshiba_haps_resume()