drivers/usb/host/ehci-fsl.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/ehci-fsl.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/ehci-fsl.c- Extension
.c- Size
- 19742 bytes
- Lines
- 733
- 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/kernel.hlinux/module.hlinux/types.hlinux/delay.hlinux/pm.hlinux/err.hlinux/usb.hlinux/usb/ehci_def.hlinux/usb/hcd.hlinux/usb/otg.hlinux/platform_device.hlinux/fsl_devices.hlinux/of.hlinux/io.hehci.hehci-fsl.h
Detected Declarations
struct ehci_fsl_privfunction fsl_ehci_drv_probefunction usb_phy_clk_validfunction ehci_fsl_setup_phyfunction ehci_fsl_usb_setupfunction ehci_fsl_reinitfunction ehci_fsl_setupfunction ehci_fsl_mpc512x_drv_suspendfunction ehci_fsl_mpc512x_drv_resumefunction ehci_fsl_mpc512x_drv_suspendfunction ehci_fsl_mpc512x_drv_resumefunction ehci_fsl_drv_suspendfunction ehci_fsl_drv_resumefunction ehci_fsl_drv_restorefunction ehci_start_port_resetfunction usb_hcd_fsl_probefunction ehci_fsl_initfunction ehci_fsl_cleanupmodule init ehci_fsl_init
Annotated Snippet
module_init(ehci_fsl_init);
static void __exit ehci_fsl_cleanup(void)
{
platform_driver_unregister(&ehci_fsl_driver);
}
module_exit(ehci_fsl_cleanup);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:" DRV_NAME);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/types.h`, `linux/delay.h`, `linux/pm.h`, `linux/err.h`, `linux/usb.h`, `linux/usb/ehci_def.h`.
- Detected declarations: `struct ehci_fsl_priv`, `function fsl_ehci_drv_probe`, `function usb_phy_clk_valid`, `function ehci_fsl_setup_phy`, `function ehci_fsl_usb_setup`, `function ehci_fsl_reinit`, `function ehci_fsl_setup`, `function ehci_fsl_mpc512x_drv_suspend`, `function ehci_fsl_mpc512x_drv_resume`, `function ehci_fsl_mpc512x_drv_suspend`.
- 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.