drivers/bus/ti-sysc.c
Source file repositories/reference/linux-study-clean/drivers/bus/ti-sysc.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/bus/ti-sysc.c- Extension
.c- Size
- 85853 bytes
- Lines
- 3348
- Domain
- Driver Families
- Bucket
- drivers/bus
- 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/io.hlinux/clk.hlinux/clkdev.hlinux/cpu_pm.hlinux/delay.hlinux/list.hlinux/module.hlinux/platform_device.hlinux/pm_domain.hlinux/pm_runtime.hlinux/reset.hlinux/of_address.hlinux/of_platform.hlinux/slab.hlinux/sys_soc.hlinux/timekeeping.hlinux/iopoll.hlinux/platform_data/ti-sysc.hdt-bindings/bus/ti-sysc.h
Detected Declarations
struct sysc_addressstruct sysc_modulestruct sysc_soc_infostruct syscstruct sysc_revision_quirkstruct sysc_dts_quirkenum sysc_socenum sysc_clocksfunction Copyrightfunction sysc_writefunction sysc_readfunction sysc_opt_clks_neededfunction sysc_read_revisionfunction sysc_read_sysconfigfunction sysc_read_sysstatusfunction sysc_poll_reset_sysstatusfunction sysc_poll_reset_sysconfigfunction sysc_wait_softresetfunction sysc_add_named_clock_from_childfunction sysc_init_ext_opt_clockfunction sysc_get_one_clockfunction sysc_get_clocksfunction of_property_for_each_stringfunction sysc_enable_main_clocksfunction sysc_disable_main_clocksfunction sysc_enable_opt_clocksfunction sysc_disable_opt_clocksfunction sysc_clkdm_deny_idlefunction sysc_clkdm_allow_idlefunction sysc_rstctrl_reset_deassertfunction sysc_parse_and_check_child_rangefunction for_each_of_rangefunction sysc_init_stdout_pathfunction sysc_check_quirk_stdoutfunction sysc_check_one_childfunction sysc_check_childrenfunction sysc_check_quirk_16bitfunction sysc_parse_onefunction sysc_parse_registersfunction sysc_check_registersfunction sysc_ioremapfunction sysc_map_and_check_registersfunction sysc_show_revfunction sysc_show_regfunction sysc_show_namefunction sysc_show_registersfunction sysc_write_sysconfigfunction sysc_enable_module
Annotated Snippet
module_init(sysc_init);
static void __exit sysc_exit(void)
{
bus_unregister_notifier(&platform_bus_type, &sysc_nb);
platform_driver_unregister(&sysc_driver);
sysc_cleanup_static_data();
}
module_exit(sysc_exit);
MODULE_DESCRIPTION("TI sysc interconnect target driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/io.h`, `linux/clk.h`, `linux/clkdev.h`, `linux/cpu_pm.h`, `linux/delay.h`, `linux/list.h`, `linux/module.h`, `linux/platform_device.h`.
- Detected declarations: `struct sysc_address`, `struct sysc_module`, `struct sysc_soc_info`, `struct sysc`, `struct sysc_revision_quirk`, `struct sysc_dts_quirk`, `enum sysc_soc`, `enum sysc_clocks`, `function Copyright`, `function sysc_write`.
- Atlas domain: Driver Families / drivers/bus.
- 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.