drivers/usb/host/ohci-da8xx.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/ohci-da8xx.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/ohci-da8xx.c- Extension
.c- Size
- 13025 bytes
- Lines
- 564
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/clk.hlinux/gpio/consumer.hlinux/io.hlinux/interrupt.hlinux/jiffies.hlinux/kernel.hlinux/module.hlinux/of.hlinux/platform_device.hlinux/phy/phy.hlinux/regulator/consumer.hlinux/usb.hlinux/usb/hcd.hlinux/unaligned.hohci.h
Detected Declarations
struct da8xx_ohci_hcdfunction ohci_da8xx_enablefunction ohci_da8xx_disablefunction ohci_da8xx_set_powerfunction ohci_da8xx_get_powerfunction ohci_da8xx_get_ocifunction ohci_da8xx_has_set_powerfunction ohci_da8xx_has_ocifunction ohci_da8xx_regulator_eventfunction ohci_da8xx_oc_threadfunction ohci_da8xx_register_notifyfunction ohci_da8xx_resetfunction ohci_da8xx_hub_status_datafunction ohci_da8xx_hub_controlfunction ohci_da8xx_probefunction ohci_da8xx_removefunction ohci_da8xx_suspendfunction ohci_da8xx_resumefunction ohci_da8xx_initfunction ohci_da8xx_exitmodule init ohci_da8xx_init
Annotated Snippet
module_init(ohci_da8xx_init);
static void __exit ohci_da8xx_exit(void)
{
platform_driver_unregister(&ohci_hcd_da8xx_driver);
}
module_exit(ohci_da8xx_exit);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:" DRV_NAME);
Annotation
- Immediate include surface: `linux/clk.h`, `linux/gpio/consumer.h`, `linux/io.h`, `linux/interrupt.h`, `linux/jiffies.h`, `linux/kernel.h`, `linux/module.h`, `linux/of.h`.
- Detected declarations: `struct da8xx_ohci_hcd`, `function ohci_da8xx_enable`, `function ohci_da8xx_disable`, `function ohci_da8xx_set_power`, `function ohci_da8xx_get_power`, `function ohci_da8xx_get_oci`, `function ohci_da8xx_has_set_power`, `function ohci_da8xx_has_oci`, `function ohci_da8xx_regulator_event`, `function ohci_da8xx_oc_thread`.
- Atlas domain: Driver Families / drivers/usb.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.