loader_cl_send(9)
π 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:
enum ish_loader_commands(9)struct loader_msg_hdr(9)struct response_info(9)get_firmware_variant(9)process_recv(9)loader_cl_event_cb(9)ish_query_loader_prop(9)ish_fw_xfer_ishtp(9)ish_fw_xfer_direct_dma(9)ish_fw_start(9)load_fw_from_host(9)loader_init(9)loader_ishtp_cl_probe(9)loader_ishtp_cl_remove(9)loader_ishtp_cl_reset(9)
xoxo, your kernel bestie π β shipped from ./drivers/hid/intel-ish-hid, dated October 2026, 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