drivers/hid/hid-elo.c
Source file repositories/reference/linux-study-clean/drivers/hid/hid-elo.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/hid/hid-elo.c- Extension
.c- Size
- 7843 bytes
- Lines
- 318
- Domain
- Driver Families
- Bucket
- drivers/hid
- 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
linux/hid.hlinux/input.hlinux/module.hlinux/usb.hlinux/workqueue.hhid-ids.h
Detected Declarations
struct elo_privfunction elo_input_configuredfunction elo_process_datafunction elo_raw_eventfunction elo_smartset_send_getfunction elo_flush_smartset_responsesfunction elo_workfunction elo_broken_firmwarefunction elo_probefunction elo_removefunction elo_driver_initfunction elo_driver_exitmodule init elo_driver_init
Annotated Snippet
module_init(elo_driver_init);
static void __exit elo_driver_exit(void)
{
hid_unregister_driver(&elo_driver);
destroy_workqueue(wq);
}
module_exit(elo_driver_exit);
MODULE_AUTHOR("Jiri Slaby <jslaby@suse.cz>");
MODULE_DESCRIPTION("HID driver for ELO usb touchscreen 4000/4500");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/hid.h`, `linux/input.h`, `linux/module.h`, `linux/usb.h`, `linux/workqueue.h`, `hid-ids.h`.
- Detected declarations: `struct elo_priv`, `function elo_input_configured`, `function elo_process_data`, `function elo_raw_event`, `function elo_smartset_send_get`, `function elo_flush_smartset_responses`, `function elo_work`, `function elo_broken_firmware`, `function elo_probe`, `function elo_remove`.
- Atlas domain: Driver Families / drivers/hid.
- 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.