STRUCT SI476X_RADIO_OPS(9)
πΈ struct si476x_radio_ops(9) πΈ
okay bestie, welcome to the Kernel API Manual β yes we're reading kernel docs for fun now, this is who we are π
β¨ NAME β¨
struct si476x_radio_ops β literally the vtable of tuner functions, like the friend group roster but for function pointers π«Ά
π SYNOPSIS π
struct si476x_radio_ops {
int (*tune_freq)(struct si476x_core *, struct si476x_tune_freq_args
*);
int (*seek_start)(struct si476x_core *, bool, bool);
int (*rsq_status)(struct si476x_core *, struct
si476x_rsq_status_args *, struct si476x_rsq_status_report *);
int (*rds_blckcnt)(struct si476x_core *, bool, struct
si476x_rds_blockcount_report *);
int (*phase_diversity)(struct si476x_core *, enum
si476x_phase_diversity_mode);
int (*phase_div_status)(struct si476x_core *);
int (*acf_status)(struct si476x_core *, struct
si476x_acf_status_report *);
int (*agc_status)(struct si476x_core *, struct
si476x_agc_status_report *);
};
no cap, that's the whole struct β don't touch the formatting, it's iconic as-is π
π¦ Members π¦
tune_freqβ tunes the chip to a specific frequency. it's giving "pick a station, any station" π»seek_startβ starts station seeking. yes "Star" is a typo in the original and yes we're keeping it, we don't do revisions here πrsq_statusβ gets the Received Signal Quality (RSQ) status. vibe check for your radio signal, fr fr β¨rds_blckcntβ gets the received RDS blocks count. block-counting era π₯phase_diversityβ changes the phase diversity mode of the tuner. mode switch energy πphase_div_statusβ gets the phase diversity mode status. it's giving "and how's the mode doing" πΈacf_statusβ gets the status of Automatically Controlled Features (ACF). very main character, very automatic πagc_statusβ gets the Automatic Gain Control (AGC) status. gain = controlled, bestie = informed π
β Description β
so this table holds pointers to functions that implement particular operations β and which operation you get depends on the mode the tuner chip was configured to start in. iykyk π§
β οΈ big one: if a function is not supported, the corresponding element is set to #NULL. not me checking for NULLs before calling, because that's the whole point π
π SEE ALSO π
- Kernel file
./drivers/media/radio/radio-si476x.c struct si476x_radio(9)
and that's the page, bestie π it came from ./drivers/media/radio, dated October 2026, and it's all about struct si476x_radio_ops(9) β go forth and tune responsibly ππ¦
π¦ 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