ishtp_fw_cl_by_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ishtp_fw_cl_by_id β€” okay so bestie, let's talk

Bestie, this is the <pink>ishtp_fw_cl_by_id</pink> page from the Kernel API Manual (section 9, the kernel-API girlies πŸŽ€) β€” aka the one that hands you back an index to fw_clients for a given client_id. Iconic little lookup moment, honestly.


✨ SYNOPSIS ✨

int ishtp_fw_cl_by_id (struct ishtp_device *dev , uint8_t client_id );

Two args, one int coming back at you. That's the whole vibe. πŸ¦‹


🌸 ARGUMENTS 🌸

  • dev β€” the ishtp device structure, like, the main character of the whole thing πŸ’–
  • client_id β€” the fw client id you're out here searching for, periodt πŸ”

πŸ‘‘ DESCRIPTION πŸ‘‘

So basically: it searches the firmware client using the client id. That's it, that's the function. No cap, she's a one-job girly and she does her job. ✨


πŸ’€ RETURN πŸ’€

  • index β€” on success πŸŽ‰
  • -ENOENT β€” on failure, aka the client said "not found, don't perceive me" πŸ™ˆ

🫢 SEE ALSO 🫢

Like, all her friends, and ngl this is a whole friend group 😭 β€” the kernel file lives at ./drivers/hid/intel-ish-hid/ishtp/bus.c, and then:

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_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_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).

All of them. Every single one. Go read them, iykyk πŸ“šπŸ’…


Lowkey important: the source dir here is ./drivers/hid/intel-ish-hid/ishtp, and this page is dated October 2026 β€” so if you're reading this in the future, hi, slay, you're right on time πŸ•°οΈβœ¨

Bye bestie!! πŸŽ€ Call me when you need an index β€” ishtp_fw_cl_by_id(9) out πŸ’œ

πŸ“¦ where this page comes from