drivers/usb/host/ehci-st.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/ehci-st.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/ehci-st.c- Extension
.c- Size
- 8154 bytes
- Lines
- 353
- 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/err.hlinux/kernel.hlinux/hrtimer.hlinux/io.hlinux/module.hlinux/of.hlinux/phy/phy.hlinux/platform_device.hlinux/reset.hlinux/usb.hlinux/usb/hcd.hlinux/usb/ehci_pdriver.hlinux/pinctrl/consumer.hehci.h
Detected Declarations
struct st_ehci_platform_privfunction st_ehci_platform_resetfunction st_ehci_platform_power_onfunction st_ehci_platform_power_offfunction st_ehci_platform_probefunction st_ehci_platform_removefunction st_ehci_suspendfunction st_ehci_resumefunction ehci_platform_initfunction ehci_platform_cleanupmodule init ehci_platform_init
Annotated Snippet
module_init(ehci_platform_init);
static void __exit ehci_platform_cleanup(void)
{
platform_driver_unregister(&ehci_platform_driver);
}
module_exit(ehci_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/err.h`, `linux/kernel.h`, `linux/hrtimer.h`, `linux/io.h`, `linux/module.h`, `linux/of.h`.
- Detected declarations: `struct st_ehci_platform_priv`, `function st_ehci_platform_reset`, `function st_ehci_platform_power_on`, `function st_ehci_platform_power_off`, `function st_ehci_platform_probe`, `function st_ehci_platform_remove`, `function st_ehci_suspend`, `function st_ehci_resume`, `function ehci_platform_init`, `function ehci_platform_cleanup`.
- 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.