STRUCT DRXK_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct drxk_config(9) β€” Kernel API Manual πŸ’–

okay so bestie, this is the page for struct drxk_config, and it's literally the little config bundle that tells DRX-K how to show up at the start. We're keeping all the facts, just with way more sparkle ✨ and honestly? obsessed.


πŸ’– NAME πŸ’–

struct drxk_config β€” Configure the initial parameters for DRX-K πŸŽ€

✨ SYNOPSIS ✨

Here's the struct in all its exact glory, no cap:

       struct drxk_config {
           u8 adr;
           bool single_master;
           bool no_i2c_bridge;
           bool parallel_ts;
           bool dynamic_clk;
           bool enable_merr_cfg;
           bool antenna_dvbt;
           u16 antenna_gpio;
           u8 mpeg_out_clk_strength;
           int chunk_size;
           const char      *microcode_name;
           int qam_demod_parameter_count;
        };

πŸŽ€ Members πŸŽ€

  • adr β€” I2C address of the DRX-K. That's where it lives on the bus πŸ’…
  • single_master β€” Device is on the single master mode. Yes, it's giving solo-main-character energy πŸ‘‘
  • no_i2c_bridge β€” Don't switch the I2C bridge to talk with tuner. Like, leave the bridge alone, bestie πŸ™ˆ
  • parallel_ts β€” True means that the device uses parallel TS, Serial otherwise. Very "choose your transport vibe" ✨
  • dynamic_clk β€” True means that the clock will be dynamically adjusted. Static clock otherwise. So it's either dynamic or static, periodt ⏰
  • enable_merr_cfg β€” Enable SIO_PDR_PERR_CFG/SIO_PDR_MVAL_CFG. That's the exact pair, don't come for me 🫢
  • antenna_dvbt β€” GPIO bit for changing antenna to DVB-C. A value of 1 means that 1=DVBC, 0 = DVBT. Zero means the opposite. Yes, this one is a little brain-bender, but that's the spec 😭
  • antenna_gpio β€” GPIO bit used to control the antenna. The antenna's remote control, basically πŸŽ€
  • mpeg_out_clk_strength β€” DRXK Mpeg output clock drive strength. Fancy clock muscles πŸ’ͺ
  • chunk_size β€” maximum size for I2C messages. Keep those messages in cute lil chunks πŸ“
  • microcode_name β€” Name of the firmware file with the microcode. That's the firmware's government name, iykyk 🧚
  • qam_demod_parameter_count β€” The number of parameters used for the command to set the demodulator parameters. All firmwares are using the 2-parameter command. An exception is the drxk_a3.mc firmware, which uses the 4-parameter command. A value of 0 (default) or lower indicates that the correct number of parameters will be automatically detected. So yes, 0 or lower means "bestie, figure it out" πŸ”₯

🌸 Description 🌸

On the *_gpio vars, bit 0 is UIO-1, bit 1 is UIO-2 and bit 2 is UIO-3. So that's the bit map, fr fr πŸ—ΊοΈβœ¨

πŸ’… SEE ALSO πŸ’…

  • Kernel file ./drivers/media/dvb-frontends/drxk.h β€” the actual header is right there, bestie πŸ“š
  • drxk_attach(9) β€” the attach function is chillin' in the see-also list 🫢

okay byeee bestie, this page's source/version is ./drivers/media/dvb-frontends and the date on it is October 2026 β€” mwah, slay πŸ’‹πŸ’–

πŸ“¦ where this page comes from