Searched refs:BPAR (Results 1 – 1 of 1) sorted by relevance
188 #define BPAR 1000000 macro192 u64 tmp64 = (u64)parent_rate * BPAR; in calc_reg()195 integ = (u32)tmp64 / BPAR; in calc_reg()198 tmp = (u32)tmp64 % BPAR; in calc_reg()199 sel = tmp / BPAR; in calc_reg()201 tmp = tmp % BPAR; in calc_reg()202 fra_div = tmp * 0xff / BPAR; in calc_reg()215 u64 tmp64 = (u64)parent_rate * BPAR; in calc_rate()222 tmp = fra_div * BPAR; in calc_rate()224 tmp += sel * BPAR; in calc_rate()[all …]