drivers/mmc/host/sdhci-pci-core.c
Source file repositories/reference/linux-study-clean/drivers/mmc/host/sdhci-pci-core.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/mmc/host/sdhci-pci-core.c- Extension
.c- Size
- 61934 bytes
- Lines
- 2402
- Domain
- Driver Families
- Bucket
- drivers/mmc
- 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.
- 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/bitfield.hlinux/string.hlinux/delay.hlinux/highmem.hlinux/module.hlinux/pci.hlinux/dma-mapping.hlinux/slab.hlinux/device.hlinux/scatterlist.hlinux/io.hlinux/iopoll.hlinux/gpio/machine.hlinux/pm_runtime.hlinux/pm_qos.hlinux/debugfs.hlinux/acpi.hlinux/dmi.hlinux/mmc/host.hlinux/mmc/mmc.hlinux/mmc/slot-gpio.hasm/iosf_mbi.hcqhci.hsdhci.hsdhci-cqhci.hsdhci-pci.hsdhci-uhs2.h
Detected Declarations
struct intel_hostenum amd_chipset_genfunction sdhci_pci_init_wakeupfunction sdhci_pci_suspend_hostfunction sdhci_pci_resume_hostfunction sdhci_cqhci_suspendfunction sdhci_cqhci_resumefunction sdhci_pci_runtime_suspend_hostfunction sdhci_pci_runtime_resume_hostfunction sdhci_cqhci_runtime_suspendfunction sdhci_cqhci_runtime_resumefunction sdhci_cqhci_irqfunction sdhci_pci_dumpregsfunction ricoh_probefunction ricoh_mmc_probe_slotfunction ricoh_mmc_resumefunction ene_714_set_iosfunction ene_714_probe_slotfunction mrst_hc_probe_slotfunction mrst_hc_probefunction pch_hc_probe_slotfunction mfd_emmc_probe_slotfunction mfd_sdio_probe_slotfunction byt_ocp_settingfunction byt_ocp_settingfunction __intel_dsmfunction intel_dsmfunction intel_dsm_initfunction sdhci_pci_int_hw_resetfunction intel_select_drive_strengthfunction bxt_get_cdfunction mrfld_get_cdfunction sdhci_intel_set_powerfunction sdhci_intel_set_uhs_signalingfunction intel_hs400_enhanced_strobefunction intel_start_signal_voltage_switchfunction sdhci_intel_set_clockfunction byt_read_dsmfunction intel_execute_tuningfunction intel_cache_ltrfunction intel_ltr_setfunction intel_use_ltrfunction intel_ltr_exposefunction intel_ltr_hidefunction byt_probe_slotfunction byt_add_debugfsfunction byt_add_hostfunction byt_remove_slot
Annotated Snippet
static struct pci_driver sdhci_driver = {
.name = "sdhci-pci",
.id_table = pci_ids,
.probe = sdhci_pci_probe,
.remove = sdhci_pci_remove,
.driver = {
.pm = &sdhci_pci_pm_ops,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
},
};
module_pci_driver(sdhci_driver);
MODULE_AUTHOR("Pierre Ossman <pierre@ossman.eu>");
MODULE_DESCRIPTION("Secure Digital Host Controller Interface PCI driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/bitfield.h`, `linux/string.h`, `linux/delay.h`, `linux/highmem.h`, `linux/module.h`, `linux/pci.h`, `linux/dma-mapping.h`, `linux/slab.h`.
- Detected declarations: `struct intel_host`, `enum amd_chipset_gen`, `function sdhci_pci_init_wakeup`, `function sdhci_pci_suspend_host`, `function sdhci_pci_resume_host`, `function sdhci_cqhci_suspend`, `function sdhci_cqhci_resume`, `function sdhci_pci_runtime_suspend_host`, `function sdhci_pci_runtime_resume_host`, `function sdhci_cqhci_runtime_suspend`.
- Atlas domain: Driver Families / drivers/mmc.
- 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.