Home
last modified time | relevance | path

Searched defs:_bits (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dutils.h62 #define SET_BIT( _bits, _val ) SET_FLAGS ( _bits, (0x1ULL << _val) ) argument
63 #define RESET_BIT( _bits, _val ) RESET_FLAGS( _bits, (0x1ULL << _val) ) argument
64 #define GET_BIT( _bits, _val ) GET_FLAGS ( _bits, (0x1ULL << _val) ) argument
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_stats.c67 #define DATA_MASK(_bits) (((u64_t)-1)>>(64-_bits)) argument
68 #define STATS_DATA(_bits,_val) ( (_val) & DATA_MASK(_bits) ) argument
69 #define WRAPAROUND_COUNT_MASK(_bits) ( ~ DATA_MASK(_bits) ) argument
70 #define HAS_WRAPPED_AROUND(_bits,_old,_new) ((STATS_DATA(_bits,_old) ) > (STATS_DATA(_bits,_new) )) argument
71 #define INC_WRAPAROUND_COUNT(_bits,_val) (_val + ( 1ull << _bits ) ) argument
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_fflp_hw.h1459 struct _bits { struct
1461 uint32_t fmt : 1; /* 63 set to zero */
1462 uint32_t ext : 1; /* 62 set to zero */
1463 uint32_t valid : 1; /* 61 */
1464 uint32_t rdc_offset : 5; /* 60 : 56 */
1465 uint32_t h2 : 16; /* 55 : 40 */
1466 uint32_t rsrvd : 8; /* 32 : 32 */
1467 uint32_t usr_info; /* 31 : 0 */