drivers/media/usb/gspca/stk1135.h

Source file repositories/reference/linux-study-clean/drivers/media/usb/gspca/stk1135.h

File Facts

System
Linux kernel
Corpus path
drivers/media/usb/gspca/stk1135.h
Extension
.h
Size
1646 bytes
Lines
45
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 stk1135_pkt_header {
	u8 flags;
	u8 seq;
	__le16 gpio;
} __packed;

#define STK1135_HDR_FRAME_START	(1 << 7)
#define STK1135_HDR_ODD		(1 << 6)
#define STK1135_HDR_I2C_VBLANK	(1 << 5)

#define STK1135_HDR_SEQ_MASK	0x3f

Annotation

Implementation Notes