Lines Matching defs:state
25 #define ACPI_AC_FILE_STATE "state"
86 unsigned long long state;
104 ac->state = 1;
109 &ac->state);
112 "Error reading AC Adapter state"));
113 ac->state = ACPI_AC_STATUS_UNKNOWN;
137 val->intval = ac->state;
171 * EC event handler (_Qxx). This will cause the AC state
181 (u32) ac->state);
182 acpi_notifier_call_chain(device, event, (u32) ac->state);
237 /* Kodlix GK45 returning incorrect state */
302 ac->state ? "on-line" : "off-line");
327 old_state = ac->state;
330 if (old_state != ac->state)