drivers/platform/x86/intel_scu_ipc.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/intel_scu_ipc.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/intel_scu_ipc.c- Extension
.c- Size
- 19246 bytes
- Lines
- 706
- Domain
- Driver Families
- Bucket
- drivers/platform
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/cleanup.hlinux/delay.hlinux/device.hlinux/errno.hlinux/init.hlinux/interrupt.hlinux/io.hlinux/iopoll.hlinux/module.hlinux/slab.hlinux/platform_data/x86/intel_scu_ipc.h
Detected Declarations
struct intel_scu_ipc_devstruct intel_scu_ipc_devresfunction intel_scu_ipc_dev_getfunction intel_scu_ipc_dev_putfunction devm_intel_scu_ipc_dev_releasefunction devm_intel_scu_ipc_dev_getfunction Registerfunction Bufferfunction Registerfunction ipc_data_readlfunction busy_loopfunction ipc_wait_for_interruptfunction intel_scu_ipc_check_statusfunction pwr_reg_rdwrfunction intel_scu_ipc_dev_ioread8function intel_scu_ipc_dev_iowrite8function intel_scu_ipc_dev_readvfunction intel_scu_ipc_dev_writevfunction intel_scu_ipc_dev_updatefunction intel_scu_ipc_dev_simple_commandfunction intel_scu_ipc_dev_command_with_sizefunction iocfunction intel_scu_ipc_releasefunction __intel_scu_ipc_registerfunction intel_scu_ipc_unregisterfunction devm_intel_scu_ipc_unregisterfunction __devm_intel_scu_ipc_registerfunction intel_scu_ipc_initfunction intel_scu_ipc_exitmodule init intel_scu_ipc_initexport intel_scu_ipc_dev_getexport intel_scu_ipc_dev_putexport devm_intel_scu_ipc_dev_getexport intel_scu_ipc_dev_ioread8export intel_scu_ipc_dev_iowrite8export intel_scu_ipc_dev_readvexport intel_scu_ipc_dev_writevexport intel_scu_ipc_dev_updateexport intel_scu_ipc_dev_simple_commandexport intel_scu_ipc_dev_command_with_sizeexport __intel_scu_ipc_registerexport intel_scu_ipc_unregisterexport __devm_intel_scu_ipc_register
Annotated Snippet
subsys_initcall(intel_scu_ipc_init);
static void __exit intel_scu_ipc_exit(void)
{
class_unregister(&intel_scu_ipc_class);
}
module_exit(intel_scu_ipc_exit);
Annotation
- Immediate include surface: `linux/cleanup.h`, `linux/delay.h`, `linux/device.h`, `linux/errno.h`, `linux/init.h`, `linux/interrupt.h`, `linux/io.h`, `linux/iopoll.h`.
- Detected declarations: `struct intel_scu_ipc_dev`, `struct intel_scu_ipc_devres`, `function intel_scu_ipc_dev_get`, `function intel_scu_ipc_dev_put`, `function devm_intel_scu_ipc_dev_release`, `function devm_intel_scu_ipc_dev_get`, `function Register`, `function Buffer`, `function Register`, `function ipc_data_readl`.
- Atlas domain: Driver Families / drivers/platform.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.