Home
last modified time | relevance | path

Searched refs:tx_counter (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/ixl/
H A Di40e_common.c7033 u32 *tx_counter, u32 *rx_counter, in i40e_get_lpi_counters() argument
7049 &cmd_status, tx_counter, rx_counter, NULL); in i40e_get_lpi_counters()
7058 *tx_counter = rd32(hw, I40E_PRTPM_TLPIC); in i40e_get_lpi_counters()
7139 u32 tx_counter, rx_counter; in i40e_lpi_stat_update() local
7142 retval = i40e_get_lpi_counters(hw, &tx_counter, &rx_counter, &is_clear); in i40e_lpi_stat_update()
7147 *tx_stat += tx_counter; in i40e_lpi_stat_update()
7151 *tx_offset = tx_counter; in i40e_lpi_stat_update()
7155 *tx_stat = (tx_counter >= *tx_offset) ? in i40e_lpi_stat_update()
7156 (u32)(tx_counter - *tx_offset) : in i40e_lpi_stat_update()
7157 (u32)((tx_counter + BIT_ULL(32)) - *tx_offset); in i40e_lpi_stat_update()
H A Di40e_prototype.h108 enum i40e_status_code i40e_get_lpi_counters(struct i40e_hw *hw, u32 *tx_counter,
/freebsd/sys/contrib/dev/rtw89/
H A Drtw8852b_rfk.c3499 u32 tx_counter, tx_counter_tmp; in _tssi_get_cw_report()
3508 tx_counter = rtw89_phy_read32_mask(rtwdev, R_TX_COUNTER, MASKLWORD); in _tssi_get_cw_report()
3521 tx_counter_tmp -= tx_counter; in _tssi_get_cw_report()
3537 tx_counter_tmp -= tx_counter; in _tssi_get_cw_report()
3559 tx_counter_tmp -= tx_counter; in _tssi_get_cw_report()
3498 u32 tx_counter, tx_counter_tmp; _tssi_get_cw_report() local
H A Drtw8852a_rfk.c3520 u32 i, tx_counter = 0; in _tssi_pre_tx() local
3547 tx_counter = rtw89_phy_read32_mask(rtwdev, R_TX_COUNTER, MASKLWORD); in _tssi_pre_tx()
3553 tx_counter = rtw89_phy_read32_mask(rtwdev, R_TX_COUNTER, MASKLWORD) - in _tssi_pre_tx()
3554 tx_counter; in _tssi_pre_tx()
3582 __func__, tx_counter); in _tssi_pre_tx()