Searched refs:init_funcs (Results 1 – 2 of 2) sorted by relevance
75 struct init_funcs { struct84 static const struct init_funcs init_funcs[] = { variable112 if (WARN_ON(i >= ARRAY_SIZE(init_funcs))) in xe_call_init_func()114 if (!init_funcs[i].init) in xe_call_init_func()117 return init_funcs[i].init(); in xe_call_init_func()122 if (WARN_ON(i >= ARRAY_SIZE(init_funcs))) in xe_call_exit_func()124 if (!init_funcs[i].exit) in xe_call_exit_func()127 init_funcs[i].exit(); in xe_call_exit_func()134 for (i = 0; i < ARRAY_SIZE(init_funcs); i++) { in xe_init()150 for (i = ARRAY_SIZE(init_funcs) - 1; i >= 0; i--) in xe_exit()
55 } init_funcs[] = { variable87 for (i = 0; i < ARRAY_SIZE(init_funcs); i++) { in i915_init()88 err = init_funcs[i].init(); in i915_init()91 if (init_funcs[i].exit) in i915_init()92 init_funcs[i].exit(); in i915_init()102 WARN_ON(init_funcs[i].exit); in i915_init()117 GEM_BUG_ON(i >= ARRAY_SIZE(init_funcs)); in i915_exit()118 if (init_funcs[i].exit) in i915_exit()119 init_funcs[i].exit(); in i915_exit()