STRUCT ANALOG_PARAMETERS(9)
π struct analog_parameters(9) β kernel API manual, bestie edition
okay so first things first: this is a kernel API manual page, we're in analog_parameters territory, and honestly? it's giving "small struct, big responsibilities" energy. let's get into it π
β¨ NAME β¨
struct analog_parameters β the parameters you need to tune into an analog/radio channel π»β¨
πΈ SYNOPSIS πΈ
struct analog_parameters {
unsigned int frequency;
unsigned int mode;
unsigned int audmode;
u64 std;
};
look at her. four fields. no notes. π«Ά
π Members π
okay this is the part where we meet the whole squad, one by one:
frequencyβ the frequency your analog TV tuner is using, either in 62.5 kHz steps (that's the TV life) or 62.5 Hz (that's the radio life). two very different vibes, same field, iykyk. π‘modeβ the tuner mode, defined over onenum v4l2_tuner_type. it's literally the tuner's whole personality. π§audmodeβ the audio mode, defined exactly the way therxsubchansfield is atvideodev2.h, e. g.V4L2_TUNER_MODE_*. audio said "i'm main character." π§stdβ the TV standard bitmap, defined atvideodev2.h, e. g.V4L2_STD_*. the blueprint. the standard. literally in the name bestie. π
π¦ Description π¦
so here's the lore: hybrid tuners should be supported by both the V4L2 and DVB APIs β both, not one, that's the whole point of "hybrid." π₯
this struct holds the data that's used by the V4L2 side of that equation.
and here's the cute little hack: to avoid dependencies from V4L2 headers, all the enums in here are declared as integers. no header drama, no #include chaos, just ints. slay. π
β¨
π SEE ALSO π
go read these next, bestie, the whole friend group:
Kernel file ./include/media/dvb_frontend.h, struct dvb_frontend_tune_settings(9), struct dvb_tuner_info(9), enum dvbfe_algo(9), enum dvbfe_search(9), struct dvb_tuner_ops(9), struct analog_demod_info(9), struct analog_demod_ops(9), struct dvb_frontend_internal_info(9), struct dvb_frontend_ops(9), struct dtv_frontend_properties(9), struct dvb_frontend(9), dvb_register_frontend(9), dvb_unregister_frontend(9), dvb_frontend_detach(9), dvb_frontend_suspend(9), dvb_frontend_resume(9), dvb_frontend_reinitialise(9), dvb_frontend_sleep_until(9) π
ngl that's a whole friend group, but they're all icons, go say hi π«Ά
okay that's the page!! π this one lives in ./include/media and the version stamp says October 2026 β so like, keep that in mind for your citation era. mwah, study hard, drink water, and remember: all enums here are declared as integers. 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