STRUCT SI2168_CONFIG(9)
π 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_PARALLELSI2168_TS_SERIALSI2168_TS_TRISTATESI2168_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
- 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