drivers/usb/host/ohci-omap.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/ohci-omap.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/ohci-omap.c- Extension
.c- Size
- 11090 bytes
- Lines
- 429
- 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/gpio/consumer.hlinux/io.hlinux/jiffies.hlinux/kernel.hlinux/module.hlinux/usb/otg.hlinux/platform_device.hlinux/platform_data/usb-omap1.hlinux/soc/ti/omap1-usb.hlinux/soc/ti/omap1-mux.hlinux/soc/ti/omap1-soc.hlinux/soc/ti/omap1-io.hlinux/signal.hlinux/usb.hlinux/usb/hcd.hohci.hasm/io.hasm/mach-types.h
Detected Declarations
struct ohci_omap_privfunction omap_ohci_clock_powerfunction start_hnpfunction ohci_omap_resetfunction startfunction ohci_hcd_omap_probefunction ohci_omap_suspendfunction ohci_omap_resumefunction ohci_omap_initfunction ohci_omap_cleanupmodule init ohci_omap_init
Annotated Snippet
module_init(ohci_omap_init);
static void __exit ohci_omap_cleanup(void)
{
platform_driver_unregister(&ohci_hcd_omap_driver);
}
module_exit(ohci_omap_cleanup);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_ALIAS("platform:ohci");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/clk.h`, `linux/dma-mapping.h`, `linux/err.h`, `linux/gpio/consumer.h`, `linux/io.h`, `linux/jiffies.h`, `linux/kernel.h`, `linux/module.h`.
- Detected declarations: `struct ohci_omap_priv`, `function omap_ohci_clock_power`, `function start_hnp`, `function ohci_omap_reset`, `function start`, `function ohci_hcd_omap_probe`, `function ohci_omap_suspend`, `function ohci_omap_resume`, `function ohci_omap_init`, `function ohci_omap_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.