Lines Matching refs:bw_fixed

32 struct bw_fixed {
42 static inline struct bw_fixed bw_min2(const struct bw_fixed arg1,
43 const struct bw_fixed arg2)
48 static inline struct bw_fixed bw_max2(const struct bw_fixed arg1,
49 const struct bw_fixed arg2)
54 static inline struct bw_fixed bw_min3(struct bw_fixed v1,
55 struct bw_fixed v2,
56 struct bw_fixed v3)
61 static inline struct bw_fixed bw_max3(struct bw_fixed v1,
62 struct bw_fixed v2,
63 struct bw_fixed v3)
68 struct bw_fixed bw_int_to_fixed_nonconst(int64_t value);
69 static inline struct bw_fixed bw_int_to_fixed(int64_t value)
72 struct bw_fixed res;
80 static inline int32_t bw_fixed_to_int(struct bw_fixed value)
85 struct bw_fixed bw_frc_to_fixed(int64_t num, int64_t denum);
87 static inline struct bw_fixed fixed31_32_to_bw_fixed(int64_t raw)
89 struct bw_fixed result = { 0 };
101 static inline struct bw_fixed bw_add(const struct bw_fixed arg1,
102 const struct bw_fixed arg2)
104 struct bw_fixed res;
111 static inline struct bw_fixed bw_sub(const struct bw_fixed arg1, const struct bw_fixed arg2)
113 struct bw_fixed res;
120 struct bw_fixed bw_mul(const struct bw_fixed arg1, const struct bw_fixed arg2);
121 static inline struct bw_fixed bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2)
126 static inline struct bw_fixed bw_mod(const struct bw_fixed arg1, const struct bw_fixed arg2)
128 struct bw_fixed res;
133 struct bw_fixed bw_floor2(const struct bw_fixed arg, const struct bw_fixed significance);
134 struct bw_fixed bw_ceil2(const struct bw_fixed arg, const struct bw_fixed significance);
136 static inline bool bw_equ(const struct bw_fixed arg1, const struct bw_fixed arg2)
141 static inline bool bw_neq(const struct bw_fixed arg1, const struct bw_fixed arg2)
146 static inline bool bw_leq(const struct bw_fixed arg1, const struct bw_fixed arg2)
151 static inline bool bw_meq(const struct bw_fixed arg1, const struct bw_fixed arg2)
156 static inline bool bw_ltn(const struct bw_fixed arg1, const struct bw_fixed arg2)
161 static inline bool bw_mtn(const struct bw_fixed arg1, const struct bw_fixed arg2)