Home
last modified time | relevance | path

Searched refs:roccat_report (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/hid/
Dhid-roccat-kovaplus.c287 struct kovaplus_roccat_report roccat_report; in kovaplus_sysfs_set_actual_profile() local
309 roccat_report.type = KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_1; in kovaplus_sysfs_set_actual_profile()
310 roccat_report.profile = profile + 1; in kovaplus_sysfs_set_actual_profile()
311 roccat_report.button = 0; in kovaplus_sysfs_set_actual_profile()
312 roccat_report.data1 = profile + 1; in kovaplus_sysfs_set_actual_profile()
313 roccat_report.data2 = 0; in kovaplus_sysfs_set_actual_profile()
315 (uint8_t const *)&roccat_report); in kovaplus_sysfs_set_actual_profile()
568 struct kovaplus_roccat_report roccat_report; in kovaplus_report_to_chrdev() local
579 roccat_report.type = button_report->type; in kovaplus_report_to_chrdev()
580 roccat_report.profile = kovaplus->actual_profile + 1; in kovaplus_report_to_chrdev()
[all …]
Dhid-roccat-isku.c76 struct isku_roccat_report roccat_report; in isku_sysfs_set_actual_profile() local
99 roccat_report.event = ISKU_REPORT_BUTTON_EVENT_PROFILE; in isku_sysfs_set_actual_profile()
100 roccat_report.data1 = profile + 1; in isku_sysfs_set_actual_profile()
101 roccat_report.data2 = 0; in isku_sysfs_set_actual_profile()
102 roccat_report.profile = profile + 1; in isku_sysfs_set_actual_profile()
103 roccat_report_event(isku->chrdev_minor, (uint8_t const *)&roccat_report); in isku_sysfs_set_actual_profile()
382 struct isku_roccat_report roccat_report; in isku_report_to_chrdev() local
390 roccat_report.event = button_report->event; in isku_report_to_chrdev()
391 roccat_report.data1 = button_report->data1; in isku_report_to_chrdev()
392 roccat_report.data2 = button_report->data2; in isku_report_to_chrdev()
[all …]
Dhid-roccat-pyra.c248 struct pyra_roccat_report roccat_report; in pyra_sysfs_write_settings() local
268 roccat_report.type = PYRA_MOUSE_EVENT_BUTTON_TYPE_PROFILE_2; in pyra_sysfs_write_settings()
269 roccat_report.value = settings->startup_profile + 1; in pyra_sysfs_write_settings()
270 roccat_report.key = 0; in pyra_sysfs_write_settings()
272 (uint8_t const *)&roccat_report); in pyra_sysfs_write_settings()
509 struct pyra_roccat_report roccat_report; in pyra_report_to_chrdev() local
520 roccat_report.type = button_event->type; in pyra_report_to_chrdev()
521 roccat_report.value = button_event->data1; in pyra_report_to_chrdev()
522 roccat_report.key = 0; in pyra_report_to_chrdev()
524 (uint8_t const *)&roccat_report); in pyra_report_to_chrdev()
[all …]
Dhid-roccat-koneplus.c257 struct koneplus_roccat_report roccat_report; in koneplus_sysfs_set_actual_profile() local
280 roccat_report.type = KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE; in koneplus_sysfs_set_actual_profile()
281 roccat_report.data1 = profile + 1; in koneplus_sysfs_set_actual_profile()
282 roccat_report.data2 = 0; in koneplus_sysfs_set_actual_profile()
283 roccat_report.profile = profile + 1; in koneplus_sysfs_set_actual_profile()
285 (uint8_t const *)&roccat_report); in koneplus_sysfs_set_actual_profile()
489 struct koneplus_roccat_report roccat_report; in koneplus_report_to_chrdev() local
502 roccat_report.type = button_report->type; in koneplus_report_to_chrdev()
503 roccat_report.data1 = button_report->data1; in koneplus_report_to_chrdev()
504 roccat_report.data2 = button_report->data2; in koneplus_report_to_chrdev()
[all …]
Dhid-roccat-savu.c154 struct savu_roccat_report roccat_report; in savu_report_to_chrdev() local
162 roccat_report.type = special_report->type; in savu_report_to_chrdev()
163 roccat_report.data[0] = special_report->data[0]; in savu_report_to_chrdev()
164 roccat_report.data[1] = special_report->data[1]; in savu_report_to_chrdev()
166 (uint8_t const *)&roccat_report); in savu_report_to_chrdev()
Dhid-roccat-kone.c45 struct kone_roccat_report roccat_report; in kone_profile_report() local
47 roccat_report.event = kone_mouse_event_switch_profile; in kone_profile_report()
48 roccat_report.value = new_profile; in kone_profile_report()
49 roccat_report.key = 0; in kone_profile_report()
50 roccat_report_event(kone->chrdev_minor, (uint8_t *)&roccat_report); in kone_profile_report()
809 struct kone_roccat_report roccat_report; in kone_report_to_chrdev() local
816 roccat_report.event = event->event; in kone_report_to_chrdev()
817 roccat_report.value = event->value; in kone_report_to_chrdev()
818 roccat_report.key = 0; in kone_report_to_chrdev()
820 (uint8_t *)&roccat_report); in kone_report_to_chrdev()
[all …]
Dhid-roccat-arvo.c386 struct arvo_roccat_report roccat_report; in arvo_report_to_chrdev() local
390 roccat_report.profile = arvo->actual_profile; in arvo_report_to_chrdev()
391 roccat_report.button = special_report->event & in arvo_report_to_chrdev()
395 roccat_report.action = ARVO_ROCCAT_REPORT_ACTION_PRESS; in arvo_report_to_chrdev()
397 roccat_report.action = ARVO_ROCCAT_REPORT_ACTION_RELEASE; in arvo_report_to_chrdev()
400 (uint8_t const *)&roccat_report); in arvo_report_to_chrdev()
Dhid-roccat.c35 struct roccat_report { struct
55 struct roccat_report cbuf[ROCCAT_CBUF_SIZE]; argument
78 struct roccat_report *report; in roccat_read()
251 struct roccat_report *report; in roccat_report_event()