drivers/staging/media/ipu7/ipu7.c
Source file repositories/reference/linux-study-clean/drivers/staging/media/ipu7/ipu7.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/ipu7/ipu7.c- Extension
.c- Size
- 61728 bytes
- Lines
- 2777
- Domain
- Driver Families
- Bucket
- drivers/staging
- 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/acpi.hlinux/bitfield.hlinux/bits.hlinux/bug.hlinux/dma-mapping.hlinux/err.hlinux/firmware.hlinux/kernel.hlinux/interrupt.hlinux/io.hlinux/list.hlinux/module.hlinux/pm_runtime.hlinux/property.hlinux/scatterlist.hlinux/slab.hlinux/types.hlinux/vmalloc.hmedia/ipu-bridge.habi/ipu7_fw_common_abi.hipu7.hipu7-bus.hipu7-buttress.hipu7-buttress-regs.hipu7-cpd.hipu7-dma.hipu7-isys-csi2-regs.hipu7-mmu.hipu7-platform-regs.h
Detected Declarations
function ipu_internal_pdata_initfunction ipu7_isys_check_fwnode_graphfunction ipu7_isys_initfunction ipu7_psys_initfunction ipu7_dump_fw_error_logfunction ipu7_pci_config_setupfunction ipu7_map_fw_code_regionfunction ipu7_unmap_fw_code_regionfunction ipu7_init_fw_code_region_by_sysfunction ipu7_init_fw_code_regionfunction ipu7_pci_probefunction ipu7_pci_removefunction ipu7_pci_reset_preparefunction ipu7_pci_reset_donefunction transitionsfunction ipu7_resumefunction ipu7_runtime_resume
Annotated Snippet
static struct pci_driver ipu7_pci_driver = {
.name = IPU_NAME,
.id_table = ipu7_pci_tbl,
.probe = ipu7_pci_probe,
.remove = ipu7_pci_remove,
.driver = {
.pm = &ipu7_pm_ops,
},
.err_handler = &pci_err_handlers,
};
module_pci_driver(ipu7_pci_driver);
MODULE_IMPORT_NS("INTEL_IPU_BRIDGE");
MODULE_AUTHOR("Bingbu Cao <bingbu.cao@intel.com>");
MODULE_AUTHOR("Tianshu Qiu <tian.shu.qiu@intel.com>");
MODULE_AUTHOR("Qingwu Zhang <qingwu.zhang@intel.com>");
MODULE_AUTHOR("Intel");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Intel ipu7 pci driver");
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/bitfield.h`, `linux/bits.h`, `linux/bug.h`, `linux/dma-mapping.h`, `linux/err.h`, `linux/firmware.h`, `linux/kernel.h`.
- Detected declarations: `function ipu_internal_pdata_init`, `function ipu7_isys_check_fwnode_graph`, `function ipu7_isys_init`, `function ipu7_psys_init`, `function ipu7_dump_fw_error_log`, `function ipu7_pci_config_setup`, `function ipu7_map_fw_code_region`, `function ipu7_unmap_fw_code_region`, `function ipu7_init_fw_code_region_by_sys`, `function ipu7_init_fw_code_region`.
- Atlas domain: Driver Families / drivers/staging.
- 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.