Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/hid/
Dhid-roccat-kovaplus.c292 struct kovaplus_roccat_report roccat_report; in kovaplus_sysfs_set_actual_profile() local
314 roccat_report.type = KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE_1; in kovaplus_sysfs_set_actual_profile()
315 roccat_report.profile = profile + 1; in kovaplus_sysfs_set_actual_profile()
316 roccat_report.button = 0; in kovaplus_sysfs_set_actual_profile()
317 roccat_report.data1 = profile + 1; in kovaplus_sysfs_set_actual_profile()
318 roccat_report.data2 = 0; in kovaplus_sysfs_set_actual_profile()
320 (uint8_t const *)&roccat_report); in kovaplus_sysfs_set_actual_profile()
570 struct kovaplus_roccat_report roccat_report; in kovaplus_report_to_chrdev() local
581 roccat_report.type = button_report->type; in kovaplus_report_to_chrdev()
582 roccat_report.profile = kovaplus->actual_profile + 1; in kovaplus_report_to_chrdev()
[all …]
Dhid-roccat-isku.c79 struct isku_roccat_report roccat_report; in isku_sysfs_set_actual_profile() local
102 roccat_report.event = ISKU_REPORT_BUTTON_EVENT_PROFILE; in isku_sysfs_set_actual_profile()
103 roccat_report.data1 = profile + 1; in isku_sysfs_set_actual_profile()
104 roccat_report.data2 = 0; in isku_sysfs_set_actual_profile()
105 roccat_report.profile = profile + 1; in isku_sysfs_set_actual_profile()
106 roccat_report_event(isku->chrdev_minor, (uint8_t const *)&roccat_report); in isku_sysfs_set_actual_profile()
384 struct isku_roccat_report roccat_report; in isku_report_to_chrdev() local
392 roccat_report.event = button_report->event; in isku_report_to_chrdev()
393 roccat_report.data1 = button_report->data1; in isku_report_to_chrdev()
394 roccat_report.data2 = button_report->data2; in isku_report_to_chrdev()
[all …]
Dhid-roccat-pyra.c256 struct pyra_roccat_report roccat_report; in pyra_sysfs_write_settings() local
276 roccat_report.type = PYRA_MOUSE_EVENT_BUTTON_TYPE_PROFILE_2; in pyra_sysfs_write_settings()
277 roccat_report.value = settings->startup_profile + 1; in pyra_sysfs_write_settings()
278 roccat_report.key = 0; in pyra_sysfs_write_settings()
280 (uint8_t const *)&roccat_report); in pyra_sysfs_write_settings()
514 struct pyra_roccat_report roccat_report; in pyra_report_to_chrdev() local
525 roccat_report.type = button_event->type; in pyra_report_to_chrdev()
526 roccat_report.value = button_event->data1; in pyra_report_to_chrdev()
527 roccat_report.key = 0; in pyra_report_to_chrdev()
529 (uint8_t const *)&roccat_report); in pyra_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-koneplus.c264 struct koneplus_roccat_report roccat_report; in koneplus_sysfs_set_actual_profile() local
287 roccat_report.type = KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE; in koneplus_sysfs_set_actual_profile()
288 roccat_report.data1 = profile + 1; in koneplus_sysfs_set_actual_profile()
289 roccat_report.data2 = 0; in koneplus_sysfs_set_actual_profile()
290 roccat_report.profile = profile + 1; in koneplus_sysfs_set_actual_profile()
292 (uint8_t const *)&roccat_report); in koneplus_sysfs_set_actual_profile()
493 struct koneplus_roccat_report roccat_report; in koneplus_report_to_chrdev() local
506 roccat_report.type = button_report->type; in koneplus_report_to_chrdev()
507 roccat_report.data1 = button_report->data1; in koneplus_report_to_chrdev()
508 roccat_report.data2 = button_report->data2; in koneplus_report_to_chrdev()
[all …]
Dhid-roccat-kone.c48 struct kone_roccat_report roccat_report; in kone_profile_report() local
50 roccat_report.event = kone_mouse_event_switch_profile; in kone_profile_report()
51 roccat_report.value = new_profile; in kone_profile_report()
52 roccat_report.key = 0; in kone_profile_report()
53 roccat_report_event(kone->chrdev_minor, (uint8_t *)&roccat_report); in kone_profile_report()
803 struct kone_roccat_report roccat_report; in kone_report_to_chrdev() local
810 roccat_report.event = event->event; in kone_report_to_chrdev()
811 roccat_report.value = event->value; in kone_report_to_chrdev()
812 roccat_report.key = 0; in kone_report_to_chrdev()
814 (uint8_t *)&roccat_report); in kone_report_to_chrdev()
[all …]
Dhid-roccat-arvo.c388 struct arvo_roccat_report roccat_report; in arvo_report_to_chrdev() local
392 roccat_report.profile = arvo->actual_profile; in arvo_report_to_chrdev()
393 roccat_report.button = special_report->event & in arvo_report_to_chrdev()
397 roccat_report.action = ARVO_ROCCAT_REPORT_ACTION_PRESS; in arvo_report_to_chrdev()
399 roccat_report.action = ARVO_ROCCAT_REPORT_ACTION_RELEASE; in arvo_report_to_chrdev()
402 (uint8_t const *)&roccat_report); in arvo_report_to_chrdev()
Dhid-roccat.c38 struct roccat_report { struct
58 struct roccat_report cbuf[ROCCAT_CBUF_SIZE]; argument
81 struct roccat_report *report; in roccat_read()
254 struct roccat_report *report; in roccat_report_event()