Lines Matching full:print
44 print "/* Automatically generated by kernel/time/timeconst.bc */\n"
45 print "/* Time conversion constants for HZ == ", hz, " */\n"
46 print "\n"
48 print "#ifndef KERNEL_TIMECONST_H\n"
49 print "#define KERNEL_TIMECONST_H\n\n"
51 print "#include <linux/param.h>\n"
52 print "#include <linux/types.h>\n\n"
54 print "#if HZ != ", hz, "\n"
55 print "#error \qinclude/generated/timeconst.h has the wrong HZ value!\q\n"
56 print "#endif\n\n"
59 print "#error Totally bogus HZ value!\n"
63 print "#define HZ_TO_MSEC_MUL32\tU64_C(0x", fmul(s,1000,hz), ")\n"
64 print "#define HZ_TO_MSEC_ADJ32\tU64_C(0x", fadj(s,1000,hz), ")\n"
66 print "#define HZ_TO_MSEC_SHR32\t", s, "\n"
70 print "#define MSEC_TO_HZ_MUL32\tU64_C(0x", fmul(s,hz,1000), ")\n"
71 print "#define MSEC_TO_HZ_ADJ32\tU64_C(0x", fadj(s,hz,1000), ")\n"
73 print "#define MSEC_TO_HZ_SHR32\t", s, "\n"
77 print "#define HZ_TO_MSEC_NUM\t\t", 1000/cd, "\n"
78 print "#define HZ_TO_MSEC_DEN\t\t", hz/cd, "\n"
79 print "#define MSEC_TO_HZ_NUM\t\t", hz/cd, "\n"
80 print "#define MSEC_TO_HZ_DEN\t\t", 1000/cd, "\n"
81 print "\n"
85 print "#define HZ_TO_USEC_MUL32\tU64_C(0x", fmul(s,1000000,hz), ")\n"
86 print "#define HZ_TO_USEC_ADJ32\tU64_C(0x", fadj(s,1000000,hz), ")\n"
88 print "#define HZ_TO_USEC_SHR32\t", s, "\n"
92 print "#define USEC_TO_HZ_MUL32\tU64_C(0x", fmul(s,hz,1000000), ")\n"
93 print "#define USEC_TO_HZ_ADJ32\tU64_C(0x", fadj(s,hz,1000000), ")\n"
95 print "#define USEC_TO_HZ_SHR32\t", s, "\n"
99 print "#define HZ_TO_USEC_NUM\t\t", 1000000/cd, "\n"
100 print "#define HZ_TO_USEC_DEN\t\t", hz/cd, "\n"
101 print "#define USEC_TO_HZ_NUM\t\t", hz/cd, "\n"
102 print "#define USEC_TO_HZ_DEN\t\t", 1000000/cd, "\n"
105 print "#define HZ_TO_NSEC_NUM\t\t", 1000000000/cd, "\n"
106 print "#define HZ_TO_NSEC_DEN\t\t", hz/cd, "\n"
107 print "#define NSEC_TO_HZ_NUM\t\t", hz/cd, "\n"
108 print "#define NSEC_TO_HZ_DEN\t\t", 1000000000/cd, "\n"
109 print "\n"
111 print "#endif /* KERNEL_TIMECONST_H */\n"