Lines Matching refs:i915_selftest
29 struct i915_selftest i915_selftest __read_mostly = {
114 while (!i915_selftest.random_seed) in __run_selftests()
115 i915_selftest.random_seed = get_random_int(); in __run_selftests()
117 i915_selftest.timeout_jiffies = in __run_selftests()
118 i915_selftest.timeout_ms ? in __run_selftests()
119 msecs_to_jiffies_timeout(i915_selftest.timeout_ms) : in __run_selftests()
125 name, i915_selftest.random_seed, i915_selftest.timeout_ms); in __run_selftests()
162 if (!i915_selftest.mock) in i915_mock_selftests()
167 i915_selftest.mock = err; in i915_mock_selftests()
171 if (i915_selftest.mock < 0) { in i915_mock_selftests()
172 i915_selftest.mock = -ENOTTY; in i915_mock_selftests()
183 if (!i915_selftest.live) in i915_live_selftests()
188 i915_selftest.live = err; in i915_live_selftests()
192 if (i915_selftest.live < 0) { in i915_live_selftests()
193 i915_selftest.live = -ENOTTY; in i915_live_selftests()
245 module_param_named(st_random_seed, i915_selftest.random_seed, uint, 0400);
246 module_param_named(st_timeout, i915_selftest.timeout_ms, uint, 0400);
248 module_param_named_unsafe(mock_selftests, i915_selftest.mock, int, 0400);
251 module_param_named_unsafe(live_selftests, i915_selftest.live, int, 0400);