drivers/media/usb/em28xx/em28xx-video.c
Source file repositories/reference/linux-study-clean/drivers/media/usb/em28xx/em28xx-video.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/usb/em28xx/em28xx-video.c- Extension
.c- Size
- 83571 bytes
- Lines
- 3106
- 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.
- 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
em28xx.hlinux/init.hlinux/list.hlinux/module.hlinux/kernel.hlinux/bitmap.hlinux/usb.hlinux/i2c.hlinux/mm.hlinux/mutex.hlinux/slab.hem28xx-v4l.hmedia/v4l2-common.hmedia/v4l2-ioctl.hmedia/v4l2-event.hmedia/drv-intf/msp3400.hmedia/tuner.h
Detected Declarations
function norm_maxwfunction norm_maxhfunction em28xx_vbi_supportedfunction em28xx_analogtv_supportedfunction em28xx_wake_i2cfunction em28xx_colorlevels_set_defaultfunction em28xx_set_outfmtfunction em28xx_accumulator_setfunction em28xx_capture_area_setfunction em28xx_scaler_setfunction em28xx_resolution_setfunction em2828X_decoder_set_stdfunction em28xx_set_alternatefunction finish_bufferfunction em28xx_copy_videofunction em28xx_copy_vbifunction print_err_statusfunction finish_field_prepare_nextfunction process_frame_data_em28xxfunction process_frame_data_em25xxfunction em28xx_urb_data_copyfunction get_resourcefunction res_getfunction res_freefunction em28xx_v4l2_media_releasefunction em28xx_enable_analog_tunerfunction em28xx_v4l2_create_entitiesfunction queue_setupfunction buffer_preparefunction em28xx_start_analog_streamingfunction em28xx_stop_streamingfunction em28xx_stop_vbi_streamingfunction buffer_queuefunction em28xx_vb2_setupfunction video_muxfunction em28xx_ctrl_notifyfunction em28xx_s_ctrlfunction size_to_scalefunction scale_to_sizefunction vidioc_g_fmt_vid_capfunction vidioc_try_fmt_vid_capfunction em28xx_set_video_formatfunction vidioc_s_fmt_vid_capfunction vidioc_g_stdfunction vidioc_querystdfunction vidioc_s_stdfunction vidioc_g_parmfunction vidioc_s_parm
Annotated Snippet
module_init(em28xx_video_register);
module_exit(em28xx_video_unregister);
Annotation
- Immediate include surface: `em28xx.h`, `linux/init.h`, `linux/list.h`, `linux/module.h`, `linux/kernel.h`, `linux/bitmap.h`, `linux/usb.h`, `linux/i2c.h`.
- Detected declarations: `function norm_maxw`, `function norm_maxh`, `function em28xx_vbi_supported`, `function em28xx_analogtv_supported`, `function em28xx_wake_i2c`, `function em28xx_colorlevels_set_default`, `function em28xx_set_outfmt`, `function em28xx_accumulator_set`, `function em28xx_capture_area_set`, `function em28xx_scaler_set`.
- 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.
- 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.