drivers/gpib/include/quancom_pci.h

Source file repositories/reference/linux-study-clean/drivers/gpib/include/quancom_pci.h

File Facts

System
Linux kernel
Corpus path
drivers/gpib/include/quancom_pci.h
Extension
.h
Size
611 bytes
Lines
23
Domain
Driver Families
Bucket
drivers/gpib
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 _QUANCOM_PCI_H
#define _QUANCOM_PCI_H

/* quancom registers */
enum quancom_regs {
	QUANCOM_IRQ_CONTROL_STATUS_REG = 0xfc,
};

enum quancom_irq_control_status_bits {
	QUANCOM_IRQ_ASSERTED_BIT = 0x1, /* readable */
	/* (any write to the register clears the interrupt)*/
	QUANCOM_IRQ_ENABLE_BIT = 0x4, /* writeable */
};

#endif	// _QUANCOM_PCI_H

Annotation

Implementation Notes