drivers/media/platform/ti/davinci/vpif.c
Source file repositories/reference/linux-study-clean/drivers/media/platform/ti/davinci/vpif.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/platform/ti/davinci/vpif.c- Extension
.c- Size
- 14773 bytes
- Lines
- 610
- Domain
- Driver Families
- Bucket
- drivers/media
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- 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/err.hlinux/init.hlinux/io.hlinux/irq.hlinux/kernel.hlinux/module.hlinux/of.hlinux/platform_device.hlinux/pm_runtime.hlinux/spinlock.hlinux/v4l2-dv-timings.hlinux/of_graph.hvpif.h
Detected Declarations
struct vpif_datastruct vpif_registersfunction vpif_wr_bitfunction vpif_set_mode_infofunction config_vpif_paramsfunction vpif_set_video_paramsfunction vpif_set_vbi_display_paramsfunction vpif_channel_getfidfunction vpif_pdev_releasefunction vpif_probefunction vpif_removefunction vpif_suspendfunction vpif_resumefunction vpif_exitfunction vpif_initmodule init vpif_initexport vpif_lockexport vpif_baseexport vpif_ch_paramsexport vpif_ch_params_countexport vpif_set_video_paramsexport vpif_set_vbi_display_paramsexport vpif_channel_getfid
Annotated Snippet
subsys_initcall(vpif_init);
module_exit(vpif_exit);
Annotation
- Immediate include surface: `linux/err.h`, `linux/init.h`, `linux/io.h`, `linux/irq.h`, `linux/kernel.h`, `linux/module.h`, `linux/of.h`, `linux/platform_device.h`.
- Detected declarations: `struct vpif_data`, `struct vpif_registers`, `function vpif_wr_bit`, `function vpif_set_mode_info`, `function config_vpif_params`, `function vpif_set_video_params`, `function vpif_set_vbi_display_params`, `function vpif_channel_getfid`, `function vpif_pdev_release`, `function vpif_probe`.
- Atlas domain: Driver Families / drivers/media.
- Implementation status: integration 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.