STRUCT RTL2832_SDR_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this entire page is about struct rtl2832_sdr_platform_data β€” it's literally the platform data for the rtl2832_sdr driver πŸ’… and yes, this is from the Kernel API Manual, we're in the big leagues now πŸŽ€


✨ SYNOPSIS ✨

here's the whole struct, no cap, every line exactly as it is:

       struct rtl2832_sdr_platform_data {
           u32 clk;
         #define RTL2832_SDR_TUNER_FC2580    0x21;
         #define RTL2832_SDR_TUNER_TUA9001   0x24;
         #define RTL2832_SDR_TUNER_FC0012    0x26;
         #define RTL2832_SDR_TUNER_E4000     0x27;
         #define RTL2832_SDR_TUNER_FC0013    0x29;
         #define RTL2832_SDR_TUNER_R820T     0x2a;
         #define RTL2832_SDR_TUNER_R828D     0x2b;
           u8 tuner;
           struct regmap *regmap;
           struct dvb_frontend *dvb_frontend;
           struct v4l2_subdev *v4l2_subdev;
           struct dvb_usb_device *dvb_usb_device;
        };

like, look at those #defines just chilling inside the struct definition 😭 that's the whole tuner catalogue right there.


πŸ¦‹ Members πŸ¦‹

  • clk β€” the clock frequency ✨ the valid vibes are 4000000, 16000000, 25000000, and 28800000. pick your frequency, bestie 🫢
  • tuner β€” which tuner model is being used 🌈 (the model itself goes in that u8, iykyk).
  • regmap β€” pointer to struct regmap. that's it, that's the whole description πŸ’€
  • dvb_frontend β€” the rtl2832 DVB frontend πŸ‘‘
  • v4l2_subdev β€” the tuner's v4l2 controls πŸŽ›οΈ
  • dvb_usb_device β€” the DVB USB interface, aka the thing that makes USB streaming happen πŸ”₯
ngl bestie, some of these descriptions are short. I didn't invent extra lore β€” I would never πŸ™ˆ the original says exactly this much and no more.

πŸ’– SEE ALSO πŸ’–

  • Kernel file ./drivers/media/dvb-frontends/rtl2832_sdr.h β€” go read it if you want the receipts 🧚

and that's the whole page, periodt πŸ’… mwah πŸ’‹ β€” this cutie came out of the kernel source tree over at ./drivers/media/dvb-frontends, dated October 2026, and the page itself is struct rtl28...latform_data(9) πŸ“ (yes the truncation is iconic, yes it's staying, don't @ me)

πŸ“¦ where this page comes from