v4l2_async_nf_add_i2c(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to struct 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: the struct v4l2_async_connection shall 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 πŸ‘‘


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