drivers/media/usb/au0828/au0828-core.c
Source file repositories/reference/linux-study-clean/drivers/media/usb/au0828/au0828-core.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/usb/au0828/au0828-core.c- Extension
.c- Size
- 21869 bytes
- Lines
- 849
- 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
au0828.hau8522.hlinux/module.hlinux/slab.hlinux/videodev2.hmedia/v4l2-common.hlinux/mutex.hmedia/tuner.h
Detected Declarations
function au0828_readregfunction au0828_writeregfunction send_control_msgfunction recv_control_msgfunction au0828_unregister_media_devicefunction au0828_usb_releasefunction au0828_usb_disconnectfunction au0828_media_device_initfunction au0828_media_graph_notifyfunction media_device_for_each_entityfunction au0828_is_link_shareablefunction au0828_enable_sourcefunction sourcefunction list_for_each_entryfunction au0828_disable_sourcefunction _closefunction au0828_media_device_registerfunction list_for_each_entryfunction au0828_usb_probefunction au0828_suspendfunction au0828_resumefunction au0828_initfunction au0828_exitmodule init au0828_init
Annotated Snippet
module_init(au0828_init);
module_exit(au0828_exit);
MODULE_DESCRIPTION("Driver for Auvitek AU0828 based products");
MODULE_AUTHOR("Steven Toth <stoth@linuxtv.org>");
MODULE_LICENSE("GPL");
MODULE_VERSION("0.0.3");
Annotation
- Immediate include surface: `au0828.h`, `au8522.h`, `linux/module.h`, `linux/slab.h`, `linux/videodev2.h`, `media/v4l2-common.h`, `linux/mutex.h`, `media/tuner.h`.
- Detected declarations: `function au0828_readreg`, `function au0828_writereg`, `function send_control_msg`, `function recv_control_msg`, `function au0828_unregister_media_device`, `function au0828_usb_release`, `function au0828_usb_disconnect`, `function au0828_media_device_init`, `function au0828_media_graph_notify`, `function media_device_for_each_entity`.
- 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.