mei_hbm_cl_disconnect_req(9)
π mei_hbm_cl_disconnect_req(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a little function from the MEI hbm corner of the kernel and it's honestly so straightforward you're gonna slay it. Let's go π«Ά
β¨ NAME β¨
mei_hbm_cl_disconnect_req β sends disconnect message to fw. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
int mei_hbm_cl_disconnect_req (struct mei_device *dev , struct mei_cl
*cl );
like, one function, two args, no drama β¨
β¨ ARGUMENTS β¨
devβ the device structure. your whole device situation, the main character of the operation π₯clβ a client to disconnect from. the client we're breaking up with π (respectfully)
β¨ RETURN β¨
-EIO on write failure π β that's the only thing it reports back, so if the write goes sideways, that's your signal π©
β¨ SEE ALSO β¨
the kernel file lives at ./drivers/misc/mei/hbm.c β go read it, it's giving lore π and here's the whole friend group:
mei_cl_conn_status_to_errno(9)mei_hbm_write_message(9)mei_hbm_idle(9)mei_hbm_reset(9)mei_hbm_hdr(9)mei_hbm_cl_hdr(9)mei_hbm_cl_write(9)mei_hbm_cl_addr_equal(9)mei_hbm_cl_find_by_cmd(9)mei_hbm_start_wait(9)mei_hbm_start_req(9)mei_hbm_dma_setup_req(9)mei_hbm_capabilities_req(9)mei_hbm_enum_clients_req(9)mei_hbm_me_cl_add(9)mei_hbm_add_cl_resp(9)mei_hbm_fw_add_cl_req(9)mei_hbm_cl_notify_req(9)notify_res_to_fop(9)mei_hbm_cl_notify_start_res(9)mei_hbm_cl_notify_stop_res(9)mei_hbm_cl_notify(9)mei_hbm_cl_dma_map_req(9)mei_hbm_cl_dma_unmap_req(9)mei_hbm_prop_req(9)mei_hbm_pg(9)mei_hbm_stop_req(9)mei_hbm_cl_flow_control_req(9)mei_hbm_add_single_tx_flow_ctrl_creds(9)mei_hbm_cl_tx_flow_ctrl_creds_res(9)mei_hbm_cl_disconnect_rsp(9)mei_hbm_cl_disconnect_res(9)mei_hbm_cl_connect_req(9)mei_hbm_cl_connect_res(9)mei_hbm_cl_res(9)mei_hbm_fw_disconnect_req(9)mei_hbm_pg_enter_res(9)mei_hbm_pg_resume(9)mei_hbm_pg_exit_res(9)mei_hbm_config_features(9)mei_hbm_version_is_supported(9)mei_hbm_dispatch(9)
like, that's the entire ensemble cast, no cap π
ngl the whole thing boils down to: you hand it thedevand thecl, it sends the disconnect message to fw, and if the write fails you get-EIOback. iconic, minimal, done π
and that's the page bestie!! source lives at ./drivers/misc/mei, dated October 2026, part of the Kernel API Manual β tysm for reading, mwah ππβ¨πΈπ¦
π¦ 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