Lines Matching refs:u32
26 template <u32 MUL, u32 DIV>
32 template <u32 MUL, u32 DIV>
35 static const u32 VALUE = static_cast<u32>( (static_cast<u64>(MUL) << 32) / DIV );
54 const u32 r_lo = (u32)(rate >> 0); in nnmathMultiplyAndDivide()
56 const u32 x_lo = (u32)(x >> 0); in nnmathMultiplyAndDivide()
79 NN_EXTERN_C inline u64 nnmathMakeRate(u32 mul, u32 div) in nnmathMakeRate()
83 NN_EXTERN_C inline u32 nnmathMakeRate32(u32 mul, u32 div) in nnmathMakeRate32()
85 return (u32)( ((u64)(mul) << 32) / div ); in nnmathMakeRate32()
90 const u32 r_hi = (u32)(rate >> 32); in nnmathMultiplyRate()
91 const u32 r_lo = (u32)(rate >> 0); in nnmathMultiplyRate()
92 const s32 x_hi = (u32)(x >> 32); in nnmathMultiplyRate()
93 const u32 x_lo = (u32)(x >> 0); in nnmathMultiplyRate()
101 NN_EXTERN_C inline u64 nnmathMultiplyRate32(u64 x, u32 rate) in nnmathMultiplyRate32()
103 const s32 x_hi = (u32)(x >> 32); in nnmathMultiplyRate32()
104 const u32 x_lo = (u32)(x >> 0); in nnmathMultiplyRate32()