drivers/pci/controller/dwc/pci-imx6.c
Source file repositories/reference/linux-study-clean/drivers/pci/controller/dwc/pci-imx6.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pci/controller/dwc/pci-imx6.c- Extension
.c- Size
- 60299 bytes
- Lines
- 2118
- Domain
- Representative Device Path
- Bucket
- PCIe NVMe Storage Path
- Inferred role
- Representative Device Path: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Part of the selected hardware vertical slice: PCI discovery, driver binding, NVMe queues, block requests, DMA, interrupts, and completion.
- Part of the selected hardware vertical slice: PCI discovery, driver binding, NVMe queues, block requests, DMA, interrupts, and completion.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- 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/bitfield.hlinux/clk.hlinux/delay.hlinux/gpio/consumer.hlinux/kernel.hlinux/mfd/syscon.hlinux/mfd/syscon/imx6q-iomuxc-gpr.hlinux/mfd/syscon/imx7-iomuxc-gpr.hlinux/module.hlinux/of.hlinux/of_address.hlinux/pci.hlinux/platform_device.hlinux/regmap.hlinux/regulator/consumer.hlinux/resource.hlinux/signal.hlinux/types.hlinux/interrupt.hlinux/reset.hlinux/phy/pcie.hlinux/phy/phy.hlinux/pm_domain.hlinux/pm_runtime.h../../pci.hpcie-designware.h
Detected Declarations
struct imx_pciestruct imx_pcie_drvdatastruct imx_lut_datastruct imx_pcieenum imx_pcie_variantsfunction imx_pcie_grp_offsetfunction imx95_pcie_init_phyfunction imx_pcie_configure_typefunction pcie_phy_poll_ackfunction pcie_phy_wait_ackfunction pcie_phy_readfunction pcie_phy_writefunction imx8mq_pcie_init_phyfunction imx_pcie_init_phyfunction imx6sx_pcie_init_phyfunction imx7d_pcie_wait_for_phy_pll_lockfunction imx95_pcie_wait_for_phy_pll_lockfunction imx_setup_phy_mpllfunction imx_pcie_reset_phyfunction imx6q_pcie_abort_handlerfunction imx_pcie_attach_pdfunction imx6sx_pcie_enable_ref_clkfunction imx6q_pcie_enable_ref_clkfunction imx8mm_pcie_clkreq_overridefunction imx8mm_pcie_enable_ref_clkfunction imx7d_pcie_enable_ref_clkfunction imx95_pcie_clkreq_overridefunction imx95_pcie_enable_ref_clkfunction imx8mm_pcie_clr_clkreq_overridefunction imx95_pcie_clr_clkreq_overridefunction imx_pcie_clk_enablefunction imx_pcie_clk_disablefunction imx6sx_pcie_core_resetfunction imx6qp_pcie_core_resetfunction imx6q_pcie_core_resetfunction imx7d_pcie_core_resetfunction ERR010728function imx95_pcie_core_resetfunction imx_pcie_assert_core_resetfunction imx_pcie_deassert_core_resetfunction imx_pcie_wait_for_speed_changefunction imx_pcie_ltssm_enablefunction imx_pcie_ltssm_disablefunction imx_pcie_start_linkfunction imx_pcie_stop_linkfunction imx_pcie_add_lutfunction imx_pcie_remove_lutfunction imx_pcie_add_lut_by_rid
Annotated Snippet
device_initcall(imx_pcie_init);
Annotation
- Immediate include surface: `linux/bitfield.h`, `linux/clk.h`, `linux/delay.h`, `linux/gpio/consumer.h`, `linux/kernel.h`, `linux/mfd/syscon.h`, `linux/mfd/syscon/imx6q-iomuxc-gpr.h`, `linux/mfd/syscon/imx7-iomuxc-gpr.h`.
- Detected declarations: `struct imx_pcie`, `struct imx_pcie_drvdata`, `struct imx_lut_data`, `struct imx_pcie`, `enum imx_pcie_variants`, `function imx_pcie_grp_offset`, `function imx95_pcie_init_phy`, `function imx_pcie_configure_type`, `function pcie_phy_poll_ack`, `function pcie_phy_wait_ack`.
- Atlas domain: Representative Device Path / PCIe NVMe Storage Path.
- Implementation status: integration implementation candidate.
- 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.