Lines Matching defs:state
25 #define ACPI_AC_FILE_STATE "state"
68 unsigned long long state;
83 ac->state = 1;
88 &ac->state);
91 "Error reading AC Adapter state: %s\n",
93 ac->state = ACPI_AC_STATUS_UNKNOWN;
115 val->intval = ac->state;
148 * EC event handler (_Qxx). This will cause the AC state
158 (u32) ac->state);
159 acpi_notifier_call_chain(device, event, (u32) ac->state);
199 /* Kodlix GK45 returning incorrect state */
254 acpi_device_bid(device), ac->state ? "on-line" : "off-line");
288 old_state = ac->state;
291 if (old_state != ac->state)