Home
last modified time | relevance | path

Searched refs:startup_profile (Results 1 – 5 of 5) sorted by relevance

/drivers/hid/
A Dhid-roccat-kone.c304 if (settings->startup_profile < 1 || in kone_sysfs_write_settings()
305 settings->startup_profile > 5) { in kone_sysfs_write_settings()
314 old_profile = kone->settings.startup_profile; in kone_sysfs_write_settings()
317 kone_profile_activated(kone, kone->settings.startup_profile); in kone_sysfs_write_settings()
319 if (kone->settings.startup_profile != old_profile) in kone_sysfs_write_settings()
320 kone_profile_report(kone, kone->settings.startup_profile); in kone_sysfs_write_settings()
539 kone_profile_activated(kone, kone->settings.startup_profile); in kone_sysfs_set_tcu()
556 return sysfs_emit(buf, "%d\n", kone->settings.startup_profile); in kone_sysfs_show_startup_profile()
580 kone->settings.startup_profile = new_startup_profile; in kone_sysfs_set_startup_profile()
596 static DEVICE_ATTR(startup_profile, 0660, kone_sysfs_show_startup_profile,
[all …]
A Dhid-roccat-pyra.c252 if (settings->startup_profile >= ARRAY_SIZE(pyra->profile_settings)) in pyra_sysfs_write_settings()
263 profile_activated(pyra, settings->startup_profile); in pyra_sysfs_write_settings()
266 roccat_report.value = settings->startup_profile + 1; in pyra_sysfs_write_settings()
303 return sysfs_emit(buf, "%d\n", settings.startup_profile); in pyra_sysfs_show_actual_profile()
306 static DEVICE_ATTR(startup_profile, 0440, pyra_sysfs_show_actual_profile, NULL);
391 profile_activated(pyra, settings.startup_profile); in pyra_init_pyra_device_struct()
A Dhid-roccat-pyra.h30 uint8_t startup_profile; /* Range 0-4! */ member
A Dhid-roccat-kone.h137 uint8_t startup_profile; /* 1-5 */ member
A Dhid-roccat-koneplus.c292 static DEVICE_ATTR(startup_profile, 0660,

Completed in 16 milliseconds