drivers/media/pci/saa7134/saa7134-go7007.c
Source file repositories/reference/linux-study-clean/drivers/media/pci/saa7134/saa7134-go7007.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/pci/saa7134/saa7134-go7007.c- Extension
.c- Size
- 14463 bytes
- Lines
- 521
- 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.
- 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
saa7134.hsaa7134-reg.hlinux/module.hlinux/kernel.hlinux/init.hlinux/spinlock.hlinux/wait.hlinux/list.hlinux/slab.hlinux/time.hlinux/mm.hlinux/usb.hlinux/i2c.hasm/byteorder.hmedia/v4l2-common.hmedia/v4l2-device.hmedia/v4l2-subdev.hgo7007-priv.h
Detected Declarations
struct saa7134_go7007enum hpi_addressenum gpio_commandfunction gpio_writefunction gpio_readfunction saa7134_go7007_interface_resetfunction saa7134_go7007_write_interruptfunction saa7134_go7007_read_interruptfunction saa7134_go7007_irq_ts_donefunction saa7134_go7007_stream_startfunction saa7134_go7007_stream_stopfunction saa7134_go7007_send_firmwarefunction saa7134_go7007_s_stdfunction saa7134_go7007_initfunction saa7134_go7007_finifunction saa7134_go7007_mod_initfunction saa7134_go7007_mod_cleanupmodule init saa7134_go7007_mod_init
Annotated Snippet
module_init(saa7134_go7007_mod_init);
module_exit(saa7134_go7007_mod_cleanup);
MODULE_DESCRIPTION("go7007 support for saa7134 based TV cards");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `saa7134.h`, `saa7134-reg.h`, `linux/module.h`, `linux/kernel.h`, `linux/init.h`, `linux/spinlock.h`, `linux/wait.h`, `linux/list.h`.
- Detected declarations: `struct saa7134_go7007`, `enum hpi_address`, `enum gpio_command`, `function gpio_write`, `function gpio_read`, `function saa7134_go7007_interface_reset`, `function saa7134_go7007_write_interrupt`, `function saa7134_go7007_read_interrupt`, `function saa7134_go7007_irq_ts_done`, `function saa7134_go7007_stream_start`.
- Atlas domain: Driver Families / drivers/media.
- 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.