STRUCT TUNERTYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay so this is struct tunertype(9) from the Kernel API Manual β€” it describes the known tuners. that's it, that's the whole vibe πŸ’…


✨ SYNOPSIS ✨

struct tunertype {
    char *name;
    unsigned int count;
    const struct tuner_params *params;
    u16 min;
    u16 max;
    u32 stepsize;
    u8 *initdata;
    u8 *sleepdata;
 };

like, look at her. iconic struct. no notes. πŸŽ€


πŸ’– Members πŸ’–

  • name β€” a string with the tuner's name. literally just her government name bestie 🫢
  • count β€” the size of the struct tuner_params array. so, how many of them there are πŸ’«
  • params β€” pointer to that struct tuner_params array. the main character pointer energy fr fr πŸ‘‘
  • min β€” minimal tuner frequency, in 62.5 kHz step. should be multiplied to 16 to convert to MHz. yes, 16. not a typo, that's what it says πŸ”₯
  • max β€” minimal tuner frequency, in 62.5 kHz step. should be multiplied to 16 to convert to MHz.
not me pointing out that the page says minimal here too β€” same wording as min, no cap, i'm just the messenger πŸ™ˆ i'm not gonna invent a different meaning for it, so take it exactly as written πŸ’€
  • stepsize β€” frequency step, in Hz. the little hops she does πŸ¦‹
  • initdata β€” optional byte sequence to initialize the tuner. optional!! so don't stress if she doesn't have one 🌸
  • sleepdata β€” optional byte sequence to power down the tuner. nap time byte sequence, we love a rest era πŸ˜΄πŸ’œ

🌈 SEE ALSO 🌈

  • Kernel file ./include/media/tuner-types.h
  • enum param_type(9)
  • struct tuner_range(9)
  • struct tuner_params(9)

go read those next, iykyk ⭐


and that's the whole page!! mwah πŸ’– this little writeup lives at ./include/media and it's dated October 2026 β€” so yeah, timestamped and everything, periods before i even got here πŸŽ€βœ¨

πŸ“¦ where this page comes from