Lines Matching refs:user_config
217 struct drm_i915_perf_oa_config user_config;
279 if (__copy_from_user(&user_config, user_config_ptr,
280 sizeof(user_config))) {
285 ret = can_copy_perf_config_registers_or_number(user_config.n_boolean_regs,
286 user_config.boolean_regs_ptr,
291 ret = can_copy_perf_config_registers_or_number(user_config.n_flex_regs,
292 user_config.flex_regs_ptr,
297 ret = can_copy_perf_config_registers_or_number(user_config.n_mux_regs,
298 user_config.mux_regs_ptr,
305 user_config.boolean_regs_ptr,
306 &user_config.n_boolean_regs);
312 user_config.flex_regs_ptr,
313 &user_config.n_flex_regs);
319 user_config.mux_regs_ptr,
320 &user_config.n_mux_regs);
324 memcpy(user_config.uuid, oa_config->uuid, sizeof(user_config.uuid));
326 if (__copy_to_user(user_config_ptr, &user_config,
327 sizeof(user_config))) {