STRUCT TDA10071_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tda10071_platform_data β€” from the Kernel API Manual, bestie

okay so this is the whole glow-up on struct tda10071_platform_data, which is literally just the platform data for the tda10071 driver. yes. that's the vibe. main character struct energy only πŸ’–


✨ SYNOPSIS ✨

struct tda10071_platform_data {
    u32 clk;
    u16 i2c_wr_max;
  #define TDA10071_TS_SERIAL        0;
  #define TDA10071_TS_PARALLEL      1;
    u8 ts_mode;
    bool spec_inv;
    u8 pll_multiplier;
    u8 tuner_i2c_addr;
    struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *);
 };

like… look at her. iconic. no notes. πŸŽ€


🌸 Members 🌸

okay so let's go through the cast one by one, bestie, because every single one of them matters:

  • clk β€” the clock frequency. that's it, that's the field πŸ•
  • i2c_wr_max β€” max bytes the I2C adapter can write at once. so like, the write limit. respect the limit fr fr πŸ’€
  • ts_mode β€” TS mode. and there are exactly two moods, defined as:
    • TDA10071_TS_SERIAL = 0
    • TDA10071_TS_PARALLEL = 1

pick your fighter ✨

  • spec_inv β€” input spectrum inversion. it's a bool, so true or false, no in-between πŸ¦‹
  • pll_multiplier β€” the PLL multiplier. multiply bestie πŸ’…
  • tuner_i2c_addr β€” the CX24118A tuner I2C address (like 0x14, 0x54, ...). yes, those are real examples, keep 'em πŸ“
  • get_dvb_frontend β€” get DVB frontend. it's a function pointer taking a struct i2c_client *, and it literally just hands you a struct dvb_frontend*. lowkey the most important one in the group chat πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/media/dvb-frontends/tda10071.h β€” go read it, it's giving lore 🧚

and that's the whole page, bestie 🫢 this lil beauty lives in ./drivers/media/dvb-frontends, it's dated October 2026, and it's filed under struct tda1...latform_data(9). mwah. periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from