STRUCT AMDTP_HID_DATA(9)
π NAME π
okay bestie, this is the struct amdtp_hid_data(9) page from the Kernel API Manual, and it's literally about Per instance HID data β¨. it's giving one cute lil per-instance data situation, and we're gonna go through every member like it's a group-chat receipt π
.
β¨ SYNOPSIS β¨
here's the exact shape of it, bestie β code copied verbatim, no cap:
struct amdtp_hid_data {
int index;
struct amdtp_cl_data *cli_data;
wait_queue_head_t hid_wait;
};
π¦ Members π¦
indexβ Device index in the order of enumeration. yes, it's the enumeration-order index, periodt β¨cli_dataβ Link to the client instance. it's your link back to the client instance, iykyk π«Άhid_waitβ Completion waitq. the completion waitq is right here, no cap π€
π Description π
Used to tie hid->driver data to driver client instance. that's the whole assignment bestie: it ties those two together, and now you know the vibe π₯.
π SEE ALSO π
- Kernel file
./drivers/hid/amd-sfh-hid/amd_sfh_hid.hβ go look, bestie π
and that's the page! this cutie comes from the source/version footer ./drivers/hid/amd-sfh-hid, dated October 2026 β mwah, slay, 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