Home
last modified time | relevance | path

Searched refs:ec_event_queue (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/platform/chrome/wilco_ec/
H A Devent.c89 * struct ec_event_queue - Circular queue for events.
95 struct ec_event_queue { struct
102 /* Maximum number of events to store in ec_event_queue */
106 static struct ec_event_queue *event_queue_new(int capacity) in event_queue_new()
108 struct ec_event_queue *q; in event_queue_new()
119 static inline bool event_queue_empty(struct ec_event_queue *q) in event_queue_empty()
125 static inline bool event_queue_full(struct ec_event_queue *q) in event_queue_full()
131 static struct ec_event *event_queue_pop(struct ec_event_queue *q) in event_queue_pop()
149 static struct ec_event *event_queue_push(struct ec_event_queue *q, in event_queue_push()
162 static void event_queue_free(struct ec_event_queue *
[all...]
/kernel/linux/linux-6.6/drivers/platform/chrome/wilco_ec/
H A Devent.c88 * struct ec_event_queue - Circular queue for events.
94 struct ec_event_queue { struct
101 /* Maximum number of events to store in ec_event_queue */
105 static struct ec_event_queue *event_queue_new(int capacity) in event_queue_new()
107 struct ec_event_queue *q; in event_queue_new()
118 static inline bool event_queue_empty(struct ec_event_queue *q) in event_queue_empty()
124 static inline bool event_queue_full(struct ec_event_queue *q) in event_queue_full()
130 static struct ec_event *event_queue_pop(struct ec_event_queue *q) in event_queue_pop()
148 static struct ec_event *event_queue_push(struct ec_event_queue *q, in event_queue_push()
161 static void event_queue_free(struct ec_event_queue *
[all...]

Completed in 3 milliseconds