STRUCT ISHTP_HID_DATA(9)
π 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'strue, 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 hidhid->driver datato 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
- 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