Lines Matching defs:level
42 static int toshiba_haps_protection_level(acpi_handle handle, int level)
46 status = acpi_execute_simple_method(handle, "PTLV", level);
48 pr_err("Error while setting the protection level\n");
52 pr_debug("HDD protection level set to: %d\n", level);
71 int level;
74 ret = kstrtoint(buf, 0, &level);
81 if (level < 0 || level > 3)
84 /* Set the sensor level */
85 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level);
89 haps->protection_level = level;
195 /* Set the protection level, currently at level 2 (Medium) */
230 /* Set the stored protection level */