STRUCT ANALOG_PARAMETERS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 on enum v4l2_tuner_type. it's literally the tuner's whole personality. 🧚
  • audmode β€” the audio mode, defined exactly the way the rxsubchans field is at videodev2.h, e. g. V4L2_TUNER_MODE_*. audio said "i'm main character." 🎧
  • std β€” the TV standard bitmap, defined at videodev2.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