STRUCT EC_EVENT_QUEUE(9)
π struct ec_event_queue β the Kernel API Manual, section 9 edition π
ok so bestie, welcome to the glow-up of struct ec_event_queue(9) β literally a circular queue for events. yes, circular. like a friendship group that keeps coming back around π
no cap, that's the whole vibe.
β¨ NAME β¨
struct ec_event_queue β a circular queue for events. she spins, she stores, she serves. periodt. π
πΈ SYNOPSIS πΈ
like, here's her whole entire structure, character for character, don't touch:
struct ec_event_queue {
int capacity;
int head;
int tail;
struct ec_event *entries[];
};
look at her. icon behavior. π
π¦ Members π¦
capacityβ the number of elements the queue can hold. that's her limit, bestie, respect it π«Άheadβ the next index to write to. this is where the next event gets dropped πtailβ the next index to read from. this is where you pick up what's waiting πentriesβ an array of events. the actual goods, the main character shelf π
β SEE ALSO β
go look at these, iykyk β Kernel file ./drivers/platform/chrome/wilco_ec/event.c plus:
struct ec_event(9)struct event_device_data(9)enqueue_events(9)event_device_notify(9)event_read(9)free_device_data(9)event_device_probe(9)
ok that's the whole page, you ate that fr fr π₯ this came from ./drivers/platform/chrome/wilc... and the date on it is October 2026 β stay iconic, drink water, go read event.c ππ§
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms