drivers/input/misc/adxl34x.h

Source file repositories/reference/linux-study-clean/drivers/input/misc/adxl34x.h

File Facts

System
Linux kernel
Corpus path
drivers/input/misc/adxl34x.h
Extension
.h
Size
773 bytes
Lines
31
Domain
Driver Families
Bucket
drivers/input
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 adxl34x_bus_ops {
	u16 bustype;
	int (*read)(struct device *, unsigned char);
	int (*read_block)(struct device *, unsigned char, int, void *);
	int (*write)(struct device *, unsigned char, unsigned char);
};

struct adxl34x *adxl34x_probe(struct device *dev, int irq,
			      bool fifo_delay_default,
			      const struct adxl34x_bus_ops *bops);

extern const struct dev_pm_ops adxl34x_pm;
extern const struct attribute_group *adxl34x_groups[];

#endif

Annotation

Implementation Notes