STRUCT ISHTP_HID_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ishtp_hid_data(9) πŸ’–

okay bestie, so we're in the Kernel API Manual today and the main character is literally struct ishtp_hid_data β€” it's the Per instance HID data, no cap. Think of it as the little vibe-holder for each HID instance out there. πŸ¦‹


✨ SYNOPSIS ✨

here's the whole glow-up, verbatim, because we do NOT mess with the source:

struct ishtp_hid_data {
    int index;
    bool request_done;
    struct ishtp_cl_data *client_data;
    wait_queue_head_t hid_wait;
    bool raw_get_req;
    u8 *raw_buf;
    size_t raw_buf_size;
 };

πŸŽ€ Members πŸŽ€

  • index β€” the device index, lowkey in the order of enumeration. it's giving "roll call, line up in the order you showed up" πŸ’…
  • request_done β€” the Get Feature/Input report complete flag 🚩 β€” this one's doing the work during get/set requests coming from hid core. she's the "are we done yet" of the whole situation.
  • client_data β€” the link to the client instance πŸ”—. your connection to the outside world, fr fr.
  • hid_wait β€” the completion waitq, aka the waiting room where everybody chills until the thing is done ⏳✨
  • raw_get_req β€” a flag indicating that a raw get request is ongoing πŸ”₯. when she's true, things are happening.
  • raw_buf β€” the raw request buffer that gets filled up on receiving a get report πŸ“₯. the little basket collecting the goods.
  • raw_buf_size β€” the raw request buffer size 🌸. and bestie, it's also used to tie hid hid->driver data to the driver client instance β€” yeah, she does double duty, iconic πŸ‘‘.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/hid/intel-ish-hid/ishtp-hid.h πŸ“„
  • struct ishtp_cl_data(9) πŸ’œ

bestie note: this page lives under ./drivers/hid/intel-ish-hid β€” go say hi if you need the full context 🫢

and that's the whole page, periodt! πŸ’– this lil' rewrite was brought to you by the Kernel API Manual, ./drivers/hid/intel-ish-hid, dated October 2026 β€” mwah, love u, bye! πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from