ishtp_cl_bus_match(9)
π ishtp_cl_bus_match(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to ishtp_cl_bus_match(9) β¨ this is a page from the kernel API manual, and honestly? it's short, it's sweet, and it's about to be your new fave little matchmaker function π
πΈ NAME πΈ
ishtp_cl_bus_match β literally the bus match() callback π¦ no cap, that's the whole name.
β¨ SYNOPSIS β¨
int ishtp_cl_bus_match (struct device *dev , const struct device_driver
*drv );
that's it. that's the signature. she's serving function prototype realness π
π«Ά ARGUMENTS π«Ά
devβ the device structure. the actual device girlie in question πdrvβ the driver structure. the driver she might be matching with π
π₯ DESCRIPTION π₯
okay so listen up, because this is the important part π₯
This is a bus match callback β like, the wingman of the ishtp world π It gets called when a new ishtp_cl_device is registered during ishtp bus client enumeration. and what does it do? it looks at the guid_t in drv and in dev, and uses those to decide whether they match or not π¦ iykyk, it's giving compatibility check, it's giving "are you two meant to be" energy.
no extra vibes, no guessing β just guid-based matchmaking, periodt β¨
β RETURN β
1ifdev&drvmatch π (slay, they're a match)0otherwise π (it's not giving, moving on)
π SEE ALSO π
the whole friend group, fr fr π«Ά get to know the fam:
Kernel file ./drivers/hid/intel-ish-hid/ishtp/bus.cishtp_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_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_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)
lowkey reminder bestie: this page lives in ./drivers/hid/intel-ish-hid/ishtp π and the date on it is October 2026 πΈ so go check the source files if you want the deep lore, okurrr π§
and that's the whole page, mwah π go match some devices, you got this π«Άβ¨π
π¦ 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