Searched refs:haps (Results 1 – 2 of 2) sorted by relevance
61 struct toshiba_haps_dev *haps = dev_get_drvdata(dev); in protection_level_show() local63 return sprintf(buf, "%i\n", haps->protection_level); in protection_level_show()70 struct toshiba_haps_dev *haps = dev_get_drvdata(dev); in protection_level_store() local85 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level); in protection_level_store()89 haps->protection_level = level; in protection_level_store()99 struct toshiba_haps_dev *haps = dev_get_drvdata(dev); in reset_protection_store() local111 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); in reset_protection_store()177 struct toshiba_haps_dev *haps; in toshiba_haps_add() local188 haps = kzalloc(sizeof(struct toshiba_haps_dev), GFP_KERNEL); in toshiba_haps_add()189 if (!haps) in toshiba_haps_add()[all …]
48 obj-$(CONFIG_USB_DWC3_HAPS) += dwc3-haps.o