set_freq(9)
πΈ set_freq(9) πΈ
okay so bestie, welcome to this tiny-but-iconic page from the Kernel API Manual π it's giving "small file, big tuner energy," no cap. We're setting the tuner to the desired frequency and honestly? slay.
π NAME π
set_freq β Set the tuner to the desired frequency. periodt.
β¨ SYNOPSIS β¨
void set_freq (struct tuner *t , unsigned int freq );
π ARGUMENTS π
tβ a pointer to the module's internalstruct_tuner. main character pointer energy, ngl π«Άfreqβ frequency to set. and yes bestie:0means to use the current frequency β lowkey iconic shortcut behavior π«
π SEE ALSO π
Kernel file ./drivers/media/v4l2-core/tuner-core.c is the home base, and the whole squad pulls up here:
enum tuner_pad_index(9)enum if_vid_dec_pad_index(9)set_type(9)tuner_s_type_addr(9)tuner_s_config(9)tuner_lookup(9)tuner_probe(9)tuner_remove(9)check_mode(9)set_mode(9)set_tv_freq(9)tuner_fixup_std(9)set_radio_freq(9)tuner_status(9)tuner_standby(9)tuner_g_frequency(9)tuner_g_tuner(9)tuner_s_tuner(9)
that's the whole vibe, bestie π«Ά this page lives under ./drivers/media/v4l2-core, is dated October 2026, and answers to set_freq(9) β mwah π
π¦ 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