v4l2_async_nf_add_i2c(9)
π v4l2_async_nf_add_i2c(9) β Kernel API Manual β¨
okay bestie, welcome to the Kernel API Manual, the one and only place where this page lives. today's main character is v4l2_async_nf_add_i2c, and honestly? she's a whole vibe. let's get into it π
πΈ NAME πΈ
v4l2_async_nf_add_i2c β allocate and add an i2c async subdev to the notifier's master asc_list. no cap, that's literally her whole job π
β¨ SYNOPSIS β¨
v4l2_async_nf_add_i2c (notifier , adapter , address , type );
like yeah, four things go in. she's not complicated, she's just precise π«Ά
π¦ ARGUMENTS π¦
notifierβ pointer tostruct v4l2_async_notifier. this is your main character struct, the one holding it all together β¨adapterβ I2C adapter ID to be matched. iykyk which bus you're on π₯addressβ I2C address of the connection to be matched. the exact spot you're looking for πtypeβ type of the driver's async connection struct. and here's the β¨importantβ¨ part: thestruct v4l2_async_connectionshall be the first member of the driver's async connection struct, i.e. both begin at the same memory address. that's not a suggestion, bestie, that's a requirement β they gotta start at the exact same memory address or it's giving undefined chaos π
π DESCRIPTION π
same as v4l2_async_nf_add_fwnode but for I2C matched connections. that's it, that's the whole tea π she's the I2C-flavoured sibling of the fwnode version, and she ate π
π SEE ALSO π
- Kernel file
./include/media/v4l2-async.h enum v4l2_async_match_type(9)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_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)
bestie, that's the whole friend group right there β go read them, they're all iconic in their own way π
and that's a wrap, babe π§ this page came straight out of ./include/media, dated October 2026, and it's filed under v4l2_async_nf_add_i2c(9). mwah π 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