Lines Matching refs:user_config
234 struct drm_i915_perf_oa_config user_config; in query_perf_config_data() local
294 if (copy_from_user(&user_config, user_config_ptr, sizeof(user_config))) { in query_perf_config_data()
299 ret = can_copy_perf_config_registers_or_number(user_config.n_boolean_regs, in query_perf_config_data()
300 user_config.boolean_regs_ptr, in query_perf_config_data()
305 ret = can_copy_perf_config_registers_or_number(user_config.n_flex_regs, in query_perf_config_data()
306 user_config.flex_regs_ptr, in query_perf_config_data()
311 ret = can_copy_perf_config_registers_or_number(user_config.n_mux_regs, in query_perf_config_data()
312 user_config.mux_regs_ptr, in query_perf_config_data()
319 user_config.boolean_regs_ptr, in query_perf_config_data()
320 &user_config.n_boolean_regs); in query_perf_config_data()
326 user_config.flex_regs_ptr, in query_perf_config_data()
327 &user_config.n_flex_regs); in query_perf_config_data()
333 user_config.mux_regs_ptr, in query_perf_config_data()
334 &user_config.n_mux_regs); in query_perf_config_data()
338 memcpy(user_config.uuid, oa_config->uuid, sizeof(user_config.uuid)); in query_perf_config_data()
340 if (copy_to_user(user_config_ptr, &user_config, sizeof(user_config))) { in query_perf_config_data()