drivers/media/i2c/ov9640.h

Source file repositories/reference/linux-study-clean/drivers/media/i2c/ov9640.h

File Facts

System
Linux kernel
Corpus path
drivers/media/i2c/ov9640.h
Extension
.h
Size
4835 bytes
Lines
208
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 ov9640_reg_alt {
	u8	com7;
	u8	com12;
	u8	com13;
	u8	com15;
};

struct ov9640_reg {
	u8	reg;
	u8	val;
};

struct ov9640_priv {
	struct v4l2_subdev		subdev;
	struct v4l2_ctrl_handler	hdl;
	struct clk			*clk;
	struct gpio_desc		*gpio_power;
	struct gpio_desc		*gpio_reset;

	int				model;
	int				revision;
};

#endif	/* __DRIVERS_MEDIA_VIDEO_OV9640_H__ */

Annotation

Implementation Notes