STRUCT TUNERTYPE(9)
π¦ 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 thestruct tuner_paramsarray. so, how many of them there are π«paramsβ pointer to thatstruct tuner_paramsarray. 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
- 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