Searched refs:stats_ticks (Results 1 – 3 of 3) sorted by relevance
147 u32 stats_ticks = coal->stats_block_coalesce_usecs; in bnxt_set_coalesce() local150 if (stats_ticks) in bnxt_set_coalesce()151 stats_ticks = clamp_t(u32, stats_ticks, in bnxt_set_coalesce()154 stats_ticks = rounddown(stats_ticks, BNXT_MIN_STATS_COAL_TICKS); in bnxt_set_coalesce()155 bp->stats_coal_ticks = stats_ticks; in bnxt_set_coalesce()
5030 BNX2_WR(bp, BNX2_HC_STATS_TICKS, bp->stats_ticks); in bnx2_init_chip()6183 if ((bp->flags & BNX2_FLAG_BROKEN_STATS) && bp->stats_ticks) in bnx2_timer()7248 coal->stats_block_coalesce_usecs = bp->stats_ticks; in bnx2_get_coalesce()7286 bp->stats_ticks = coal->stats_block_coalesce_usecs; in bnx2_set_coalesce()7288 if (bp->stats_ticks != 0 && bp->stats_ticks != USEC_PER_SEC) in bnx2_set_coalesce()7289 bp->stats_ticks = USEC_PER_SEC; in bnx2_set_coalesce()7291 if (bp->stats_ticks > BNX2_HC_STATS_TICKS_HC_STAT_TICKS) in bnx2_set_coalesce()7292 bp->stats_ticks = BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_set_coalesce()7293 bp->stats_ticks &= BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_set_coalesce()8322 bp->stats_ticks = USEC_PER_SEC & BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_init_board()
6926 u32 stats_ticks; member