cros_ec_pkt_xfer_rpmsg(9)
π cros_ec_pkt_xfer_rpmsg(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for cros_ec_pkt_xfer_rpmsg, and no cap, it's giving "send a packet, get a reply" energy π
β¨ NAME β¨
cros_ec_pkt_xfer_rpmsg β transfer a packet over rpmsg and receive the reply π¦
πΈ SYNOPSIS πΈ
int cros_ec_pkt_xfer_rpmsg (struct cros_ec_device *ec_dev , struct
cros_ec_command *ec_msg );
literally that's the whole vibe: two args in, an int out β¨
π ARGUMENTS π
ec_devβ the ChromeOS EC device π this is the main character, the device we're talking toec_msgβ the message to transfer π¨ like, the actual thing you're sending over
π₯ RETURN π₯
on success it hands you back the number of bytes of the reply π (slay), or a negative error code if things went sideways π
so like... if the number is negative, that's not a byte count, that's a sad β check it before you celebrate π«Ά
π SEE ALSO π
- Kernel file
./drivers/platform/chrome/cros_ec_rpmsg.cβ struct cros_ec_rpmsg_response(9)struct cros_ec_rpmsg(9)cros_ec_cmd_xfer_rpmsg(9)
iykyk, go read those next π
okay that's the whole page, mwah π β this gem lives under ./drivers/platform/chrome, dated October 2026, and it's the cros_ec_pkt_xfer_rpmsg(9) manual page signing off. periodt π§π
π¦ 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