drivers/usb/host/ohci-st.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/ohci-st.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/ohci-st.c- Extension
.c- Size
- 7445 bytes
- Lines
- 331
- Domain
- Driver Families
- Bucket
- drivers/usb
- 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/clk.hlinux/dma-mapping.hlinux/hrtimer.hlinux/io.hlinux/kernel.hlinux/module.hlinux/err.hlinux/phy/phy.hlinux/platform_device.hlinux/reset.hlinux/usb/ohci_pdriver.hlinux/usb.hlinux/usb/hcd.hohci.h
Detected Declarations
struct st_ohci_platform_privfunction st_ohci_platform_power_onfunction st_ohci_platform_power_offfunction st_ohci_platform_probefunction st_ohci_platform_removefunction st_ohci_suspendfunction st_ohci_resumefunction ohci_platform_initfunction ohci_platform_cleanupmodule init ohci_platform_init
Annotated Snippet
module_init(ohci_platform_init);
static void __exit ohci_platform_cleanup(void)
{
platform_driver_unregister(&ohci_platform_driver);
}
module_exit(ohci_platform_cleanup);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_AUTHOR("Peter Griffin <peter.griffin@linaro.org>");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/clk.h`, `linux/dma-mapping.h`, `linux/hrtimer.h`, `linux/io.h`, `linux/kernel.h`, `linux/module.h`, `linux/err.h`, `linux/phy/phy.h`.
- Detected declarations: `struct st_ohci_platform_priv`, `function st_ohci_platform_power_on`, `function st_ohci_platform_power_off`, `function st_ohci_platform_probe`, `function st_ohci_platform_remove`, `function st_ohci_suspend`, `function st_ohci_resume`, `function ohci_platform_init`, `function ohci_platform_cleanup`, `module init ohci_platform_init`.
- Atlas domain: Driver Families / drivers/usb.
- 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.