Lines Matching refs:acpi
16 struct acpi_device *acpi; in irst_show_wakeup_events() local
20 acpi = to_acpi_device(dev); in irst_show_wakeup_events()
22 status = acpi_evaluate_integer(acpi->handle, "GFFS", NULL, &value); in irst_show_wakeup_events()
33 struct acpi_device *acpi; in irst_store_wakeup_events() local
38 acpi = to_acpi_device(dev); in irst_store_wakeup_events()
44 status = acpi_execute_simple_method(acpi->handle, "SFFS", value); in irst_store_wakeup_events()
60 struct acpi_device *acpi; in irst_show_wakeup_time() local
64 acpi = to_acpi_device(dev); in irst_show_wakeup_time()
66 status = acpi_evaluate_integer(acpi->handle, "GFTV", NULL, &value); in irst_show_wakeup_time()
77 struct acpi_device *acpi; in irst_store_wakeup_time() local
82 acpi = to_acpi_device(dev); in irst_store_wakeup_time()
88 status = acpi_execute_simple_method(acpi->handle, "SFTV", value); in irst_store_wakeup_time()
101 static int irst_add(struct acpi_device *acpi) in irst_add() argument
105 error = device_create_file(&acpi->dev, &irst_timeout_attr); in irst_add()
109 error = device_create_file(&acpi->dev, &irst_wakeup_attr); in irst_add()
111 device_remove_file(&acpi->dev, &irst_timeout_attr); in irst_add()
116 static int irst_remove(struct acpi_device *acpi) in irst_remove() argument
118 device_remove_file(&acpi->dev, &irst_wakeup_attr); in irst_remove()
119 device_remove_file(&acpi->dev, &irst_timeout_attr); in irst_remove()
142 MODULE_DEVICE_TABLE(acpi, irst_ids);