drivers/media/pci/ttpci/budget-ci.c
Source file repositories/reference/linux-study-clean/drivers/media/pci/ttpci/budget-ci.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/pci/ttpci/budget-ci.c- Extension
.c- Size
- 44175 bytes
- Lines
- 1576
- 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/module.hlinux/errno.hlinux/slab.hlinux/interrupt.hlinux/spinlock.hlinux/workqueue.hmedia/rc-core.hbudget.hmedia/dvb_ca_en50221.hstv0299.hstv0297.htda1004x.hstb0899_drv.hstb0899_reg.hstb0899_cfg.hstb6100.hstb6100_cfg.hlnbp21.hbsbe1.hbsru6.htda1002x.htda827x.hbsbe1-d01a.h
Detected Declarations
struct budget_ci_irstruct budget_cifunction msp430_ir_interruptfunction msp430_ir_initfunction msp430_ir_deinitfunction ciintf_read_attribute_memfunction ciintf_write_attribute_memfunction ciintf_read_cam_controlfunction ciintf_write_cam_controlfunction ciintf_slot_resetfunction ciintf_slot_shutdownfunction ciintf_slot_ts_enablefunction ciintf_interruptfunction ciintf_poll_slot_statusfunction ciintf_initfunction ciintf_deinitfunction budget_ci_irqfunction philips_su1278_tt_set_symbol_ratefunction philips_su1278_tt_tuner_set_paramsfunction philips_tdm1316l_tuner_initfunction philips_tdm1316l_tuner_set_paramsfunction philips_tdm1316l_request_firmwarefunction dvbc_philips_tdm1316l_tuner_set_paramsfunction frontend_initfunction budget_ci_attachfunction budget_ci_detachfunction budget_ci_initfunction budget_ci_exitmodule init budget_ci_init
Annotated Snippet
module_init(budget_ci_init);
module_exit(budget_ci_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Michael Hunold, Jack Thomasson, Andrew de Quincey, others");
MODULE_DESCRIPTION("driver for the SAA7146 based so-called budget PCI DVB cards w/ CI-module produced by Siemens, Technotrend, Hauppauge");
Annotation
- Immediate include surface: `linux/module.h`, `linux/errno.h`, `linux/slab.h`, `linux/interrupt.h`, `linux/spinlock.h`, `linux/workqueue.h`, `media/rc-core.h`, `budget.h`.
- Detected declarations: `struct budget_ci_ir`, `struct budget_ci`, `function msp430_ir_interrupt`, `function msp430_ir_init`, `function msp430_ir_deinit`, `function ciintf_read_attribute_mem`, `function ciintf_write_attribute_mem`, `function ciintf_read_cam_control`, `function ciintf_write_cam_control`, `function ciintf_slot_reset`.
- 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.