Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c109 u32 stats_ticks = coal->stats_block_coalesce_usecs; in bnxt_set_coalesce() local
112 if (stats_ticks) in bnxt_set_coalesce()
113 stats_ticks = clamp_t(u32, stats_ticks, in bnxt_set_coalesce()
116 stats_ticks = rounddown(stats_ticks, BNXT_MIN_STATS_COAL_TICKS); in bnxt_set_coalesce()
117 bp->stats_coal_ticks = stats_ticks; in bnxt_set_coalesce()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbnx2.c5053 BNX2_WR(bp, BNX2_HC_STATS_TICKS, bp->stats_ticks); in bnx2_init_chip()
6205 if ((bp->flags & BNX2_FLAG_BROKEN_STATS) && bp->stats_ticks) in bnx2_timer()
7268 coal->stats_block_coalesce_usecs = bp->stats_ticks; in bnx2_get_coalesce()
7304 bp->stats_ticks = coal->stats_block_coalesce_usecs; in bnx2_set_coalesce()
7306 if (bp->stats_ticks != 0 && bp->stats_ticks != USEC_PER_SEC) in bnx2_set_coalesce()
7307 bp->stats_ticks = USEC_PER_SEC; in bnx2_set_coalesce()
7309 if (bp->stats_ticks > BNX2_HC_STATS_TICKS_HC_STAT_TICKS) in bnx2_set_coalesce()
7310 bp->stats_ticks = BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_set_coalesce()
7311 bp->stats_ticks &= BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_set_coalesce()
8360 bp->stats_ticks = USEC_PER_SEC & BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_init_board()
Dbnx2.h6927 u32 stats_ticks; member