Lines Matching refs:settings
82 struct pyra_settings const *settings) in pyra_set_settings() argument
85 PYRA_COMMAND_SETTINGS, settings, in pyra_set_settings()
257 struct pyra_settings const *settings; in pyra_sysfs_write_settings() local
262 settings = (struct pyra_settings const *)buf; in pyra_sysfs_write_settings()
263 if (settings->startup_profile >= ARRAY_SIZE(pyra->profile_settings)) in pyra_sysfs_write_settings()
268 retval = pyra_set_settings(usb_dev, settings); in pyra_sysfs_write_settings()
274 profile_activated(pyra, settings->startup_profile); in pyra_sysfs_write_settings()
277 roccat_report.value = settings->startup_profile + 1; in pyra_sysfs_write_settings()
286 PYRA_SYSFS_R(settings, SETTINGS);
288 __BIN_ATTR(settings, (S_IWUSR | S_IRUGO),
307 struct pyra_settings settings; in pyra_sysfs_show_actual_profile() local
311 &settings, PYRA_SIZE_SETTINGS); in pyra_sysfs_show_actual_profile()
314 return snprintf(buf, PAGE_SIZE, "%d\n", settings.startup_profile); in pyra_sysfs_show_actual_profile()
380 struct pyra_settings settings; in pyra_init_pyra_device_struct() local
385 retval = pyra_get_settings(usb_dev, &settings); in pyra_init_pyra_device_struct()
396 profile_activated(pyra, settings.startup_profile); in pyra_init_pyra_device_struct()