Lines Matching refs:u16

56 static inline bool ice_is_bit_set_internal(u16 nr, const ice_bitmap_t *bitmap)
74 static inline void ice_clear_bit_internal(u16 nr, ice_bitmap_t *bitmap)
79 static inline void ice_set_bit_internal(u16 nr, ice_bitmap_t *bitmap)
84 static inline bool ice_test_and_clear_bit_internal(u16 nr,
94 static inline bool ice_test_and_set_bit_internal(u16 nr, ice_bitmap_t *bitmap)
111 static inline bool ice_is_bit_set(const ice_bitmap_t *bitmap, u16 nr)
125 static inline void ice_clear_bit(u16 nr, ice_bitmap_t *bitmap)
138 static inline void ice_set_bit(u16 nr, ice_bitmap_t *bitmap)
152 ice_test_and_clear_bit(u16 nr, ice_bitmap_t *bitmap)
167 ice_test_and_set_bit(u16 nr, ice_bitmap_t *bitmap)
182 static inline void ice_zero_bitmap(ice_bitmap_t *bmp, u16 size)
203 const ice_bitmap_t *bmp2, u16 size)
206 u16 i;
240 const ice_bitmap_t *bmp2, u16 size)
243 u16 i;
271 const ice_bitmap_t *bmp2, u16 size)
274 u16 i;
302 const ice_bitmap_t *bmp2, u16 size)
305 u16 i;
329 static inline u16
330 ice_find_next_bit(const ice_bitmap_t *bitmap, u16 size, u16 offset)
332 u16 i, j;
342 u16 off = i * BITS_PER_CHUNK;
346 return min(size, (u16)(off + j));
353 u16 off = i * BITS_PER_CHUNK;
357 return min(size, (u16)(off + j));
372 static inline u16 ice_find_first_bit(const ice_bitmap_t *bitmap, u16 size)
390 static inline bool ice_is_any_bit_set(ice_bitmap_t *bitmap, u16 size)
405 static inline void ice_cp_bitmap(ice_bitmap_t *dst, ice_bitmap_t *src, u16 size)
422 ice_bitmap_set(ice_bitmap_t *dst, u16 pos, u16 num_bits)
424 u16 i;
440 ice_bitmap_hweight(ice_bitmap_t *bm, u16 size)
443 u16 bit = 0;
462 ice_cmp_bitmap(ice_bitmap_t *bmp1, ice_bitmap_t *bmp2, u16 size)
465 u16 i;