STRUCT CXD2820R_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct cxd2820r_config β€” no cap, this is literally the configuration struct for the cxd2020r demod 🫢 (and yes bestie, the NAME line really does say cxd2020r, that's just how it's written here, iykyk πŸ’…)

Oh and hey β€” welcome to the Kernel API Manual, this is the page for it, come sit with me 🌸


✨ SYNOPSIS ✨

okay so here's the whole struct, and every field is literally in here, don't skip a single one πŸ‘‘

struct cxd2820r_config {
    u8 i2c_address;
    u8 ts_mode;
    bool ts_clock_inv;
    bool if_agc_polarity;
    bool spec_inv;
 };

🧚 Members 🧚

  • i2c_address β€” the demodulator's I2C address, main character of the address world ✨. The driver is smart like that and works out the DVB-C slave I2C address automatically from the master address, slay. Default: none β€” you literally must set this one, no default for you πŸ™ˆ. Values: 0x6c, 0x6d.
  • ts_mode β€” the TS output mode πŸ¦‹. Default: none, again you must set it yourself. Values: FIXME? β€” yeah it literally says that in the manpage, that's canon, not me being lazy fr fr πŸ’€.
  • ts_clock_inv β€” TS clock inverted, cute little bool πŸŽ€. Default: 0. Values: 0, 1.
  • if_agc_polarity β€” default: 0. Values: 0, 1. (That's the whole description, don't shoot the messenger 😭)
  • spec_inv β€” spectrum inversion, obsessed 🌈. Default: 0. Values: 0, 1.

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/media/dvb-frontends/cxd2820r.h struct cxd2820r_platform_data(9), cxd2820r_attach(9)
ok bestie real talk: the defaults for i2c_address and ts_mode are none and you must set them, so please don't just vibe-check your way past those two, that's the one thing that'll get you πŸ’€

πŸ’– that's the whole page, you ate that πŸ’–

this little manual lives with its source at ./drivers/media/dvb-frontends, and it's dated October 2026 β€” catch you in the next kernel release, mwah πŸ«ΆπŸŽ€πŸŒ·

πŸ“¦ where this page comes from