drivers/gpio/gpio-pch.c

Source file repositories/reference/linux-study-clean/drivers/gpio/gpio-pch.c

File Facts

System
Linux kernel
Corpus path
drivers/gpio/gpio-pch.c
Extension
.c
Size
11733 bytes
Lines
455
Domain
Driver Families
Bucket
drivers/gpio
Inferred role
Driver Families: operation-table or driver-model contract
Status
pattern 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

static struct pci_driver pch_gpio_driver = {
	.name = "pch_gpio",
	.id_table = pch_gpio_pcidev_id,
	.probe = pch_gpio_probe,
	.driver = {
		.pm = pm_sleep_ptr(&pch_gpio_pm_ops),
	},
};

module_pci_driver(pch_gpio_driver);

MODULE_DESCRIPTION("PCH GPIO PCI Driver");
MODULE_LICENSE("GPL v2");

Annotation

Implementation Notes