STRUCT SI476X_RADIO_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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