Lines Matching refs:ec_event
53 (sizeof(struct ec_event) + (EC_ACPI_MAX_EVENT_WORDS) * sizeof(u16))
73 * struct ec_event - Extended event returned by the EC.
78 struct ec_event {
98 struct ec_event *entries[] __counted_by(capacity);
130 static struct ec_event *event_queue_pop(struct ec_event_queue *q)
132 struct ec_event *ev;
148 static struct ec_event *event_queue_push(struct ec_event_queue *q,
149 struct ec_event *ev)
151 struct ec_event *popped = NULL;
163 struct ec_event *event;
205 * %buf contains a number of ec_event's, packed one after the other.
206 * Each ec_event is of variable length. Start with the first event, copy it
207 * into a persistent ec_event, store that entry in the queue, move on
208 * to the next ec_event in buf, and repeat.
215 struct ec_event *event, *queue_event, *old_event;
220 event = (struct ec_event *)(buf + offset);
293 if (obj->buffer.length < sizeof(struct ec_event)) {
356 struct ec_event *event;