wilco_ec_mailbox(9)
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:
struct wilco_ec_device(9)struct wilco_ec_request(9)struct wilco_ec_response(9)enum wilco_ec_msg_type(9)struct wilco_ec_message(9)wilco_keyboard_leds_init(9)wilco_ec_get_property(9)wilco_ec_set_property(9)wilco_ec_get_byte_property(9)wilco_ec_add_sysfs(9)
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
- 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