Lines Matching refs:settings
79 struct pyra_settings const *settings) in pyra_set_settings() argument
82 PYRA_COMMAND_SETTINGS, settings, in pyra_set_settings()
249 struct pyra_settings const *settings; in pyra_sysfs_write_settings() local
254 settings = (struct pyra_settings const *)buf; in pyra_sysfs_write_settings()
255 if (settings->startup_profile >= ARRAY_SIZE(pyra->profile_settings)) in pyra_sysfs_write_settings()
260 retval = pyra_set_settings(usb_dev, 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()
278 PYRA_SYSFS_R(settings, SETTINGS);
280 __BIN_ATTR(settings, (S_IWUSR | S_IRUGO),
299 struct pyra_settings settings; in pyra_sysfs_show_actual_profile() local
303 &settings, PYRA_SIZE_SETTINGS); in pyra_sysfs_show_actual_profile()
306 return snprintf(buf, PAGE_SIZE, "%d\n", settings.startup_profile); in pyra_sysfs_show_actual_profile()
372 struct pyra_settings settings; in pyra_init_pyra_device_struct() local
377 retval = pyra_get_settings(usb_dev, &settings); in pyra_init_pyra_device_struct()
388 profile_activated(pyra, settings.startup_profile); in pyra_init_pyra_device_struct()