drivers/fpga/fpga-region.c
Source file repositories/reference/linux-study-clean/drivers/fpga/fpga-region.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/fpga/fpga-region.c- Extension
.c- Size
- 7782 bytes
- Lines
- 323
- Domain
- Driver Families
- Bucket
- drivers/fpga
- 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/fpga/fpga-bridge.hlinux/fpga/fpga-mgr.hlinux/fpga/fpga-region.hlinux/idr.hlinux/kernel.hlinux/list.hlinux/module.hlinux/slab.hlinux/spinlock.h
Detected Declarations
function fpga_region_class_findfunction fpga_region_putfunction fpga_region_putfunction infofunction compat_id_showfunction __fpga_region_register_fullfunction fpga_region_register_fullfunction fpga_region_unregisterfunction fpga_region_dev_releasefunction fpga_region_initfunction fpga_region_exitmodule init fpga_region_initexport fpga_region_class_findexport fpga_region_program_fpgaexport __fpga_region_register_fullexport __fpga_region_registerexport fpga_region_unregister
Annotated Snippet
subsys_initcall(fpga_region_init);
module_exit(fpga_region_exit);
MODULE_DESCRIPTION("FPGA Region");
MODULE_AUTHOR("Alan Tull <atull@kernel.org>");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/fpga/fpga-bridge.h`, `linux/fpga/fpga-mgr.h`, `linux/fpga/fpga-region.h`, `linux/idr.h`, `linux/kernel.h`, `linux/list.h`, `linux/module.h`, `linux/slab.h`.
- Detected declarations: `function fpga_region_class_find`, `function fpga_region_put`, `function fpga_region_put`, `function info`, `function compat_id_show`, `function __fpga_region_register_full`, `function fpga_region_register_full`, `function fpga_region_unregister`, `function fpga_region_dev_release`, `function fpga_region_init`.
- Atlas domain: Driver Families / drivers/fpga.
- 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.