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()
90 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level); in protection_level_store()
110 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); in reset_protection_store()
154 static int toshiba_haps_available(acpi_handle handle) in toshiba_haps_available() argument
163 status = acpi_evaluate_integer(handle, "_STA", NULL, in toshiba_haps_available()
181 if (!toshiba_haps_available(acpi_dev->handle)) in toshiba_haps_add()
196 ret = toshiba_haps_protection_level(acpi_dev->handle, 2); in toshiba_haps_add()
218 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, 0); in toshiba_haps_suspend()
231 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, in toshiba_haps_resume()
235 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); in toshiba_haps_resume()