drivers/hid/hid-roccat-savu.c
Source file repositories/reference/linux-study-clean/drivers/hid/hid-roccat-savu.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/hid/hid-roccat-savu.c- Extension
.c- Size
- 5105 bytes
- Lines
- 232
- 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/device.hlinux/input.hlinux/hid.hlinux/module.hlinux/slab.hlinux/hid-roccat.hhid-ids.hhid-roccat-common.hhid-roccat-savu.h
Detected Declarations
function savu_init_specialsfunction savu_remove_specialsfunction savu_probefunction savu_removefunction savu_report_to_chrdevfunction savu_raw_eventfunction savu_initfunction savu_exitmodule init savu_init
Annotated Snippet
module_init(savu_init);
module_exit(savu_exit);
MODULE_AUTHOR("Stefan Achatz");
MODULE_DESCRIPTION("USB Roccat Savu driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/device.h`, `linux/input.h`, `linux/hid.h`, `linux/module.h`, `linux/slab.h`, `linux/hid-roccat.h`, `hid-ids.h`, `hid-roccat-common.h`.
- Detected declarations: `function savu_init_specials`, `function savu_remove_specials`, `function savu_probe`, `function savu_remove`, `function savu_report_to_chrdev`, `function savu_raw_event`, `function savu_init`, `function savu_exit`, `module init savu_init`.
- 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.