STRUCT VIDTV_TUNER_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vidtv_tuner_config(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, the struct vidtv_tuner_config(9) page, and no, you're not lost, this is exactly where you're supposed to be 🫢


✨ NAME ✨

struct vidtv_tuner_config β€” the configuration used to init the tuner. that's it, that's the whole vibe πŸ’«


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole struct, copied exactly, no cap:

struct vidtv_tuner_config {
    struct dvb_frontend *fe;
    u32 mock_power_up_delay_msec;
    u32 mock_tune_delay_msec;
    u32 vidtv_valid_dvb_t_freqs[NUM_VALID_TUNER_FREQS];
    u32 vidtv_valid_dvb_c_freqs[NUM_VALID_TUNER_FREQS];
    u32 vidtv_valid_dvb_s_freqs[NUM_VALID_TUNER_FREQS];
    u8 max_frequency_shift_hz;
 };

look at her. icon. πŸ‘‘


πŸ¦‹ Members πŸ¦‹

let's do a little meet-and-greet with every single field, because we are not skipping anyone:

  • fe β€” a pointer to the dvb_frontend structure that gets allocated by vidtv_demod. she's the main character, everyone else is supporting cast πŸ’–
  • mock_power_up_delay_msec β€” literally just simulates a power-up delay. fake waiting, real drama 😭
  • mock_tune_delay_msec β€” same energy, but for a tune delay. yes bestie, the delays are mock, they're cosplaying as real hardware 🌸
  • vidtv_valid_dvb_t_freqs β€” the valid DVB-T frequencies to simulate πŸ“Ί
  • vidtv_valid_dvb_c_freqs β€” the valid DVB-C frequencies to simulate πŸŽ€
  • vidtv_valid_dvb_s_freqs β€” the valid DVB-S frequencies to simulate πŸ›°οΈ
  • max_frequency_shift_hz β€” the maximum frequency shift in HZ that's allowed when you're tuning in a channel. get it, shift, in HZ, maximum πŸ”₯

πŸ’œ Description πŸ’œ

so this whole struct is the configuration used to init the tuner module, and it's usually filled by a bridge driver. for vidtv specifically? it's filled by vidtv_bridge before the tuner module is probed. that's the pipeline, that's the lore, that's the tea 🍡

it's giving "pass the config, then probe." periodt ✨


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/media/test-drivers/vidtv/vidtv_tuner.h β€” go read it, iykyk 🧚

aaand that's the page, bestie!! πŸŽ‰ this was the Kernel API Manual, page struct vidtv_tuner_config(9), brought to you by the source ./drivers/media/test-drivers/v... dated October 2026 β€” mwah, love u, go compile something πŸ’…πŸ’–πŸŒΊ

πŸ“¦ where this page comes from