mei_cl_device_match(9)
π mei_cl_device_match(9) β a Kernel API Manual moment π
okay bestie, sit down, because we're diving into the Kernel API Manual today and honestly? This one's a little cutie. It's mei_cl_device_match β the device match function. That's it. That's the whole NAME. Short, sweet, iconic. β¨
πΈ SYNOPSIS πΈ
int mei_cl_device_match (struct device *dev , const struct device_driver
*drv );
like, literally just hand it a device and a driver and it does its lil matchmaking thing π«Ά
π¦ ARGUMENTS π¦
devβ the device. yeah. just... the device. main character of the pairing πdrvβ the driver. the other half of the situationship. we're checking if these two are a match π
β RETURN β
1β slay! a matching device was found π0β nope, no match. not every vibe check passes, and that's okay π
π SEE ALSO π
okay so this part is a whole friend group, no cap. Grab a snack, we're going through the roster π
First up, the kernel file where all this lives: ./drivers/misc/mei/bus.c β that's the address, iykyk π
then the gang:
__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_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_dev_init(9)mei_cl_bus_rescan(9)
like, that's the whole squad. every single one of them. no skips, no cuts ππ
fr fr though β if you're poking around the MEI bus, this list is your group chat. say hi to all of them.
and that's the page, bestie π§π this lil drop came from ./drivers/misc/mei and is dated October 2026 β so mark your calendar, screenshot it, put it on the fridge. mei_cl_device_match(9) out. periodt. π
β¨
π¦ 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