drivers/mfd/tqmx86.c
Source file repositories/reference/linux-study-clean/drivers/mfd/tqmx86.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/mfd/tqmx86.c- Extension
.c- Size
- 9562 bytes
- Lines
- 366
- Domain
- Driver Families
- Bucket
- drivers/mfd
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/delay.hlinux/dmi.hlinux/i2c.hlinux/io.hlinux/mfd/core.hlinux/module.hlinux/platform_data/i2c-ocores.hlinux/platform_device.h
Detected Declarations
enum tqmx86_i2c1_resource_typeenum tqmx86_gpio_resource_typefunction tqmx86_board_id_to_clk_ratefunction tqmx86_setup_irqfunction tqmx86_probefunction tqmx86_create_platform_devicefunction tqmx86_initmodule init tqmx86_init
Annotated Snippet
module_init(tqmx86_init);
MODULE_DESCRIPTION("TQMx86 PLD Core Driver");
MODULE_AUTHOR("Andrew Lunn <andrew@lunn.ch>");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:tqmx86");
Annotation
- Immediate include surface: `linux/delay.h`, `linux/dmi.h`, `linux/i2c.h`, `linux/io.h`, `linux/mfd/core.h`, `linux/module.h`, `linux/platform_data/i2c-ocores.h`, `linux/platform_device.h`.
- Detected declarations: `enum tqmx86_i2c1_resource_type`, `enum tqmx86_gpio_resource_type`, `function tqmx86_board_id_to_clk_rate`, `function tqmx86_setup_irq`, `function tqmx86_probe`, `function tqmx86_create_platform_device`, `function tqmx86_init`, `module init tqmx86_init`.
- Atlas domain: Driver Families / drivers/mfd.
- 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.