Lines Matching defs:handle
29 static int toshiba_haps_reset_protection(acpi_handle handle)
33 status = acpi_evaluate_object(handle, "RSSS", NULL, NULL);
42 static int toshiba_haps_protection_level(acpi_handle handle, int level)
46 status = acpi_execute_simple_method(handle, "PTLV", level);
85 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level);
111 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle);
152 static int toshiba_haps_available(acpi_handle handle)
161 status = acpi_evaluate_integer(handle, "_STA", NULL, &hdd_present);
183 if (!toshiba_haps_available(acpi_dev->handle))
198 ret = toshiba_haps_protection_level(acpi_dev->handle, 2);
220 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, 0);
233 ret = toshiba_haps_protection_level(haps->acpi_dev->handle,
237 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle);