wilco_ec_mailbox(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

wilco_ec_mailbox(9) from the Kernel API Manual β€” hiiii bestie, this is the Wilco EC mailbox page and she is lowkey the moment πŸ‘‘βœ¨

πŸŽ€ NAME πŸŽ€

okay so wilco_ec_mailbox β€” send request to the EC and receive the response. That's it, that's the whole job, and it's giving very direct-communication icon behavior πŸ’Œ

✨ SYNOPSIS ✨

int wilco_ec_mailbox (struct wilco_ec_device *ec , struct
wilco_ec_message *msg );

No cap, that's the exact signature up there β€” copy it, don't "fix" the spacing, she's built like that 🫢

πŸ’– ARGUMENTS πŸ’–

  • ec β€” Wilco EC device. The EC device struct you're handing over, bestie πŸŽ€
  • msg β€” Wilco EC message. The message struct doing the request/response thing πŸ’…

πŸ”₯ RETURN πŸ”₯

Returns the number of bytes received, or a negative error code on failure. So if it's negative, that's a fail, not a vibe β€” check it, periodt 😭

🌈 SEE ALSO 🌈

Kernel file ./include/linux/platform_data/wilco-ec.h, plus all these besties:

mwah πŸ’‹ this page comes from ./include/linux/platform_data, dated October 2026, and it's wilco_ec_mailbox(9) signing off β€” bye bestie! 🫢

πŸ“¦ where this page comes from