Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c5047 BNX2_WR(bp, BNX2_HC_STATS_TICKS, bp->stats_ticks); in bnx2_init_chip()
6200 if ((bp->flags & BNX2_FLAG_BROKEN_STATS) && bp->stats_ticks) in bnx2_timer()
7265 coal->stats_block_coalesce_usecs = bp->stats_ticks; in bnx2_get_coalesce()
7303 bp->stats_ticks = coal->stats_block_coalesce_usecs; in bnx2_set_coalesce()
7305 if (bp->stats_ticks != 0 && bp->stats_ticks != USEC_PER_SEC) in bnx2_set_coalesce()
7306 bp->stats_ticks = USEC_PER_SEC; in bnx2_set_coalesce()
7308 if (bp->stats_ticks > BNX2_HC_STATS_TICKS_HC_STAT_TICKS) in bnx2_set_coalesce()
7309 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()
8346 bp->stats_ticks = USEC_PER_SEC & BNX2_HC_STATS_TICKS_HC_STAT_TICKS; in bnx2_init_board()
Dbnx2.h6927 u32 stats_ticks; member