Searched refs:LOAD_COUNTER_MASK (Results 1 – 1 of 1) sorted by relevance
3170 #define LOAD_COUNTER_MASK (((u32)0x1 << LOAD_COUNTER_BITS) - 1) macro3171 #define RESET_DONE_FLAG_MASK (~LOAD_COUNTER_MASK)3217 val1 = ((val & LOAD_COUNTER_MASK) + 1) & LOAD_COUNTER_MASK; in bnx2x_inc_load_cnt()3232 val1 = ((val & LOAD_COUNTER_MASK) - 1) & LOAD_COUNTER_MASK; in bnx2x_dec_load_cnt()3245 return REG_RD(bp, BNX2X_MISC_GEN_REG) & LOAD_COUNTER_MASK; in bnx2x_get_load_cnt()3251 REG_WR(bp, BNX2X_MISC_GEN_REG, val & (~LOAD_COUNTER_MASK)); in bnx2x_clear_load_cnt()