drivers/usb/host/uhci-pci.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/uhci-pci.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/uhci-pci.c- Extension
.c- Size
- 8915 bytes
- Lines
- 319
- Domain
- Driver Families
- Bucket
- drivers/usb
- Inferred role
- Driver Families: operation-table or driver-model contract
- Status
- pattern 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.
- Defines an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
pci-quirks.h
Detected Declarations
function HCDfunction uhci_pci_check_and_reset_hcfunction uhci_pci_configure_hcfunction uhci_pci_resume_detect_interrupts_are_brokenfunction uhci_pci_global_suspend_mode_is_brokenfunction uhci_pci_initfunction uhci_shutdownfunction uhci_pci_suspendfunction uhci_pci_resumefunction uhci_pci_probe
Annotated Snippet
static struct pci_driver uhci_pci_driver = {
.name = hcd_name,
.id_table = uhci_pci_ids,
.probe = uhci_pci_probe,
.remove = usb_hcd_pci_remove,
.shutdown = uhci_shutdown,
#ifdef CONFIG_PM
.driver = {
.pm = &usb_hcd_pci_pm_ops
},
#endif
};
MODULE_SOFTDEP("pre: ehci_pci");
Annotation
- Immediate include surface: `pci-quirks.h`.
- Detected declarations: `function HCD`, `function uhci_pci_check_and_reset_hc`, `function uhci_pci_configure_hc`, `function uhci_pci_resume_detect_interrupts_are_broken`, `function uhci_pci_global_suspend_mode_is_broken`, `function uhci_pci_init`, `function uhci_shutdown`, `function uhci_pci_suspend`, `function uhci_pci_resume`, `function uhci_pci_probe`.
- Atlas domain: Driver Families / drivers/usb.
- Implementation status: pattern implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.