drivers/media/tuners/mt2060_priv.h

Source file repositories/reference/linux-study-clean/drivers/media/tuners/mt2060_priv.h

File Facts

System
Linux kernel
Corpus path
drivers/media/tuners/mt2060_priv.h
Extension
.h
Size
3989 bytes
Lines
102
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 mt2060_priv {
	struct mt2060_config *cfg;
	struct i2c_adapter   *i2c;
	struct i2c_client *client;
	struct mt2060_config config;

	u8 i2c_max_regs;
	u32 frequency;
	u16 if1_freq;
	u8  fmfreq;

	/*
	 * Use REG_MISC_CTRL register for sleep. That drops sleep power usage
	 * about 0.9W (huge!). Register bit meanings are unknown, so let it be
	 * disabled by default to avoid possible regression. Convert driver to
	 * i2c model in order to enable it.
	 */
	bool sleep;
};

#endif

Annotation

Implementation Notes