STRUCT VIDTV_DEMOD_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct vidtv_demod_config ✨

okay so this is a page from the Kernel API Manual, and today's main character is struct vidtv_demod_config β€” the little config blob that gets your demodulator all set up πŸ’…


🌸 NAME 🌸

struct vidtv_demod_config β€” the configuration used to init the demod πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct vidtv_demod_config {
    u8 drop_tslock_prob_on_low_snr;
    u8 recover_tslock_prob_on_good_snr;
 };

bestie it's literally just two fields. two. and they're both u8. no cap, that's the whole struct 🫢


πŸ’– Members πŸ’–

  • drop_tslock_prob_on_low_snr β€” the probability of losing the lock when the snr is low 😭 so like, how likely are we to fumble it when the signal gets rough.
  • recover_tslock_prob_on_good_snr β€” the probability of recovering once the signal improves ✨ aka the comeback arc, the glow-up, the "we're so back" moment πŸ‘‘

🌈 Description 🌈

This is the configuration that's used to init the demodulator module, and it's usually filled in by a bridge driver. For vidtv specifically, it's filled by vidtv_bridge before the demodulator module is probed β€” so like, it gets set up before the module even gets its vibe check. iconic behaviour honestly πŸ’€


⭐ SEE ALSO ⭐

  • Kernel file ./drivers/media/test-drivers/vidtv/vidtv_demod.h struct vidtv_demod_cnr_to_qual_s(9), struct vidtv_demod_state(9) πŸ¦‹
go read those too, iykyk β€” they're part of the same little vidtv family 🧚

and that's the whole page, bestie πŸ’œ this came from ./drivers/media/test-drivers/v... and it's dated October 2026 β€” screenshot it, cite it, slay it, periodt πŸŒΈπŸŽ€

πŸ“¦ where this page comes from