Searched refs:platform_lib (Results 1 – 4 of 4) sorted by relevance
86 struct platform_lib { struct100 extern struct platform_lib* _pl_##name(void); \ argument104 extern struct platform_lib* _pl_##name(void);114 struct platform_lib* _pl_##name(void) {\115 static struct platform_lib _gpl_##name = { #name, 0, -1, init, deinit };\121 struct platform_lib* _pl_##name(void) {\122 static struct platform_lib _gpl_##name = { #name, 0, -1, init, deinit };\171 int pl_lib_init(struct platform_lib* (*pl)(void));176 void pl_lib_deinit(struct platform_lib* (*pl)(void));
39 extern struct platform_lib* (*pl_list[])(void);42 int pl_lib_init(struct platform_lib* (*plf)(void)) { in pl_lib_init()44 struct platform_lib* pl = plf(); in pl_lib_init()59 void pl_lib_deinit(struct platform_lib* (*plf)(void)) { in pl_lib_deinit()60 struct platform_lib* pl = plf(); in pl_lib_deinit()69 static int pl_init_lst(struct platform_lib* (*lst[])(void)) { in pl_init_lst()89 static void pl_deinit_lst(struct platform_lib* (*lst[])(void)) { in pl_deinit_lst()
34 struct platform_lib* (*pl_list[])(void) = {
8 import platform as platform_lib namespace65 if float(platform_lib.release()) >= 8.1: