STRUCT IT913X_PLATFORM_DATA(9)
π 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 thestruct 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
- 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