STRUCT IT913X_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct_it913x_platform_data(9) β€” like, the whole kernel API manual page, bestie

okay so this is from the Kernel API Manual, and the star of the show is struct it913x_platform_data β€” say that five times fast, iykyk 😭


🌸 NAME 🌸

struct it913x_platform_data β€” the platform data for the it913x driver. that's it, that's the vibe. it's giving "supporting cast member that makes everything work" ✨


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole struct, copied exactly, don't @ me:

struct it913x_platform_data {
    struct regmap *regmap;
    struct dvb_frontend *fe;
  #define IT913X_ROLE_SINGLE         0;
  #define IT913X_ROLE_DUAL_MASTER    1;
  #define IT913X_ROLE_DUAL_SLAVE     2;
    unsigned int role:2;
 };

so cute, so compact. note the role:2 bit-field β€” she's on a budget and she's slaying anyway πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • regmap β€” the af9033 demod driver regmap. literally the map of registers, bestie, it's how the driver talks to the hardware πŸ’–
  • fe β€” the af9033 demod driver DVB frontend. that's the struct dvb_frontend *, the frontend one 🫢
  • role β€” the chip role, single or dual configuration. and the options are these three defines, exactly as written above:
    • #define IT913X_ROLE_SINGLE 0;
    • #define IT913X_ROLE_DUAL_MASTER 1;
    • #define IT913X_ROLE_DUAL_SLAVE 2;
ngl all three of those defines live inside the struct block up in the synopsis β€” that's just how it's written, don't come for me πŸ’€

🌈 SEE ALSO 🌈

  • the kernel file ./drivers/media/tuners/it913x.h β€” go read it, it's right there, no cap πŸ”₯

and that's the whole page, bestie πŸ’œ this footer-core moment comes from ./drivers/media/tuners, dated October 2026, and it's all about struct it913x_platform_data(9) β€” periodt, stan, ion even know what else to tell you πŸŽ€βœ¨

πŸ“¦ where this page comes from