v4l2_i2c_subdev_addr(9)
okay bestie, this is v4l2_i2c_subdev_addr(9) from the Kernel API Manual β tiny helper, big βI know my I2C addressβ energy, and I'm obsessed. π
πΈ NAME πΈ
the function v4l2_i2c_subdev_addr β returns i2c client address of &struct v4l2_subdev. That's the whole assignment, and she understood it. periodt. π
β¨ SYNOPSIS β¨
unsigned short v4l2_i2c_subdev_addr (struct v4l2_subdev *sd );
That's the exact signature, character-for-character β yes, including that space before );. π
π ARGUMENTS π
sdβ pointer tostruct v4l2_subdev. That's the subdev pointer you're handing over, bestie. π«Ά
π DESCRIPTION π
Returns the address of an I2C sub-device. No cap, that's the function's whole flex: you give it the subdev pointer, it gives you the address. π
It's giving βsmall function, clear purpose,β and we respect it. β¨
π¦ SEE ALSO π¦
Kernel file: ./include/media/v4l2-common.h β that's the home base. π
Also, these cuties are in the same orbit:
v4l2_ctrl_query_fill(9)enum v4l2_i2c_tuner_type(9)v4l2_i2c_new_subdev(9)v4l2_i2c_new_subdev_board(9)v4l2_i2c_subdev_set_name(9)v4l2_i2c_subdev_init(9)v4l2_i2c_tuner_addrs(9)v4l2_i2c_subdev_unregister(9)v4l2_spi_new_subdev(9)v4l2_spi_subdev_init(9)v4l2_spi_subdev_unregister(9)v4l_bound_align_image(9)v4l2_find_nearest_size_conditional(9)v4l2_find_nearest_size(9)v4l2_g_parm_cap(9)v4l2_s_parm_cap(9)enum v4l2_pixel_encoding(9)struct v4l2_format_info(9)v4l2_get_link_freq(9)v4l2_get_active_data_lanes(9)v4l2_link_freq_to_bitmap(9)devm_v4l2_sensor_clk_get(9)devm_v4l2_sensor_clk_get_legacy(9)
mwah π β this page comes from ./include/media, is dated October 2026, and belongs to the v4l2_i2c_subdev_addr(9) entry in the Kernel API Manual. bye bestie, go get that address! π«Άβ¨
π¦ 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