drivers/media/usb/em28xx/em28xx-input.c
Source file repositories/reference/linux-study-clean/drivers/media/usb/em28xx/em28xx-input.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/usb/em28xx/em28xx-input.c- Extension
.c- Size
- 23474 bytes
- Lines
- 935
- 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
em28xx.hlinux/module.hlinux/init.hlinux/delay.hlinux/interrupt.hlinux/usb.hlinux/usb/input.hlinux/slab.hlinux/bitrev.h
Detected Declarations
struct em28xx_ir_poll_resultstruct em28xx_IRfunction em28xx_get_key_terratecfunction em28xx_get_key_em_haupfunction em28xx_get_key_pinnacle_usb_greyfunction em28xx_get_key_winfast_usbii_deluxefunction default_polling_getkeyfunction em2874_polling_getkeyfunction Addressfunction em28xx_i2c_ir_handle_keyfunction em28xx_ir_handle_keyfunction em28xx_ir_workfunction em28xx_ir_startfunction em28xx_ir_stopfunction em2860_ir_change_protocolfunction em2874_ir_change_protocolfunction em28xx_ir_change_protocolfunction em28xx_probe_i2c_irfunction em28xx_query_buttonsfunction em28xx_register_snapshot_buttonfunction em28xx_init_buttonsfunction em28xx_shutdown_buttonsfunction em28xx_ir_initfunction em28xx_ir_finifunction em28xx_ir_suspendfunction em28xx_ir_resumefunction em28xx_rc_registerfunction em28xx_rc_unregistermodule init em28xx_rc_register
Annotated Snippet
module_init(em28xx_rc_register);
module_exit(em28xx_rc_unregister);
Annotation
- Immediate include surface: `em28xx.h`, `linux/module.h`, `linux/init.h`, `linux/delay.h`, `linux/interrupt.h`, `linux/usb.h`, `linux/usb/input.h`, `linux/slab.h`.
- Detected declarations: `struct em28xx_ir_poll_result`, `struct em28xx_IR`, `function em28xx_get_key_terratec`, `function em28xx_get_key_em_haup`, `function em28xx_get_key_pinnacle_usb_grey`, `function em28xx_get_key_winfast_usbii_deluxe`, `function default_polling_getkey`, `function em2874_polling_getkey`, `function Address`, `function em28xx_i2c_ir_handle_key`.
- 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.