wilco_ec_prepare(9)
๐ wilco_ec_prepare(9) โ Kernel API Manual ๐
okay so bestie, welcome to the Kernel API Manual โจ this one's called wilco_ec_prepare and honestly? it's giving "small but crucial" ๐ it does exactly one job and does it adorably well. no cap.
๐ธ NAME ๐ธ
wilco_ec_prepare โ get the request structure all prepped and cute for the EC ๐
like, it's the getting-ready montage before the actual main character moment. the EC is the embedded controller, and this function literally prepares the request structure for it. slay.
โจ SYNOPSIS โจ
void wilco_ec_prepare (struct wilco_ec_message *msg , struct
wilco_ec_request *rq );
look at that signature. void return, two pointer args, zero drama. iconic ๐ซถ
๐ฆ ARGUMENTS ๐ฆ
msgโ the EC message carrying the request information ๐ this is where the intel lives, and it's your job to hand it over correctly. no pressure bestie.rqโ the EC request structure that's about to get filled in ๐ธ this is the empty vessel, the blank canvas, the "before" picture.wilco_ec_prepareis the one doing the filling.
๐ SEE ALSO ๐
- Kernel file
./drivers/platform/chrome/wilco_ec/mailbox.cโ go read the source, iykyk ๐ wilco_ec_response_timed_out(9)โ for when the EC is being slow ๐ญwilco_ec_checksum(9)โ the math girlie of the group ๐งฎwilco_ec_transfer(9)โ the actual moving-things-around one ๐ฅwilco_ec_mailbox(9)โ the whole mailbox vibe ๐
๐ and remember bestie: it'svoidfor a reason โ this one's all about the side effects (filling inrq), not about handing you a return value. literally focus on the pointers.
โจ that's the whole page, mwah โจ this cutie lives in ./drivers/platform/chrome/wilc... (yes the page truncates it like that, don't come for me ๐), dated October 2026, and it is wilco_ec_prepare(9) โ same name top and bottom, cosistency queen ๐ ily, go prep those requests ๐ซถ๐
๐ฆ 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