drivers/media/test-drivers/vidtv/vidtv_bridge.h

Source file repositories/reference/linux-study-clean/drivers/media/test-drivers/vidtv/vidtv_bridge.h

File Facts

System
Linux kernel
Corpus path
drivers/media/test-drivers/vidtv/vidtv_bridge.h
Extension
.h
Size
2322 bytes
Lines
73
Domain
Driver Families
Bucket
drivers/media
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

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; /* Protects access to the start/stop stream logic/data. */

	bool streaming;

	struct vidtv_mux *mux;

#ifdef CONFIG_MEDIA_CONTROLLER_DVB
	struct media_device mdev;
#endif /* CONFIG_MEDIA_CONTROLLER_DVB */
};

#endif // VIDTV_BRIDG_H

Annotation

Implementation Notes