STRUCT VIDTV_DVB(9)
π 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#ifdefblock 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. Seedvb_register_adapter.demuxβ The demux used by thedvb_dmx_swfilter_packetscall.dmx_devβ Represents a demux device.dmx_feβ The frontends associated with the demux.i2c_adapterβ Thei2c_adapterassociated with the bridge driver.i2c_client_demodβ Thei2c_clientsassociated with the demodulator modules.i2c_client_tunerβ Thei2c_clientsassociated 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β Themedia_devicestruct 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
- 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