drivers/usb/host/uhci-hcd.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/uhci-hcd.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/uhci-hcd.c- Extension
.c- Size
- 25647 bytes
- Lines
- 936
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/module.hlinux/pci.hlinux/kernel.hlinux/init.hlinux/delay.hlinux/ioport.hlinux/slab.hlinux/errno.hlinux/unistd.hlinux/interrupt.hlinux/spinlock.hlinux/debugfs.hlinux/pm.hlinux/dmapool.hlinux/dma-mapping.hlinux/usb.hlinux/usb/hcd.hlinux/bitops.hlinux/dmi.hlinux/uaccess.hasm/io.hasm/irq.huhci-hcd.huhci-debug.cuhci-q.cuhci-hub.cuhci-pci.cuhci-grlib.cuhci-platform.c
Detected Declarations
function uhci_frame_skel_linkfunction finish_resetfunction uhci_hc_diedfunction check_and_reset_hcfunction uhci_generic_reset_hcfunction uhci_generic_check_and_reset_hcfunction configure_hcfunction resume_detect_interrupts_are_brokenfunction global_suspend_mode_is_brokenfunction suspend_rhfunction start_rhfunction wakeup_rhfunction uhci_irqfunction uhci_get_current_frame_numberfunction release_uhcifunction uhci_startfunction uhci_stopfunction uhci_rh_suspendfunction uhci_rh_resumefunction uhci_hcd_endpoint_disablefunction uhci_hcd_get_frame_numberfunction uhci_count_portsfunction uhci_hcd_initfunction uhci_hcd_cleanupmodule init uhci_hcd_init
Annotated Snippet
module_init(uhci_hcd_init);
module_exit(uhci_hcd_cleanup);
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/pci.h`, `linux/kernel.h`, `linux/init.h`, `linux/delay.h`, `linux/ioport.h`, `linux/slab.h`, `linux/errno.h`.
- Detected declarations: `function uhci_frame_skel_link`, `function finish_reset`, `function uhci_hc_died`, `function check_and_reset_hc`, `function uhci_generic_reset_hc`, `function uhci_generic_check_and_reset_hc`, `function configure_hc`, `function resume_detect_interrupts_are_broken`, `function global_suspend_mode_is_broken`, `function suspend_rh`.
- Atlas domain: Driver Families / drivers/usb.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.