set_tv_freq(9)
πΈ set_tv_freq(9) β the kernel API manual, bestie edition πΈ
okay so this is a page from the Kernel API Manual (section 9, the kernel-y one) and it's all about one tiny but iconic little function. sit down, grab a boba, we're doing this π
β¨ NAME β¨
set_tv_freq β literally just Set tuner frequency, and the freq is in Units of 62.5 kHz = 1/16MHz. no cap, that's the whole vibe π
π¦ SYNOPSIS π¦
void set_tv_freq (struct i2c_client *c , unsigned int freq );
it gives nothing, it takes two things. main character energy honestly π
π ARGUMENTS π
cβ thei2c_clientdescriptor. yes queen, hand over your i2c client π«Άfreqβ the frequency. that's it, that's the argument π
π₯ SEE ALSO π₯
okay this list is LONG and honestly every single one of these is a must-read iykyk:
- Kernel file
./drivers/media/v4l2-core/tuner-core.c 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_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)
likeβ¦ the whole tuner friend group showed up. obsessed π
ngl bestie, that's genuinely the entire page β it's a short one. no bugs, no exit statuses, no environment variables, just vibes and a tuner frequency π§
and that's a wrap! this lil beauty lives in ./drivers/media/v4l2-core and it's dated October 2026 β so yeah, mark your calendars, slay, periodt βππ
π¦ 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