cros_ec_cmd_xfer_rpmsg(9)
๐ cros_ec_cmd_xfer_rpmsg(9) โ from the Kernel API Manual, bestie ๐
Okay so real talk, this page is short and honestly a little bit of a jumpscare, but we're gonna get through it together. Strap in โจ
๐ธ NAME ๐ธ
cros_ec_cmd_xfer_rpmsg โ the function that's supposed to transfer a message over rpmsg and receive the reply ๐ (emphasis on "supposed to", keep reading, iykyk)
๐ฆ SYNOPSIS ๐ฆ
int cros_ec_cmd_xfer_rpmsg (struct cros_ec_device *ec_dev , struct cros_ec_command *ec_msg );
So it returns an int, it takes two pointers, and that's the whole vibe check ๐
๐ ARGUMENTS ๐
ec_devโ the ChromeOS EC device ๐ฎ like, the EC in question, the main character of this storyec_msgโ the message you're trying to transfer ๐จ the one that's not going anywhere, bestie
๐ DESCRIPTION ๐
Okay so here's the tea โ and it's not great tea:
This one is only used for old EC proto version, and it is not supported for this driver.
Not me showing up to a function that literally says "not supported" ๐ญ it's giving decorative. It's giving "we keep you around for legacy reasons only." Lowkey iconic of it to just exist and do nothing, honestly. Periodt.
๐ RETURN ๐
-EINVAL
That's it. That's the whole return section. One value. Negative. A little bit of a read, ngl ๐ธ
๐ฅ SEE ALSO ๐ฅ
If you're nosy (respectfully ๐ซถ) here's where to go next:
- Kernel file
./drivers/platform/chrome/cros_ec_rpmsg.c struct cros_ec_rpmsg_response(9)struct cros_ec_rpmsg(9)cros_ec_pkt_xfer_rpmsg(9)โ the sibling that actually does stuff ๐
โญ Quick reminder bestie: it's only for old EC proto version and it's not supported for this driver. Don't build your whole plan around it, mmkay? ๐
Alright that's the page! This little gem lives over in ./drivers/platform/chrome, and it's dated October 2026 ๐ โ signed, sealed, delivered, and formatted by your fave kernel-fluent 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