loader_cl_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– loader_cl_send(9) πŸ’–

🌸 NAME 🌸

loader_cl_send β€” Send message from host to firmware.

okay so this one is straight out of the Kernel API Manual, and it's giving "host wants to slide a message into firmware" energy. Very main character. Very ishtp. We love a little host-to-firmware communication moment πŸ’…βœ¨


πŸ›°οΈ SYNOPSIS πŸ›°οΈ

int loader_cl_send (struct ishtp_cl_data *client_data , u8 *out_msg ,
       size_t out_size , u8 *in_msg , size_t in_size );

🧾 ARGUMENTS 🧾

Bestie, here's the cast of characters β€” no skips, no cuts, we're covering everybody:

  • client_data β€” Client data instance. Your little context buddy 🫢
  • out_msg β€” Message buffer to be sent to firmware. This is the outgoing mail, fr fr πŸ“¬
  • out_size β€” Size of out going message. Yes, "out going" with a space β€” that's literally what the page says, and I respect the icon behavior πŸ’…
  • in_msg β€” Message buffer where the incoming data copied. This buffer is allocated by calling β€” and yes, the sentence just stops there in the original 😭 iconic, honestly.
  • in_size β€” Max size of incoming message. The ceiling, the limit, the vibe check for incoming data ✨

πŸ” RETURN πŸ”

Number of bytes copied in the in_msg on success, negative error code on failure.

So: happy path = bytes copied πŸ’–, sad path = negative error code 😭. Keep that in mind, bestie.


πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/hid/intel-ish-hid/ishtp-fw-loader.c β€” plus the whole squad:


xoxo, your kernel bestie πŸ’œ β€” shipped from ./drivers/hid/intel-ish-hid, dated October 2026, periodt. πŸŽ€

πŸ“¦ where this page comes from