v4l2_i2c_subdev_init(9)
π
v4l2_i2c_subdev_init(9) π
welcome to the Kernel API Manual, bestie β todayβs main character is v4l2_i2c_subdev_init(9), and she is literally here to set things up β¨
πΈ NAME πΈ
okay so v4l2_i2c_subdev_init(9) initializes a &struct v4l2_subdev with data from an i2c_client struct. no cap, thatβs the whole name vibe π
β¨ SYNOPSIS β¨
bestie, hereβs the exact signature β do not come for me, I copied it character for character π«Ά
void v4l2_i2c_subdev_init (struct v4l2_subdev *sd , struct i2c_client
*client , const struct v4l2_subdev_ops *ops );
π ARGUMENTS π
sdβ pointer tostruct v4l2_subdev. this is the subdev being initialized, sheβs the moment πclientβ pointer tostruct i2c_client. the i2c client struct supplying the data, iconic source energy π¦opsβ pointer tostruct v4l2_subdev_ops. the ops pointer, aka the operations table vibe π
π₯ SEE ALSO π₯
the whole squad is linked here, bestie:
- Kernel file
./include/media/v4l2-common.h 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_addr(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)
okay thatβs the whole page, bestie π this oneβs from ./include/media, dated October 2026, and it is literally the v4l2_i2c_subdev_init(9) manual page. 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