drivers/nvmem/mtk-efuse.c
Source file repositories/reference/linux-study-clean/drivers/nvmem/mtk-efuse.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/nvmem/mtk-efuse.c- Extension
.c- Size
- 4001 bytes
- Lines
- 161
- Domain
- Driver Families
- Bucket
- drivers/nvmem
- 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/device.hlinux/module.hlinux/mod_devicetable.hlinux/io.hlinux/nvmem-provider.hlinux/platform_device.hlinux/property.h
Detected Declarations
struct mtk_efuse_pdatastruct mtk_efuse_privfunction mtk_reg_readfunction mtk_efuse_gpu_speedbin_ppfunction mtk_efuse_fixup_dt_cell_infofunction mtk_efuse_probefunction mtk_efuse_removefunction mtk_efuse_initfunction mtk_efuse_exitmodule init mtk_efuse_init
Annotated Snippet
subsys_initcall(mtk_efuse_init);
module_exit(mtk_efuse_exit);
MODULE_AUTHOR("Andrew-CT Chen <andrew-ct.chen@mediatek.com>");
MODULE_DESCRIPTION("Mediatek EFUSE driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/device.h`, `linux/module.h`, `linux/mod_devicetable.h`, `linux/io.h`, `linux/nvmem-provider.h`, `linux/platform_device.h`, `linux/property.h`.
- Detected declarations: `struct mtk_efuse_pdata`, `struct mtk_efuse_priv`, `function mtk_reg_read`, `function mtk_efuse_gpu_speedbin_pp`, `function mtk_efuse_fixup_dt_cell_info`, `function mtk_efuse_probe`, `function mtk_efuse_remove`, `function mtk_efuse_init`, `function mtk_efuse_exit`, `module init mtk_efuse_init`.
- Atlas domain: Driver Families / drivers/nvmem.
- 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.