Lines Matching refs:s
34 auto s, m;
35 for (s = 0; 1; s++) {
36 m = fmul(s,n,d);
38 return s;
61 s=fmuls(32,1000,hz)
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"
68 s=fmuls(32,hz,1000)
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"
83 s=fmuls(32,1000000,hz)
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"
90 s=fmuls(32,hz,1000000)
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"