Searched refs:BITMASK (Results 1 – 2 of 2) sorted by relevance
/external/kernel-headers/original/uapi/linux/ |
D | bcache.h | 11 #define BITMASK(name, type, field, offset, size) \ macro 30 BITMASK(name, struct bkey, field, offset, size) 216 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1); 217 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1); 218 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3); 223 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4); 228 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2); 336 BITMASK(UUID_FLASH_ONLY, struct uuid_entry, flags, 0, 1);
|
/external/u-boot/drivers/net/ |
D | cpsw.c | 34 #define BITMASK(bits) (BIT(bits) - 1) macro 286 return (ale_entry[idx] >> start) & BITMASK(bits); in cpsw_ale_get_field() 294 value &= BITMASK(bits); in cpsw_ale_set_field() 298 ale_entry[idx] &= ~(BITMASK(bits) << start); in cpsw_ale_set_field()
|