drivers/usb/host/xhci-pci-renesas.c
Source file repositories/reference/linux-study-clean/drivers/usb/host/xhci-pci-renesas.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/host/xhci-pci-renesas.c- Extension
.c- Size
- 16811 bytes
- Lines
- 667
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/acpi.hlinux/firmware.hlinux/module.hlinux/pci.hlinux/slab.hlinux/unaligned.hxhci.hxhci-trace.hxhci-pci.h
Detected Declarations
function renesas_fw_download_imagefunction renesas_fw_verifyfunction renesas_check_romfunction renesas_check_rom_statefunction renesas_fw_check_runningfunction renesas_fw_downloadfunction renesas_rom_erasefunction renesas_setup_romfunction renesas_load_fwfunction renesas_xhci_check_request_fwfunction xhci_pci_renesas_probe
Annotated Snippet
static struct pci_driver xhci_renesas_pci_driver = {
.name = "xhci-pci-renesas",
.id_table = pci_ids,
.probe = xhci_pci_renesas_probe,
.remove = xhci_pci_remove,
.shutdown = usb_hcd_pci_shutdown,
.driver = {
.pm = pm_ptr(&usb_hcd_pci_pm_ops),
},
};
module_pci_driver(xhci_renesas_pci_driver);
MODULE_DESCRIPTION("Renesas xHCI PCI Host Controller Driver");
MODULE_FIRMWARE(RENESAS_FW_NAME);
MODULE_IMPORT_NS("xhci");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/firmware.h`, `linux/module.h`, `linux/pci.h`, `linux/slab.h`, `linux/unaligned.h`, `xhci.h`, `xhci-trace.h`.
- Detected declarations: `function renesas_fw_download_image`, `function renesas_fw_verify`, `function renesas_check_rom`, `function renesas_check_rom_state`, `function renesas_fw_check_running`, `function renesas_fw_download`, `function renesas_rom_erase`, `function renesas_setup_rom`, `function renesas_load_fw`, `function renesas_xhci_check_request_fw`.
- Atlas domain: Driver Families / drivers/usb.
- Implementation status: pattern 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.