Lines Matching full:settings
76 struct pyra_settings const *settings) in pyra_set_settings() argument
79 PYRA_COMMAND_SETTINGS, settings, in pyra_set_settings()
246 struct pyra_settings const *settings; in pyra_sysfs_write_settings() local
251 settings = (struct pyra_settings const *)buf; in pyra_sysfs_write_settings()
252 if (settings->startup_profile >= ARRAY_SIZE(pyra->profile_settings)) in pyra_sysfs_write_settings()
257 retval = pyra_set_settings(usb_dev, 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()
275 PYRA_SYSFS_R(settings, SETTINGS);
277 __BIN_ATTR(settings, (S_IWUSR | S_IRUGO),
296 struct pyra_settings settings; in pyra_sysfs_show_actual_profile() local
300 &settings, PYRA_SIZE_SETTINGS); in pyra_sysfs_show_actual_profile()
303 return sysfs_emit(buf, "%d\n", settings.startup_profile); in pyra_sysfs_show_actual_profile()
375 struct pyra_settings settings; in pyra_init_pyra_device_struct() local
380 retval = pyra_get_settings(usb_dev, &settings); in pyra_init_pyra_device_struct()
391 profile_activated(pyra, settings.startup_profile); in pyra_init_pyra_device_struct()