Home
last modified time | relevance | path

Searched refs:M_BITS (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/atm/
Diphase.c314 #define M_BITS 9 /* Number of bits in mantissa */ in cellrate_to_float() macro
327 if (i == M_BITS) in cellrate_to_float()
328 flot = NZ | (i << M_BITS) | (cr & M_MASK); in cellrate_to_float()
329 else if (i < M_BITS) in cellrate_to_float()
330 flot = NZ | (i << M_BITS) | ((cr << (M_BITS - i)) & M_MASK); in cellrate_to_float()
332 flot = NZ | (i << M_BITS) | ((cr >> (i - M_BITS)) & M_MASK); in cellrate_to_float()
346 exp = (rate >> M_BITS) & E_MASK;
350 cps = (1 << M_BITS) | mantissa;
351 if (exp == M_BITS)
353 else if (exp > M_BITS)
[all …]