Home
last modified time | relevance | path

Searched refs:init_funcs (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_module.c104 struct init_funcs { struct
109 static const struct init_funcs init_funcs[] = { argument
140 if (WARN_ON(i >= ARRAY_SIZE(init_funcs))) in xe_call_init_func()
142 if (!init_funcs[i].init) in xe_call_init_func()
145 return init_funcs[i].init(); in xe_call_init_func()
150 if (WARN_ON(i >= ARRAY_SIZE(init_funcs))) in xe_call_exit_func()
152 if (!init_funcs[i].exit) in xe_call_exit_func()
155 init_funcs[i].exit(); in xe_call_exit_func()
162 for (i = 0; i < ARRAY_SIZE(init_funcs); i++) { in xe_init()
178 for (i = ARRAY_SIZE(init_funcs) - 1; i >= 0; i--) in xe_exit()