Lines Matching defs:acpi_ac
2 * acpi_ac.c - ACPI AC Adapter Driver ($Revision: 27 $)
88 struct acpi_ac {
96 #define to_acpi_ac(x) container_of(x, struct acpi_ac, charger);
112 struct acpi_ac *ac = to_acpi_ac(psy);
131 static int acpi_ac_get_state(struct acpi_ac *ac)
158 struct acpi_ac *ac = seq->private;
231 struct acpi_ac *ac = acpi_driver_data(device);
261 struct acpi_ac *ac = NULL;
267 ac = kzalloc(sizeof(struct acpi_ac), GFP_KERNEL);
311 struct acpi_ac *ac;
328 struct acpi_ac *ac = NULL;