do_cros_ec_cmd_xfer_spi(9)
π do_cros_ec_cmd_xfer_spi β the Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual entry for do_cros_ec_cmd_xfer_spi(9) β yes the (9) is part of the name, it's giving section-nine realness and we respect it π
β¨ NAME β¨
do_cros_ec_cmd_xfer_spi β literally just transfer a message over SPI and receive the reply π¦ that's it, that's the whole vibe
πΈ SYNOPSIS πΈ
int do_cros_ec_cmd_xfer_spi (struct cros_ec_device *ec_dev , struct cros_ec_command *ec_msg );
the way it takes two pointers and hands you back an intβ¦ main character energy fr fr π
π ARGUMENTS π
ec_devβ the ChromeOS EC device π like, the actual embedded controller you're talking to, no capec_msgβ the message to transfer β¨ the whole reason we're here, the payload, the moment
π¦ SEE ALSO π¦
sibling entries, all iconic, all linked, go read them:
- Kernel file
./drivers/platform/chrome/cros_ec_spi.c struct cros_ec_spi(9)struct cros_ec_xfer_work_params(9)receive_n_bytes(9)cros_ec_spi_receive_packet(9)cros_ec_spi_receive_response(9)do_cros_ec_pkt_xfer_spi(9)
bestie note: the whole page is short and sweet, but every name up there is exact β don't go renaming do_cros_ec_pkt_xfer_spi to something cuter, it will NOT slay, it will just break the build π
and that's the page π«Ά brought to you by ./drivers/platform/chrome, dated October 2026, filed under do_cros_ec_cmd_xfer_spi(9) β 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