drivers/media/pci/intel/ipu6/ipu6.c
Source file repositories/reference/linux-study-clean/drivers/media/pci/intel/ipu6/ipu6.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/pci/intel/ipu6/ipu6.c- Extension
.c- Size
- 23407 bytes
- Lines
- 849
- Domain
- Driver Families
- Bucket
- drivers/media
- 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.
- 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/bits.hlinux/dma-mapping.hlinux/err.hlinux/firmware.hlinux/kernel.hlinux/interrupt.hlinux/io.hlinux/list.hlinux/module.hlinux/pci-ats.hlinux/pm_runtime.hlinux/property.hlinux/scatterlist.hlinux/slab.hlinux/types.hmedia/ipu-bridge.hmedia/ipu6-pci-table.hipu6.hipu6-bus.hipu6-buttress.hipu6-cpd.hipu6-isys.hipu6-mmu.hipu6-platform-buttress-regs.hipu6-platform-isys-csi2-reg.hipu6-platform-regs.h
Detected Declarations
struct ipu6_cell_programfunction ipu6_pkg_dir_configure_spcfunction ipu6_configure_spcfunction ipu6_internal_pdata_initfunction ipu6_isys_initfunction ipu6_psys_initfunction ipu6_pci_config_setupfunction ipu6_configure_vc_mechanismfunction ipu6_pci_probefunction ipu6_pci_removefunction ipu6_pci_reset_preparefunction ipu6_pci_reset_donefunction transitionsfunction ipu6_resumefunction ipu6_runtime_resume
Annotated Snippet
static struct pci_driver ipu6_pci_driver = {
.name = IPU6_NAME,
.id_table = ipu6_pci_tbl,
.probe = ipu6_pci_probe,
.remove = ipu6_pci_remove,
.driver = {
.pm = pm_ptr(&ipu6_pm_ops),
},
.err_handler = &pci_err_handlers,
};
module_pci_driver(ipu6_pci_driver);
MODULE_IMPORT_NS("INTEL_IPU_BRIDGE");
MODULE_AUTHOR("Sakari Ailus <sakari.ailus@linux.intel.com>");
MODULE_AUTHOR("Tianshu Qiu <tian.shu.qiu@intel.com>");
MODULE_AUTHOR("Bingbu Cao <bingbu.cao@intel.com>");
MODULE_AUTHOR("Qingwu Zhang <qingwu.zhang@intel.com>");
MODULE_AUTHOR("Yunliang Ding <yunliang.ding@intel.com>");
MODULE_AUTHOR("Hongju Wang");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Intel IPU6 PCI driver");
Annotation
- Immediate include surface: `linux/bitfield.h`, `linux/bits.h`, `linux/dma-mapping.h`, `linux/err.h`, `linux/firmware.h`, `linux/kernel.h`, `linux/interrupt.h`, `linux/io.h`.
- Detected declarations: `struct ipu6_cell_program`, `function ipu6_pkg_dir_configure_spc`, `function ipu6_configure_spc`, `function ipu6_internal_pdata_init`, `function ipu6_isys_init`, `function ipu6_psys_init`, `function ipu6_pci_config_setup`, `function ipu6_configure_vc_mechanism`, `function ipu6_pci_probe`, `function ipu6_pci_remove`.
- Atlas domain: Driver Families / drivers/media.
- Implementation status: pattern 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.