STRUCT RTL2830_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct rtl2830_platform_data β€” the platform data situation for the rtl2830 driver, bestie. This is from the Kernel API Manual, and it's literally the little bundle of config you hand over so the driver knows what's up 🫢


✨ SYNOPSIS ✨

okay so here's the whole vibe, character for character, no cap:

struct rtl2830_platform_data {
    u32 clk;
    bool spec_inv;
    u8 vtop;
    u8 krf;
    u8 agc_targ_val;
    struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *);
    struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *);
    int (*pid_filter)(struct dvb_frontend *, u8, u16, int);
    int (*pid_filter_ctrl)(struct dvb_frontend *, int);
 };

πŸŽ€ Members πŸŽ€

  • clk β€” the clock frequency, and it's giving very specific ✨ pick one of these: 4000000, 16000000, 25000000, 28800000. Like, those are the numbers, periodt.
  • spec_inv β€” spectrum inversion. that's the whole note πŸ’…
  • vtop β€” the AGC take-over point. iconic little threshold, iykyk.
  • krf β€” the AGC ratio. yes bestie, another AGC thing, we stay fed πŸ“
  • agc_targ_val β€” AGC. that's it, that's the description, and honestly? main character energy of a one-word field πŸ™ˆ
  • get_dvb_frontend β€” get DVB frontend. it's a function pointer taking a struct i2c_client * and handing you back a struct dvb_frontend* πŸ”₯
  • get_i2c_adapter β€” get I2C adapter. same deal, function pointer, takes struct i2c_client *, gives you a struct i2c_adapter* ⭐
  • pid_filter β€” set PID to PID filter. signature is int (*pid_filter)(struct dvb_frontend *, u8, u16, int) β€” yes, four args, we love a busy icon πŸ’€
  • pid_filter_ctrl β€” control PID filter. int (*pid_filter_ctrl)(struct dvb_frontend *, int), two args, cute and contained πŸ¦‹

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/media/dvb-frontends/rtl2830.h β€” go read the header, bestie, it's right there πŸ‘‘

and that's the whole page!! this lil drop came from ./drivers/media/dvb-frontends, dated October 2026, and the manual tag on it is struct rtl28...latform_data(9) β€” so like, that's the source, the version vibe, and the date, all wrapped up with a bow πŸŽ€πŸ’œ mwah, love u, go write some kernel code ✨

πŸ“¦ where this page comes from