drivers/usb/host/ohci-pxa27x.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/ohci-pxa27x.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/ohci-pxa27x.c- Extension
.c- Size
- 16978 bytes
- Lines
- 608
- 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.
- 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/clk.hlinux/device.hlinux/dma-mapping.hlinux/io.hlinux/kernel.hlinux/module.hlinux/of_platform.hlinux/platform_data/usb-ohci-pxa27x.hlinux/platform_data/pxa2xx_udc.hlinux/platform_device.hlinux/regulator/consumer.hlinux/signal.hlinux/usb.hlinux/usb/hcd.hlinux/usb/otg.hlinux/soc/pxa/cpu.hohci.h
Detected Declarations
struct pxa27x_ohcifunction pxa27x_ohci_select_pmmfunction pxa27x_ohci_set_vbus_powerfunction pxa27x_ohci_hub_controlfunction pxa27x_setup_hcfunction pxa27x_reset_hcfunction pxa27x_start_hcfunction pxa27x_stop_hcfunction ohci_pxa_of_initfunction ohci_pxa_of_initfunction startfunction ohci_hcd_pxa27x_probefunction ohci_hcd_pxa27x_drv_suspendfunction ohci_hcd_pxa27x_drv_resumefunction ohci_pxa27x_initfunction ohci_pxa27x_cleanupmodule init ohci_pxa27x_init
Annotated Snippet
module_init(ohci_pxa27x_init);
static void __exit ohci_pxa27x_cleanup(void)
{
platform_driver_unregister(&ohci_hcd_pxa27x_driver);
}
module_exit(ohci_pxa27x_cleanup);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:pxa27x-ohci");
Annotation
- Immediate include surface: `linux/clk.h`, `linux/device.h`, `linux/dma-mapping.h`, `linux/io.h`, `linux/kernel.h`, `linux/module.h`, `linux/of_platform.h`, `linux/platform_data/usb-ohci-pxa27x.h`.
- Detected declarations: `struct pxa27x_ohci`, `function pxa27x_ohci_select_pmm`, `function pxa27x_ohci_set_vbus_power`, `function pxa27x_ohci_hub_control`, `function pxa27x_setup_hc`, `function pxa27x_reset_hc`, `function pxa27x_start_hc`, `function pxa27x_stop_hc`, `function ohci_pxa_of_init`, `function ohci_pxa_of_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.