drivers/crypto/intel/qat/qat_420xx/adf_drv.c
Source file repositories/reference/linux-study-clean/drivers/crypto/intel/qat/qat_420xx/adf_drv.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/crypto/intel/qat/qat_420xx/adf_drv.c- Extension
.c- Size
- 5463 bytes
- Lines
- 213
- Domain
- Driver Families
- Bucket
- drivers/crypto
- 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/device.hlinux/module.hlinux/pci.hadf_accel_devices.hadf_gen4_hw_data.hadf_gen4_config.hadf_cfg.hadf_common_drv.hadf_dbgfs.hadf_420xx_hw_data.h
Detected Declarations
function adf_cleanup_accelfunction adf_probefunction adf_removefunction adf_shutdown
Annotated Snippet
static struct pci_driver adf_driver = {
.id_table = adf_pci_tbl,
.name = ADF_420XX_DEVICE_NAME,
.probe = adf_probe,
.remove = adf_remove,
.shutdown = adf_shutdown,
.sriov_configure = adf_sriov_configure,
.err_handler = &adf_err_handler,
};
module_pci_driver(adf_driver);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Intel");
MODULE_FIRMWARE(ADF_420XX_FW);
MODULE_FIRMWARE(ADF_420XX_MMP);
MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
MODULE_SOFTDEP("pre: crypto-intel_qat");
MODULE_IMPORT_NS("CRYPTO_QAT");
Annotation
- Immediate include surface: `linux/device.h`, `linux/module.h`, `linux/pci.h`, `adf_accel_devices.h`, `adf_gen4_hw_data.h`, `adf_gen4_config.h`, `adf_cfg.h`, `adf_common_drv.h`.
- Detected declarations: `function adf_cleanup_accel`, `function adf_probe`, `function adf_remove`, `function adf_shutdown`.
- Atlas domain: Driver Families / drivers/crypto.
- 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.