ishtp_get_drvdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ishtp_get_drvdata(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the ishtp_get_drvdata page πŸ’– this one lives in the Kernel API Manual and it is, and I cannot stress this enough, the little getter that could. tiny function, huge slay.


✨ NAME ✨

ishtp_get_drvdata β€” get client driver data 🫢

like, get it. get the data. that's the whole vibe.


✨ SYNOPSIS ✨

void * ishtp_get_drvdata (struct ishtp_cl_device *cl_device );

one argument, one pointer back out. no drama, no cap πŸ’…


✨ ARGUMENTS ✨

  • cl_device β€” the client device instance 🌷 the actual struct ishtp_cl_device * you're pulling the info from. literally the main character of this whole function.

✨ DESCRIPTION ✨

okay so here's the tea β˜• this one is so simple it's iconic. ishtp_get_drvdata gets the client driver data from cl_device->driver_data.

that's it. that's the function. it reaches into cl_device->driver_data and hands you what's in there. no lookups, no side quests, no surprises. we love a lowkey getter ✨


✨ RETURN ✨

a pointer of driver data πŸ”₯ β€” literally just the pointer to the driver data, bestie. that's what you get back.


✨ SEE ALSO ✨

πŸ’€ fair warning: this list is long, but every single one of these is part of the family and I'm not skipping a single entry, so buckle up πŸŽ€

the kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c plus all of these lovelies:

iykyk πŸ‘‘


and that's the page!! πŸ’– hope ishtp_get_drvdata was as easy for you as it was for me. go get that driver data bestie, you got this 🌈

sign-off time πŸŽ€ this one's from ./drivers/hid/intel-ish-hid/ishtp, dated October 2026 β€” mwah, catch you on the next manpage βœ¨πŸ’…

πŸ“¦ where this page comes from