drivers/interconnect/core.c
Source file repositories/reference/linux-study-clean/drivers/interconnect/core.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/interconnect/core.c- Extension
.c- Size
- 29578 bytes
- Lines
- 1253
- Domain
- Driver Families
- Bucket
- drivers/interconnect
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/debugfs.hlinux/device.hlinux/idr.hlinux/init.hlinux/interconnect.hlinux/interconnect-provider.hlinux/list.hlinux/mutex.hlinux/slab.hlinux/of.hlinux/overflow.hinternal.htrace.h
Detected Declarations
function icc_summary_show_onefunction icc_summary_showfunction list_for_each_entryfunction list_for_each_entryfunction hlist_for_each_entryfunction icc_graph_show_linkfunction icc_graph_show_nodefunction icc_graph_showfunction list_for_each_entryfunction list_for_each_entry_safefunction aggregatefunction hlist_for_each_entryfunction apply_constraintsfunction icc_std_aggregatefunction of_icc_get_from_providerfunction devm_icc_releasefunction of_icc_get_by_indexfunction of_icc_getfunction icc_getfunction icc_set_tagfunction icc_get_namefunction icc_set_bwfunction __icc_enablefunction icc_enablefunction icc_disablefunction icc_putfunction icc_node_create_dynfunction icc_node_createfunction icc_node_destroyfunction icc_node_set_namefunction icc_link_nodesfunction icc_link_createfunction icc_node_addfunction icc_node_delfunction icc_nodes_removefunction list_for_each_entry_safe_reversefunction icc_provider_initfunction icc_provider_registerfunction icc_provider_deregisterfunction of_count_icc_providersfunction for_each_available_child_of_nodefunction icc_sync_statefunction list_for_each_entryfunction icc_initmodule init icc_initexport icc_std_aggregateexport of_icc_xlate_onecellexport of_icc_get_from_provider
Annotated Snippet
device_initcall(icc_init);
Annotation
- Immediate include surface: `linux/debugfs.h`, `linux/device.h`, `linux/idr.h`, `linux/init.h`, `linux/interconnect.h`, `linux/interconnect-provider.h`, `linux/list.h`, `linux/mutex.h`.
- Detected declarations: `function icc_summary_show_one`, `function icc_summary_show`, `function list_for_each_entry`, `function list_for_each_entry`, `function hlist_for_each_entry`, `function icc_graph_show_link`, `function icc_graph_show_node`, `function icc_graph_show`, `function list_for_each_entry`, `function list_for_each_entry_safe`.
- Atlas domain: Driver Families / drivers/interconnect.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.