drivers/platform/x86/intel/vsec.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/intel/vsec.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/intel/vsec.c- Extension
.c- Size
- 22565 bytes
- Lines
- 893
- Domain
- Driver Families
- Bucket
- drivers/platform
- 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.
- 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.
- Defines an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- 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/auxiliary_bus.hlinux/bits.hlinux/bitops.hlinux/bug.hlinux/cleanup.hlinux/delay.hlinux/idr.hlinux/log2.hlinux/intel_vsec.hlinux/kernel.hlinux/module.hlinux/overflow.hlinux/pci.hlinux/string.hlinux/types.h
Detected Declarations
struct vsec_privenum vsec_device_statefunction intel_vsec_supportedfunction intel_vsec_remove_auxfunction intel_vsec_dev_releasefunction get_consumer_dependenciesfunction vsec_driver_presentfunction intel_vsec_link_devicesfunction for_each_set_bitfunction intel_vsec_add_auxfunction intel_vsec_add_devfunction suppliers_readyfunction get_cap_idfunction intel_vsec_register_devicefunction intel_vsec_walk_headerfunction intel_vsec_walk_dvsecfunction intel_vsec_walk_vsecfunction intel_vsec_registerfunction intel_vsec_get_featuresfunction intel_vsec_skip_missing_dependenciesfunction for_each_set_bitfunction intel_vsec_pci_initfunction intel_vsec_pci_probefunction intel_vsec_set_mappingfunction intel_vsec_pci_error_detectedfunction intel_vsec_pci_slot_resetfunction xa_for_eachfunction intel_vsec_pci_resume
Annotated Snippet
static struct pci_driver intel_vsec_pci_driver = {
.name = "intel_vsec",
.id_table = intel_vsec_pci_ids,
.probe = intel_vsec_pci_probe,
.err_handler = &intel_vsec_pci_err_handlers,
};
module_pci_driver(intel_vsec_pci_driver);
MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>");
MODULE_DESCRIPTION("Intel Extended Capabilities auxiliary bus driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/auxiliary_bus.h`, `linux/bits.h`, `linux/bitops.h`, `linux/bug.h`, `linux/cleanup.h`, `linux/delay.h`, `linux/idr.h`, `linux/log2.h`.
- Detected declarations: `struct vsec_priv`, `enum vsec_device_state`, `function intel_vsec_supported`, `function intel_vsec_remove_aux`, `function intel_vsec_dev_release`, `function get_consumer_dependencies`, `function vsec_driver_present`, `function intel_vsec_link_devices`, `function for_each_set_bit`, `function intel_vsec_add_aux`.
- Atlas domain: Driver Families / drivers/platform.
- Implementation status: pattern 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.