drivers/media/usb/dvb-usb/af9005.c
Source file repositories/reference/linux-study-clean/drivers/media/usb/dvb-usb/af9005.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/usb/dvb-usb/af9005.c- Extension
.c- Size
- 27887 bytes
- Lines
- 1140
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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
af9005.h
Detected Declarations
struct af9005_device_statefunction af9005_generic_read_writefunction af9005_read_ofdm_registerfunction af9005_read_ofdm_registersfunction af9005_write_ofdm_registerfunction af9005_write_ofdm_registersfunction af9005_read_register_bitsfunction af9005_write_register_bitsfunction af9005_usb_read_tuner_registersfunction af9005_usb_write_tuner_registersfunction af9005_write_tuner_registersfunction af9005_read_tuner_registersfunction af9005_i2c_writefunction af9005_i2c_readfunction af9005_i2c_xferfunction af9005_i2c_funcfunction af9005_send_commandfunction af9005_read_eepromfunction af9005_boot_packetfunction af9005_download_firmwarefunction af9005_led_controlfunction af9005_frontend_attachfunction af9005_rc_queryfunction af9005_power_ctrlfunction af9005_pid_filter_controlfunction af9005_pid_filterfunction af9005_identify_statefunction af9005_usb_probefunction af9005_usb_module_initfunction af9005_usb_module_exitmodule init af9005_usb_module_init
Annotated Snippet
module_init(af9005_usb_module_init);
module_exit(af9005_usb_module_exit);
MODULE_AUTHOR("Luca Olivetti <luca@ventoso.org>");
MODULE_DESCRIPTION("Driver for Afatech 9005 DVB-T USB1.1 stick");
MODULE_VERSION("1.0");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `af9005.h`.
- Detected declarations: `struct af9005_device_state`, `function af9005_generic_read_write`, `function af9005_read_ofdm_register`, `function af9005_read_ofdm_registers`, `function af9005_write_ofdm_register`, `function af9005_write_ofdm_registers`, `function af9005_read_register_bits`, `function af9005_write_register_bits`, `function af9005_usb_read_tuner_registers`, `function af9005_usb_write_tuner_registers`.
- Atlas domain: Driver Families / drivers/media.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.