drivers/hid/hid-roccat-kovaplus.c
Source file repositories/reference/linux-study-clean/drivers/hid/hid-roccat-kovaplus.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/hid/hid-roccat-kovaplus.c- Extension
.c- Size
- 18645 bytes
- Lines
- 666
- 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-kovaplus.h
Detected Declarations
function kovaplus_convert_event_cpifunction kovaplus_profile_activatedfunction kovaplus_send_controlfunction kovaplus_select_profilefunction kovaplus_get_profile_settingsfunction kovaplus_get_profile_buttonsfunction kovaplus_get_actual_profilefunction kovaplus_set_actual_profilefunction kovaplus_sysfs_readfunction kovaplus_sysfs_writefunction kovaplus_sysfs_read_profilex_settingsfunction kovaplus_sysfs_read_profilex_buttonsfunction kovaplus_sysfs_show_actual_profilefunction kovaplus_sysfs_set_actual_profilefunction kovaplus_sysfs_show_actual_cpifunction kovaplus_sysfs_show_actual_sensitivity_xfunction kovaplus_sysfs_show_actual_sensitivity_yfunction kovaplus_sysfs_show_firmware_versionfunction kovaplus_init_kovaplus_device_structfunction kovaplus_init_specialsfunction kovaplus_remove_specialsfunction kovaplus_probefunction kovaplus_removefunction kovaplus_keep_values_up_to_datefunction kovaplus_report_to_chrdevfunction kovaplus_raw_eventfunction kovaplus_initfunction kovaplus_exitmodule init kovaplus_init
Annotated Snippet
module_init(kovaplus_init);
module_exit(kovaplus_exit);
MODULE_AUTHOR("Stefan Achatz");
MODULE_DESCRIPTION("USB Roccat Kova[+] 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 kovaplus_convert_event_cpi`, `function kovaplus_profile_activated`, `function kovaplus_send_control`, `function kovaplus_select_profile`, `function kovaplus_get_profile_settings`, `function kovaplus_get_profile_buttons`, `function kovaplus_get_actual_profile`, `function kovaplus_set_actual_profile`, `function kovaplus_sysfs_read`, `function kovaplus_sysfs_write`.
- 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.