ishtp_get_device(9)
β¨ ishtp_get_device(9) β¨
okay so bestie, welcome to the Kernel API Manual π you're literally reading ishtp_get_device(9) rn and honestly? it's giving tiny-but-mighty. let's get into it π
πΈ NAME πΈ
ishtp_get_device β update usage count for the device
like yeah that's it, that's the whole vibe, but let's elaborate because you deserve context π«Ά
β¨ SYNOPSIS β¨
void ishtp_get_device (struct ishtp_cl_device *cl_device );
no return value, no cap. it just does the thing and dips π
π¦ ARGUMENTS π¦
cl_deviceβ client device instance. yeah that one. the whole entire point of this function, bestie π―
π DESCRIPTION π
okay so what it actually does: it increments the usage count. that's it. one lil number goes up, and because of that, the device can't be deleted ππ₯
literally holding the door open for the device so nobody yanks it out from under you. protective energy fr fr π§
π SEE ALSO π
the Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.c is where all this lives btw, and here's the full squad it runs with π
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_put_device(9)ishtp_set_drvdata(9)ishtp_get_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)
like... the whole friend group showed up π and yes you should probably read ishtp_put_device(9) too since it's the literal counterpart β balance, harmony, yin and yang, get and put, iykyk π€
reminder bestie: this page ships from ./drivers/hid/intel-ish-hid/ishtp and it's dated October 2026 ποΈβ¨ mwah, go increment something responsibly π
π
π¦ 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