ish_send(9)
β¨ ish_send(9) β¨
okay so bestie, welcome to the Kernel API Manual π
β today's main character is ish_send, and honestly? it's giving messenger arc.
πΈ NAME πΈ
ish_send β send a message from host to firmware π«Ά
π¦ SYNOPSIS π¦
int ish_send (struct ishtp_cl_data *client_data , u8 *out_msg , size_t
out_size , u8 *in_msg , size_t in_size );
like, yes, that's the whole vibe. five params, one int, iconic. π₯
π ARGUMENTS π
client_dataβ the client data instance β¨ your little handle on the whole situationout_msgβ the message buffer that's getting shipped off to firmware π€out_sizeβ how big that outgoing message is, size-wisein_msgβ the message buffer where the incoming data gets copied π (this buffer is allocated by calling β and yeah, the manpage literally just trails off there, no cap, that's how it's written π)in_sizeβ the max size of the incoming message, so, like, the ceiling π§
π RETURN π
On success you get the number of bytes copied into in_msg π β and on failure it's a negative error code, periodt. π
π SEE ALSO π
lowkey the whole friend group shows up here β kernel file ./drivers/platform/chrome/cros_ec_ishtp.c, plus:
struct response_info(9)struct ishtp_cl_data(9)ish_evt_handler(9)process_recv(9)ish_event_cb(9)cros_ish_init(9)cros_ish_deinit(9)prepare_cros_ec_rx(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)
ngl bestie, everything here lives under./drivers/platform/chrome, and this page is dated October 2026 ποΈ β so when you seeish_send(9)in the wild, that's the era it's from. go forth and send those messages, mwah ππ§
π¦ 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