Home
last modified time | relevance | path

Searched refs:stats_ticks (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c147 u32 stats_ticks = coal->stats_block_coalesce_usecs; in bnxt_set_coalesce() local
150 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()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbnx2.c5030 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()
Dbnx2.h6926 u32 stats_ticks; member