Home
last modified time | relevance | path

Searched refs:startup_profile (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-kone.c286 * Writing settings automatically activates startup_profile.
307 if (settings->startup_profile < 1 || in kone_sysfs_write_settings()
308 settings->startup_profile > 5) { in kone_sysfs_write_settings()
317 old_profile = kone->settings.startup_profile; in kone_sysfs_write_settings()
320 kone_profile_activated(kone, kone->settings.startup_profile); in kone_sysfs_write_settings()
322 if (kone->settings.startup_profile != old_profile) in kone_sysfs_write_settings()
323 kone_profile_report(kone, kone->settings.startup_profile); in kone_sysfs_write_settings()
542 kone_profile_activated(kone, kone->settings.startup_profile); in kone_sysfs_set_tcu()
559 return snprintf(buf, PAGE_SIZE, "%d\n", kone->settings.startup_profile); in kone_sysfs_show_startup_profile()
583 kone->settings.startup_profile in kone_sysfs_set_startup_profile()
[all...]
H A Dhid-roccat-pyra.c255 if (settings->startup_profile >= ARRAY_SIZE(pyra->profile_settings)) in pyra_sysfs_write_settings()
266 profile_activated(pyra, settings->startup_profile); in pyra_sysfs_write_settings()
269 roccat_report.value = settings->startup_profile + 1; in pyra_sysfs_write_settings()
306 return snprintf(buf, PAGE_SIZE, "%d\n", settings.startup_profile); in pyra_sysfs_show_actual_profile()
309 static DEVICE_ATTR(startup_profile, 0440, pyra_sysfs_show_actual_profile, NULL);
388 profile_activated(pyra, settings.startup_profile); in pyra_init_pyra_device_struct()
H A Dhid-roccat-pyra.h30 uint8_t startup_profile; /* Range 0-4! */ member
H A Dhid-roccat-kone.h137 uint8_t startup_profile; /* 1-5 */ member
H A Dhid-roccat-koneplus.c294 static DEVICE_ATTR(startup_profile, 0660,
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-roccat-kone.c283 * Writing settings automatically activates startup_profile.
304 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 snprintf(buf, PAGE_SIZE, "%d\n", kone->settings.startup_profile); in kone_sysfs_show_startup_profile()
580 kone->settings.startup_profile in kone_sysfs_set_startup_profile()
[all...]
H 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 snprintf(buf, PAGE_SIZE, "%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()
H A Dhid-roccat-pyra.h30 uint8_t startup_profile; /* Range 0-4! */ member
H A Dhid-roccat-kone.h137 uint8_t startup_profile; /* 1-5 */ member
H A Dhid-roccat-koneplus.c292 static DEVICE_ATTR(startup_profile, 0660,

Completed in 15 milliseconds