drivers/usb/host/xhci-plat.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/xhci-plat.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/xhci-plat.c- Extension
.c- Size
- 15690 bytes
- Lines
- 659
- 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/module.hlinux/pci.hlinux/of.hlinux/of_device.hlinux/platform_device.hlinux/usb/phy.hlinux/slab.hlinux/acpi.hlinux/usb/of.hlinux/reset.hlinux/usb/xhci-sideband.hxhci.hxhci-plat.hxhci-mvebu.h
Detected Declarations
function xhci_priv_plat_startfunction xhci_priv_init_quirkfunction xhci_priv_suspend_quirkfunction xhci_priv_resume_quirkfunction xhci_priv_post_resume_quirkfunction xhci_plat_quirksfunction xhci_plat_setupfunction xhci_plat_startfunction xhci_plat_probefunction xhci_generic_plat_probefunction xhci_plat_removefunction xhci_plat_suspend_commonfunction xhci_plat_suspendfunction xhci_plat_freezefunction xhci_plat_resume_commonfunction xhci_plat_resumefunction xhci_plat_thawfunction xhci_plat_restorefunction xhci_plat_runtime_suspendfunction xhci_plat_runtime_resumefunction xhci_plat_initfunction xhci_plat_exitmodule init xhci_plat_initexport xhci_plat_probeexport xhci_plat_removeexport xhci_plat_pm_ops
Annotated Snippet
module_init(xhci_plat_init);
static void __exit xhci_plat_exit(void)
{
platform_driver_unregister(&usb_generic_xhci_driver);
}
module_exit(xhci_plat_exit);
MODULE_DESCRIPTION("xHCI Platform Host Controller Driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/clk.h`, `linux/dma-mapping.h`, `linux/module.h`, `linux/pci.h`, `linux/of.h`, `linux/of_device.h`, `linux/platform_device.h`, `linux/usb/phy.h`.
- Detected declarations: `function xhci_priv_plat_start`, `function xhci_priv_init_quirk`, `function xhci_priv_suspend_quirk`, `function xhci_priv_resume_quirk`, `function xhci_priv_post_resume_quirk`, `function xhci_plat_quirks`, `function xhci_plat_setup`, `function xhci_plat_start`, `function xhci_plat_probe`, `function xhci_generic_plat_probe`.
- 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.