drivers/media/usb/gspca/stv06xx/stv06xx_st6422.h

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

File Facts

System
Linux kernel
Corpus path
drivers/media/usb/gspca/stv06xx/stv06xx_st6422.h
Extension
.h
Size
1165 bytes
Lines
39
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

#ifndef STV06XX_ST6422_H_
#define STV06XX_ST6422_H_

#include "stv06xx_sensor.h"

static int st6422_probe(struct sd *sd);
static int st6422_start(struct sd *sd);
static int st6422_init(struct sd *sd);
static int st6422_init_controls(struct sd *sd);
static int st6422_stop(struct sd *sd);

const struct stv06xx_sensor stv06xx_sensor_st6422 = {
	.name = "ST6422",
	/* No known way to lower framerate in case of less bandwidth */
	.min_packet_size = { 300, 847 },
	.max_packet_size = { 300, 847 },
	.init = st6422_init,
	.init_controls = st6422_init_controls,
	.probe = st6422_probe,
	.start = st6422_start,
	.stop = st6422_stop,
};

#endif

Annotation

Implementation Notes