Home
last modified time | relevance | path

Searched refs:actual_profile (Results 1 – 13 of 13) sorted by relevance

/drivers/hid/
Dhid-roccat-arvo.c140 return temp_buf.actual_profile; in arvo_get_actual_profile()
149 return snprintf(buf, PAGE_SIZE, "%d\n", arvo->actual_profile); in arvo_sysfs_show_actual_profile()
171 temp_buf.actual_profile = profile; in arvo_sysfs_set_actual_profile()
177 arvo->actual_profile = profile; in arvo_sysfs_set_actual_profile()
183 static DEVICE_ATTR(actual_profile, 0660,
281 arvo->actual_profile = retval; in arvo_init_arvo_device_struct()
390 roccat_report.profile = arvo->actual_profile; in arvo_report_to_chrdev()
Dhid-roccat-isku.c30 isku->actual_profile = new_profile; in isku_profile_activated()
46 return retval ? retval : buf.actual_profile; in isku_get_actual_profile()
55 buf.actual_profile = new_profile; in isku_set_actual_profile()
66 return snprintf(buf, PAGE_SIZE, "%d\n", isku->actual_profile); in isku_sysfs_show_actual_profile()
109 static DEVICE_ATTR(actual_profile, 0660, isku_sysfs_show_actual_profile,
393 roccat_report.profile = isku->actual_profile + 1; in isku_report_to_chrdev()
Dhid-roccat-arvo.h35 uint8_t actual_profile; member
79 int actual_profile; member
Dhid-roccat-isku.h40 uint8_t actual_profile; member
94 int actual_profile; member
Dhid-roccat-koneplus.h36 uint8_t actual_profile; /* Range 0-4! */ member
114 int actual_profile; member
Dhid-roccat-kovaplus.h31 uint8_t actual_profile; /* Range 0-4! */ member
119 int actual_profile; member
Dhid-roccat-koneplus.c34 koneplus->actual_profile = new_profile; in koneplus_profile_activated()
66 return retval ? retval : buf.actual_profile; in koneplus_get_actual_profile()
76 buf.actual_profile = new_profile; in koneplus_set_actual_profile()
247 return snprintf(buf, PAGE_SIZE, "%d\n", koneplus->actual_profile); in koneplus_sysfs_show_actual_profile()
291 static DEVICE_ATTR(actual_profile, 0660,
505 roccat_report.profile = koneplus->actual_profile + 1; in koneplus_report_to_chrdev()
Dhid-roccat-kovaplus.c39 kovaplus->actual_profile = new_profile_index; in kovaplus_profile_activated()
109 return retval ? retval : buf.actual_profile; in kovaplus_get_actual_profile()
119 buf.actual_profile = new_profile; in kovaplus_set_actual_profile()
277 return snprintf(buf, PAGE_SIZE, "%d\n", kovaplus->actual_profile); in kovaplus_sysfs_show_actual_profile()
321 static DEVICE_ATTR(actual_profile, 0660,
580 roccat_report.profile = kovaplus->actual_profile + 1; in kovaplus_report_to_chrdev()
Dhid-roccat-kone.c39 kone->actual_profile = new_profile; in kone_profile_activated()
406 return snprintf(buf, PAGE_SIZE, "%d\n", kone->actual_profile); in kone_sysfs_show_actual_profile()
408 static DEVICE_ATTR(actual_profile, 0440, kone_sysfs_show_actual_profile, NULL);
797 kone->actual_profile = event->value; in kone_keep_values_up_to_date()
826 roccat_report.value = kone->actual_profile; in kone_report_to_chrdev()
Dhid-roccat-pyra.c37 pyra->actual_profile = new_profile; in profile_activated()
38 pyra->actual_cpi = pyra->profile_settings[pyra->actual_profile].y_cpi; in profile_activated()
308 static DEVICE_ATTR(actual_profile, 0440, pyra_sysfs_show_actual_profile, NULL);
536 roccat_report.value = pyra->actual_profile + 1; in pyra_report_to_chrdev()
Dhid-roccat-pyra.h141 int actual_profile; member
Dhid-roccat-kone.h196 int actual_profile, actual_dpi; member
Dhid-roccat-konepure.c42 ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(actual_profile, 0x05, 0x03);