ENUM V4L2_ASYNC_MATCH_TYPE(9)
π enum v4l2_async_match_type π
okay bestie, welcome to the Kernel API Manual β section 9, no less β¨ this one's all about enum v4l2_async_match_type(9) and honestly it's a little icon of a header. it lives in the kernel world and it's not that deep, i promise π«Ά
β¨ NAME β¨
enum v4l2_async_match_type β it's the type of asynchronous subdevice logic you pick to actually identify a match π« like, which algorithm are we using to go "yes, that's the one" π
π¦ SYNOPSIS π¦
enum v4l2_async_match_type {
V4L2_ASYNC_MATCH_TYPE_I2C ,
V4L2_ASYNC_MATCH_TYPE_FWNODE
};
that's it. two whole constants. tiny enum, main character energy π
πΈ Constants πΈ
V4L2_ASYNC_MATCH_TYPE_I2Cβ the match is gonna check the I2C adapter ID and the address, that's the whole vibe πV4L2_ASYNC_MATCH_TYPE_FWNODEβ the match uses a firmware node instead, slay π§
π Description π
so the asynchronous connection logic uses this enum to define the algorithm that gets used to match an asynchronous device. that's literally it, that's the whole job β you're telling it how to match, not what to match π
ngl this is the kind of enum you set once and never think about again, but it's doing important work backstage okay π
π SEE ALSO π
kernel file ./include/media/v4l2-async.h β and the whole friend group:
struct v4l2_async_match_desc(9)struct v4l2_async_connection(9)struct v4l2_async_notifier_operations(9)struct v4l2_async_notifier(9)struct v4l2_async_subdev_endpoint(9)v4l2_async_debug_init(9)v4l2_async_nf_init(9)v4l2_async_subdev_nf_init(9)v4l2_async_nf_add_fwnode(9)v4l2_async_nf_add_fwnode_remote(9)v4l2_async_nf_add_i2c(9)v4l2_async_subdev_endpoint_add(9)v4l2_async_connection_unique(9)v4l2_async_nf_register(9)v4l2_async_nf_unregister(9)v4l2_async_nf_cleanup(9)v4l2_async_register_subdev(9)v4l2_async_register_subdev_sensor(9)v4l2_async_unregister_subdev(9)
and that's the whole page, bestie π this little beauty came to you straight from ./include/media, dated October 2026 β go read the actual header, it ate π₯ 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