STRUCT AMDTP_HID_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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