ishtp_bus_add_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ ishtp_bus_add_device(9) πŸ¦‹

okay so bestie, this one is straight out of the Kernel API Manual β€” and it's literally the function that creates a device on the bus. no cap. πŸ’…


✨ NAME ✨

ishtp_bus_add_device β€” the function to create a device on the bus. iconic behavior only. 🫢

🌈 SYNOPSIS 🌈

struct ishtp_cl_device * ishtp_bus_add_device (struct ishtp_device *dev
       , guid_t uuid , char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the ishtp device. that's the main character here. ✨
  • uuid β€” the uuid of the client. yes, that uuid. πŸ’–
  • name β€” the name of the client. gotta label your bestie. 🏷️

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: it allocates an ISHTP bus client device, attaches it to uuid, and registers it with the ISHTP bus. that's it, that's the whole slay. πŸ’…

πŸ”₯ RETURN πŸ”₯

it gives you an ishtp_cl_device pointer, or NULL on failure. so yeah β€” if it's NULL, it's giving "not today." 😭

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file: ./drivers/hid/intel-ish-hid/ishtp/bus.c

also pls go look at these icons when you get a sec: 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_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)


okay that's the whole page, bestie. source/version: ./drivers/hid/intel-ish-hid/ishtp, date: October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from