STRUCT TELEM_DEVICE_DATA(9)
π struct telem_device_data(9) π
okay bestie, welcome to the Kernel API Manual β¨ β this is the page for struct telem_device_data, and yes it's from that kernel API manual thing, we're doing this, buckle up π
β¨ NAME β¨
struct telem_device_data β literally the data for a Wilco EC device that queries telemetry π¦ (yes, that's the whole name, it does exactly what it says on the tin)
πΈ SYNOPSIS πΈ
struct telem_device_data {
struct device dev;
struct cdev cdev;
struct wilco_ec_device *ec;
atomic_t available;
};
that's the struct, bestie, copy it exactly, no cap π
π Members π
devβ thestruct devicethat's associated with the cdev π«Άcdevβ the char dev that userspace reads and polls from π (userspace said "give me data", and this is the door it knocks on)ecβ the Wilco EC that we will be communicating with using the mailbox interface βοΈ (mailbox interface. very demure, very mindful)availableβ a boolean of if the device can be opened π (is the vibe check passing? this tells you)
π SEE ALSO π
- Kernel file
./drivers/platform/chrome/wilco_ec/telemetry.c struct wilco_ec_telem_request(9)check_telem_request(9)struct telem_session_data(9)telem_open(9)telem_device_free(9)telem_device_probe(9)
go read those too, iykyk π the whole little friend group is right there π
lowkey important: everything above is exactly as documented β the struct fields, the member descriptions, and every single SEE ALSO reference. no invented lore, periodt π
and that's the page!! πΈ source file is ./drivers/platform/chrome/wilc... (the footer truncates it like that, we respect the ellipsis π₯²) and it's dated October 2026, from the Kernel API Manual, filed under struct telem_device_data(9) β k bye bestie, slay your telemetry queries ππ§ββοΈπ
π¦ 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