Home
last modified time | relevance | path

Searched refs:haps (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/platform/x86/
Dtoshiba_haps.c71 struct toshiba_haps_dev *haps = dev_get_drvdata(dev); in protection_level_show() local
73 return sprintf(buf, "%i\n", haps->protection_level); in protection_level_show()
80 struct toshiba_haps_dev *haps = dev_get_drvdata(dev); in protection_level_store() local
90 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level); in protection_level_store()
94 haps->protection_level = level; in protection_level_store()
103 struct toshiba_haps_dev *haps = dev_get_drvdata(dev); in reset_protection_store() local
110 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); in reset_protection_store()
175 struct toshiba_haps_dev *haps; in toshiba_haps_add() local
186 haps = kzalloc(sizeof(struct toshiba_haps_dev), GFP_KERNEL); in toshiba_haps_add()
187 if (!haps) in toshiba_haps_add()
[all …]