prepare_cros_ec_rx(9)
π prepare_cros_ec_rx(9) β Kernel API Manual π
okay so we're in the Kernel API Manual and this page is all about prepare_cros_ec_rx(9). Group-chat intro over, let's get into it. β¨
πΈ NAME πΈ
prepare_cros_ec_rx β check & prepare receive buffer. That's the name, no cap. π
β¨ SYNOPSIS β¨
int prepare_cros_ec_rx (struct cros_ec_device *ec_dev , const struct
cros_ish_in_msg *in_msg , struct cros_ec_command *msg );
π ARGUMENTS π
ec_devβ the CrOS EC MFD device. That's the device in question, bestie. π«Άin_msgβ incoming message buffer. It's literally the message coming in. π₯msgβ the cros_ec command used to send & receive data. It's the command vibe for the send/receive situation. π
π« RETURN π«
0for success. Slay. β- negative error code for failure. Not slay, but at least it's honest. π
π¦ DESCRIPTION π¦
It checks the received buffer, then converts it to cros_ec_command format. That's the glow-up: received buffer in, cros_ec_command format out. π
π SEE ALSO π
Kernel file: ./drivers/platform/chrome/cros_ec_ishtp.c
struct response_info(9)struct ishtp_cl_data(9)ish_evt_handler(9)ish_send(9)process_recv(9)ish_event_cb(9)cros_ish_init(9)cros_ish_deinit(9)cros_ec_ishtp_probe(9)cros_ec_ishtp_remove(9)cros_ec_ishtp_reset(9)cros_ec_ishtp_suspend(9)cros_ec_ishtp_resume(9)
π«Ά thatβs the tea: source ./drivers/platform/chrome, dated October 2026, page prepare_cros_ec_rx(9) β 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