drivers/media/usb/cx231xx/cx231xx-dvb.c
Source file repositories/reference/linux-study-clean/drivers/media/usb/cx231xx/cx231xx-dvb.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/usb/cx231xx/cx231xx-dvb.c- Extension
.c- Size
- 29744 bytes
- Lines
- 1176
- 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
cx231xx.hlinux/kernel.hlinux/slab.hmedia/dvbdev.hmedia/dmxdev.hmedia/dvb_demux.hmedia/dvb_net.hmedia/dvb_frontend.hmedia/v4l2-common.hmedia/tuner.hxc5000.hs5h1432.htda18271.hs5h1411.hlgdt3305.hsi2165.hsi2168.hmb86a20s.hsi2157.hlgdt3306a.hr820t.hmn88473.h
Detected Declarations
struct cx231xx_dvbfunction print_err_statusfunction dvb_isoc_copyfunction dvb_bulk_copyfunction start_streamingfunction stop_streamingfunction start_feedfunction stop_feedfunction cx231xx_dvb_bus_ctrlfunction attach_xc5000function cx231xx_set_analog_freqfunction cx231xx_reset_analog_tunerfunction register_dvbfunction unregister_dvbfunction dvb_initfunction dvb_finifunction cx231xx_dvb_registerfunction cx231xx_dvb_unregistermodule init cx231xx_dvb_register
Annotated Snippet
module_init(cx231xx_dvb_register);
module_exit(cx231xx_dvb_unregister);
Annotation
- Immediate include surface: `cx231xx.h`, `linux/kernel.h`, `linux/slab.h`, `media/dvbdev.h`, `media/dmxdev.h`, `media/dvb_demux.h`, `media/dvb_net.h`, `media/dvb_frontend.h`.
- Detected declarations: `struct cx231xx_dvb`, `function print_err_status`, `function dvb_isoc_copy`, `function dvb_bulk_copy`, `function start_streaming`, `function stop_streaming`, `function start_feed`, `function stop_feed`, `function cx231xx_dvb_bus_ctrl`, `function attach_xc5000`.
- 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.