Lines Matching refs:printf
38 printf("union %s_binding {\n", call_name_ub)
39 printf("\tstruct device_call_generic generic;\n")
41 printf("\tstruct {\n")
42 printf("\t\tconst char *name;\n")
43 printf("\t\tstruct %s_args *args;\n", call_name_ub)
44 printf("\t} %s;\n", field);
46 printf("};\n")
50 printf("\n")
51 printf("#define %s_STR \"%s\"\n", call_name_ub_uc, call_name)
55 printf("\n")
56 printf("#define %s%s \\\n", call_name_ub_uc, marg)
57 printf("\t&((const union %s_binding){ \\\n", call_name_ub)
58 printf("\t\t.%s.name = \"%s\", \\\n", field, call_name)
59 printf("\t\t.%s.args = %s, \\\n", field, carg)
60 printf("\t})\n")
80 printf("method name '%s' at line %d must begin with '%s'\n", \
96 printf("/*\t$NetBSD" "$\t*/\n\n")
97 printf("/*\n")
98 printf(" * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.\n")
99 printf(" *\n")
100 printf(" * generated from:\n")
101 printf(" *\t%s\n", VERSION)
102 printf(" */\n")
129 printf("#ifndef _%s_CALLS_H_\n", subsystem_ub_uc)
130 printf("#define _%s_CALLS_H_\n", subsystem_ub_uc)
133 printf("\n#include <sys/device.h>\n")
147 printf("struct %s_args {\n", call_name_ub)
181 printf("};\n")
183 printf("\n")
207 printf("\n#endif /* _%s_CALLS_H_ */\n", subsystem_ub_uc)