Searched refs:bitindex (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Dbitmap.h64 * bitmap is a ulong_t *, bitindex an index_t
73 #define BT_WIM(bitmap, bitindex) \
74 ((bitmap)[(bitindex) >> BT_ULSHIFT])
78 #define BT_BIW(bitindex) \
79 (1UL << ((bitindex) & BT_ULMASK))
82 #define BT_WIM32(bitmap, bitindex) \
83 ((bitmap)[(bitindex) >> BT_ULSHIFT32])
85 #define BT_BIW32(bitindex) \
86 (1UL << ((bitindex) & BT_ULMASK32))
98 #define BT_TEST(bitmap, bitindex) \
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dbitmap.h74 * bitmap is a ulong_t *, bitindex an index_t
83 #define BT_WIM(bitmap, bitindex) \
84 ((bitmap)[(bitindex) >> BT_ULSHIFT])
88 #define BT_BIW(bitindex) \
89 (1UL << ((bitindex) & BT_ULMASK))
92 #define BT_WIM32(bitmap, bitindex) \
93 ((bitmap)[(bitindex) >> BT_ULSHIFT32])
95 #define BT_BIW32(bitindex) \
96 (1UL << ((bitindex) & BT_ULMASK32))
108 #define BT_TEST(bitmap, bitindex) \
[all...]
/freebsd-9.3-release/sys/dev/ixgbe/
H A Dixgbe_82598.c997 u32 bitindex; local
1011 bitindex = (vlan & 0x7) << 2; /* lower 3 bits indicate nibble */
1015 bits &= (~(0x0F << bitindex));
1016 bits |= (vind << bitindex);
1020 bitindex = vlan & 0x1F; /* lower five bits */
1025 bits |= (1 << bitindex);
1028 bits &= ~(1 << bitindex);
H A Dixgbe_common.c3820 u32 bitindex; local
3844 bitindex = vlan & 0x1F;
3845 targetbit = (1 << bitindex);

Completed in 125 milliseconds