tvp514x_query_current_std(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the v4l2_subdev struct. 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 🌈


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