Searched refs:log2 (Results 1 – 3 of 3) sorted by relevance
8 int log2; in log2i() local10 for (log2 = 0; temp; log2++, temp >>= 1) { in log2i()13 return (base & (base - 1)) ? log2 + 1: log2; in log2i()
2191 unsigned int log2 = fls(mtu); in t4_load_mtus() local2193 if (!(mtu & ((1 << log2) >> 2))) /* round */ in t4_load_mtus()2194 log2--; in t4_load_mtus()2196 MTUWIDTH(log2) | MTUVALUE(mtu)); in t4_load_mtus()
2876 unsigned int log2 = fls(mtu); in t3_load_mtus() local2878 if (!(mtu & ((1 << log2) >> 2))) /* round */ in t3_load_mtus()2879 log2--; in t3_load_mtus()2881 (i << 24) | (log2 << 16) | mtu); in t3_load_mtus()