tvp514x_query_current_std(9)
π tvp514x_query_current_std(9) π
okay bestie, welcome to the Kernel API Manual β this one's a tiny little function with main character energy, and honestly? It's giving "short but essential." Let's get into it β¨
πΈ NAME πΈ
tvp514x_query_current_std β the one that queries the current standard detected by TVP5146/47. like, it literally just asks the chip "hey, what standard are you seeing rn?" and reports back π
π¦ SYNOPSIS π¦
enum tvp514x_std tvp514x_query_current_std (struct v4l2_subdev *sd );
no cap, that's the whole signature. she's compact π
β¨ ARGUMENTS β¨
sdβ ptr to thev4l2_subdevstruct. yep, that's the one and only argument, and it's a pointer to your subdev struct π«Ά
π DESCRIPTION π
Returns the current standard detected by TVP5146/47, and if there's literally no standard detected, it returns STD_INVALID. that's it, that's the vibe check πβ¨
so like β call it, get the standard back, or get STD_INVALID when the chip is not picking up anything. simple, iconic, no drama π
fr fr, that STD_INVALID return is your signal that nothing got detected β don't ignore it bestie π
π SEE ALSO π
- Kernel file
./drivers/media/i2c/tvp514x.c struct tvp514x_std_info(9)struct tvp514x_decoder(9)tvp514x_read_reg(9)dump_reg(9)tvp514x_write_reg(9)tvp514x_write_regs(9)tvp514x_configure(9)tvp514x_detect(9)tvp514x_querystd(9)tvp514x_s_std(9)tvp514x_s_routing(9)
okay that's the whole page, and honestly it ate π
the manual is the Kernel API Manual, it lives over in ./drivers/media/i2c, and the version/date on this cutie is October 2026 β tvp514x_query_current_std(9) and out, 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