STRUCT VIDTV_DVB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

struct vidtv_dvb(9) β€” Vidtv bridge state. Okay so this is the Kernel API Manual, bestie, and we're looking at the struct that holds the whole Vidtv bridge state vibe. It's giving kernel-side main character energy. πŸ’…


✨ SYNOPSIS ✨

Here's the exact struct, no cap β€” keep it character-for-character:

struct vidtv_dvb {
    struct platform_device *pdev;
    struct dvb_frontend *fe[NUM_FE];
    struct dvb_adapter adapter;
    struct dvb_demux demux;
    struct dmxdev dmx_dev;
    struct dmx_frontend dmx_fe[NUM_FE];
    struct i2c_adapter i2c_adapter;
    struct i2c_client *i2c_client_demod[NUM_FE];
    struct i2c_client *i2c_client_tuner[NUM_FE];
    u32 nfeeds;
    struct mutex feed_lock;
    bool streaming;
    struct vidtv_mux *mux;
  #ifdef CONFIG_MEDIA_CONTROLLER_DVB;
    struct media_device mdev;
  #endif ;
 };
bestie, the #ifdef block and that #endif ; are literally in the source β€” don't "fix" them, just respect them. 🫢

🫢 Members 🫢

  • pdev β€” The platform device. Obtained when the bridge is probed.
  • fe β€” The frontends. Obtained when probing the demodulator modules.
  • adapter β€” Represents a DTV adapter. See dvb_register_adapter.
  • demux β€” The demux used by the dvb_dmx_swfilter_packets call.
  • dmx_dev β€” Represents a demux device.
  • dmx_fe β€” The frontends associated with the demux.
  • i2c_adapter β€” The i2c_adapter associated with the bridge driver.
  • i2c_client_demod β€” The i2c_clients associated with the demodulator modules.
  • i2c_client_tuner β€” The i2c_clients associated with the tuner modules.
  • nfeeds β€” The number of feeds active.
  • feed_lock β€” Protects access to the start/stop stream logic/data. Lowkey important, highkey doing its job.
  • streaming β€” Whether we are streaming now.
  • mux β€” The abstraction responsible for delivering MPEG TS packets to the bridge.
  • mdev β€” The media_device struct for media controller support.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/media/test-drivers/vidtv/vidtv_bridge.h β€” iykyk, go peek. πŸ¦‹

Byeee 🫢✨ β€” that's the Kernel API Manual, October 2026, source ./drivers/media/test-drivers/v..., and this was struct vidtv_dvb(9). Periodt. πŸ’…πŸŽ€

πŸ“¦ where this page comes from