drivers/char/agp/alpha-agp.c
Source file repositories/reference/linux-study-clean/drivers/char/agp/alpha-agp.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/char/agp/alpha-agp.c- Extension
.c- Size
- 5491 bytes
- Lines
- 222
- Domain
- Driver Families
- Bucket
- drivers/char
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/pci.hlinux/init.hlinux/agp_backend.hlinux/mm.hlinux/slab.hasm/machvec.hasm/agp_backend.h../../../arch/alpha/kernel/pci_impl.hagp.h
Detected Declarations
function alpha_core_agp_vm_faultfunction alpha_core_agp_fetch_sizefunction alpha_core_agp_configurefunction alpha_core_agp_cleanupfunction alpha_core_agp_tlbflushfunction alpha_core_agp_enablefunction alpha_core_agp_insert_memoryfunction alpha_core_agp_remove_memoryfunction alpha_core_agp_create_free_gatt_tablefunction alpha_core_agp_setupfunction agp_alpha_core_initfunction agp_alpha_core_cleanupmodule init agp_alpha_core_init
Annotated Snippet
module_init(agp_alpha_core_init);
module_exit(agp_alpha_core_cleanup);
MODULE_AUTHOR("Jeff Wiedemeier <Jeff.Wiedemeier@hp.com>");
MODULE_DESCRIPTION("Alpha AGP support");
MODULE_LICENSE("GPL and additional rights");
Annotation
- Immediate include surface: `linux/module.h`, `linux/pci.h`, `linux/init.h`, `linux/agp_backend.h`, `linux/mm.h`, `linux/slab.h`, `asm/machvec.h`, `asm/agp_backend.h`.
- Detected declarations: `function alpha_core_agp_vm_fault`, `function alpha_core_agp_fetch_size`, `function alpha_core_agp_configure`, `function alpha_core_agp_cleanup`, `function alpha_core_agp_tlbflush`, `function alpha_core_agp_enable`, `function alpha_core_agp_insert_memory`, `function alpha_core_agp_remove_memory`, `function alpha_core_agp_create_free_gatt_table`, `function alpha_core_agp_setup`.
- Atlas domain: Driver Families / drivers/char.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.