ishtp_get_drvdata(9)
πΈ 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 actualstruct 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:
ishtp_recv(9)ishtp_send_msg(9)ishtp_write_message(9)ishtp_fw_cl_by_uuid(9)ishtp_fw_cl_get_client(9)ishtp_get_fw_client_id(9)ishtp_fw_cl_by_id(9)ishtp_cl_device_probe(9)ishtp_cl_bus_match(9)ishtp_cl_device_remove(9)ishtp_cl_device_suspend(9)ishtp_cl_device_resume(9)ishtp_cl_device_reset(9)ishtp_bus_add_device(9)ishtp_bus_remove_device(9)ishtp_cl_driver_register(9)ishtp_cl_driver_unregister(9)ishtp_bus_event_work(9)ishtp_cl_bus_rx_event(9)ishtp_register_event_cb(9)ishtp_get_device(9)ishtp_put_device(9)ishtp_set_drvdata(9)ishtp_dev_to_cl_device(9)ishtp_bus_new_client(9)ishtp_cl_device_bind(9)ishtp_bus_remove_all_clients(9)ishtp_reset_handler(9)ishtp_reset_compl_handler(9)ishtp_use_dma_transfer(9)ishtp_device(9)ishtp_wait_resume(9)ishtp_get_pci_device(9)ishtp_get_workqueue(9)ishtp_trace_callback(9)ish_hw_reset(9)ishtp_bus_register(9)ishtp_bus_unregister(9)
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
- 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