mei_cl_bus_dev_init(9)
π mei_cl_bus_dev_init(9) π
okay bestie, buckle up β this one's from the Kernel API Manual, and it's honestly kind of a glow-up moment for mei client devices. let's get into it π«Ά
β¨ NAME β¨
mei_cl_bus_dev_init β allocates and initializes an mei client device, and it does it based on an me client. that's the whole vibe. it's giving "build-a-bear but for kernel devices" π§Έ
πΈ SYNOPSIS πΈ
void mei_cl_bus_dev_init (struct mei_device *bus , struct mei_me_client *me_cl );
no cap, that's the whole signature β it returns void, so don't go looking for a return value, there isn't one π
π ARGUMENTS π
busβ the mei device. that's your main character right there πme_clβ the me client. the little sidekick it's building the device from π¦
π DESCRIPTION π
Locking: this gets called under the "dev->cl_bus_lock" lock.
literally do not forget that lock, bestie π it's right there in the description for a reason β this function expects to already be running under "dev->cl_bus_lock" and that's the entire description. short and iconic. periodt.
π SEE ALSO π
the full squad, no one left out, fr fr β all of these live in the kernel file ./drivers/misc/mei/bus.c:
__mei_cl_send(9)__mei_cl_send_timeout(9)__mei_cl_recv(9)mei_cldev_send_vtag(9)mei_cldev_send_vtag_timeout(9)mei_cldev_recv_vtag(9)mei_cldev_recv_timeout(9)mei_cldev_recv_vtag_timeout(9)mei_cldev_send(9)mei_cldev_send_timeout(9)mei_cldev_recv(9)mei_cl_bus_rx_work(9)mei_cl_bus_notif_work(9)mei_cl_bus_notify_event(9)mei_cl_bus_rx_event(9)mei_cldev_register_rx_cb(9)mei_cldev_register_notif_cb(9)mei_cldev_get_drvdata(9)mei_cldev_set_drvdata(9)mei_cldev_uuid(9)mei_cldev_ver(9)mei_cldev_mtu(9)mei_cldev_enabled(9)mei_cl_bus_module_get(9)mei_cl_bus_module_put(9)mei_cl_bus_vtag(9)mei_cl_bus_vtag_alloc(9)mei_cl_bus_vtag_free(9)mei_cldev_enable(9)mei_cldev_unregister_callbacks(9)mei_cldev_disable(9)mei_cldev_send_gsc_command(9)mei_cl_device_find(9)mei_cl_device_match(9)mei_cl_device_probe(9)mei_cl_device_remove(9)mei_cl_device_uevent(9)mei_cl_bus_set_name(9)mei_cl_bus_dev_alloc(9)mei_cl_bus_dev_setup(9)mei_cl_bus_dev_add(9)mei_cl_bus_dev_stop(9)mei_cl_bus_dev_destroy(9)mei_cl_bus_remove_device(9)mei_cl_bus_remove_devices(9)mei_cl_bus_rescan(9)
likeβ¦ forty-six of them. that's not a see-also, that's a whole friend group π«Ά
this page lives in ./drivers/misc/mei, and it's dated October 2026 β so yeah, it's from the future, slay ββ¨π
that's the whole page bestie, go forth and init those devices π π₯
π¦ 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