STRUCT SI2168_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct si2168_config β€” the config parameters for si2168, bestie. that's it, that's the vibe 🫢

okay so real talk, this is from the Kernel API Manual and it's the little struct you fill in so the si2168 driver knows what you want. let's get into it ✨


🌸 SYNOPSIS 🌸

struct si2168_config {
    struct dvb_frontend **fe;
    struct i2c_adapter **i2c_adapter;
  #define SI2168_TS_PARALLEL      0x06;
  #define SI2168_TS_SERIAL        0x03;
  #define SI2168_TS_TRISTATE      0x00;
  #define SI2168_TS_CLK_MANUAL    0x20;
    u8 ts_mode;
    unsigned int ts_clock_inv:1;
    unsigned int ts_clock_gapped:1;
    unsigned int spectral_inversion:1;
 };

no cap, that's the whole shape of it πŸ’– also note the bitfields at the bottom β€” literally one bit each, she's thriving on efficiency πŸ‘‘


πŸŽ€ Members πŸŽ€

  • fe β€” the frontend that the driver hands back to you. slay, you don't have to go find it yourself ✨
  • i2c_adapter β€” the tuner I2C adapter, also returned by the driver. two for one, we love to see it πŸ’…
  • ts_mode β€” the Transport Stream mode. she can be any one of these, pick ur fighter:
    • SI2168_TS_PARALLEL
    • SI2168_TS_SERIAL
    • SI2168_TS_TRISTATE
    • SI2168_TS_CLK_MANUAL
  • ts_clock_inv β€” TS clock inverted. that's the whole lore πŸ”₯
  • ts_clock_gapped β€” TS clock gapped. yes bestie, gapped πŸ¦‹
  • spectral_inversion β€” inverted spectrum. it's giving upside-down energy πŸ™ˆ

⭐ Note ⭐

ok important one, don't skip this: the I2C address of this demod is 0x64. write it down, tattoo it on ur arm, whatever works πŸ’€βœ¨

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/media/dvb-frontends/si2168.h β€” go read the source, iykyk πŸ“–πŸ’œ

and that's the page!! mwah πŸ’‹ this little number lives over in ./drivers/media/dvb-frontends and the version on the tin says October 2026 β€” go off, kernel docs, you icon πŸ‘‘πŸŒΈπŸŽ€

πŸ“¦ where this page comes from