drivers/hid/hid-roccat-arvo.c
Source file repositories/reference/linux-study-clean/drivers/hid/hid-roccat-arvo.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/hid/hid-roccat-arvo.c- Extension
.c- Size
- 11404 bytes
- Lines
- 461
- 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.
- 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
linux/device.hlinux/input.hlinux/hid.hlinux/module.hlinux/slab.hlinux/hid-roccat.hhid-ids.hhid-roccat-common.hhid-roccat-arvo.h
Detected Declarations
function Copyrightfunction arvo_sysfs_set_mode_keyfunction arvo_sysfs_show_key_maskfunction arvo_sysfs_set_key_maskfunction arvo_get_actual_profilefunction arvo_sysfs_show_actual_profilefunction arvo_sysfs_set_actual_profilefunction arvo_sysfs_writefunction arvo_sysfs_readfunction arvo_sysfs_write_buttonfunction arvo_sysfs_read_infofunction arvo_init_arvo_device_structfunction arvo_init_specialsfunction arvo_remove_specialsfunction arvo_probefunction arvo_removefunction arvo_report_to_chrdevfunction arvo_raw_eventfunction arvo_initfunction arvo_exitmodule init arvo_init
Annotated Snippet
module_init(arvo_init);
module_exit(arvo_exit);
MODULE_AUTHOR("Stefan Achatz");
MODULE_DESCRIPTION("USB Roccat Arvo 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 Copyright`, `function arvo_sysfs_set_mode_key`, `function arvo_sysfs_show_key_mask`, `function arvo_sysfs_set_key_mask`, `function arvo_get_actual_profile`, `function arvo_sysfs_show_actual_profile`, `function arvo_sysfs_set_actual_profile`, `function arvo_sysfs_write`, `function arvo_sysfs_read`, `function arvo_sysfs_write_button`.
- Atlas domain: Driver Families / drivers/hid.
- 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.