Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c110 u32 stats_ticks = coal->stats_block_coalesce_usecs; in bnxt_set_coalesce() local
113 if (stats_ticks) in bnxt_set_coalesce()
114 stats_ticks = clamp_t(u32, stats_ticks, in bnxt_set_coalesce()
117 stats_ticks = rounddown(stats_ticks, BNXT_MIN_STATS_COAL_TICKS); in bnxt_set_coalesce()
118 bp->stats_coal_ticks = stats_ticks; in bnxt_set_coalesce()
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dbnx2.c5047 BNX2_WR(bp, BNX2_HC_STATS_TICKS, bp->stats_ticks); in bnx2_init_chip()
6199 if ((bp->flags & BNX2_FLAG_BROKEN_STATS) && bp->stats_ticks) in bnx2_timer()
7261 coal->stats_block_coalesce_usecs = bp->stats_ticks; in bnx2_get_coalesce()
7297 bp->stats_ticks = coal->stats_block_coalesce_usecs; in bnx2_set_coalesce()
7299 if (bp->stats_ticks != 0 && bp->stats_ticks != USEC_PER_SEC) in bnx2_set_coalesce()
7300 bp->stats_ticks = USEC_PER_SEC; in bnx2_set_coalesce()
7302 if (bp->stats_ticks > BNX2_HC_STATS_TICKS_HC_STAT_TICKS) in bnx2_set_coalesce()
7303 bp->stats_ticks = BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_set_coalesce()
7304 bp->stats_ticks &= BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_set_coalesce()
8358 bp->stats_ticks = USEC_PER_SEC & BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_init_board()
Dbnx2.h6927 u32 stats_ticks; member