STRUCT TELEM_DEVICE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the struct device that'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 🌈

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