Home
last modified time | relevance | path

Searched refs:tpt (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dmem.c278 struct fw_ri_tpte *tpt; in write_tpt_entry() local
285 tpt = kmalloc(sizeof(*tpt), GFP_KERNEL); in write_tpt_entry()
286 if (!tpt) in write_tpt_entry()
298 kfree(tpt); in write_tpt_entry()
313 memset(tpt, 0, sizeof(*tpt)); in write_tpt_entry()
315 tpt->valid_to_pdid = cpu_to_be32(FW_RI_TPTE_VALID_F | in write_tpt_entry()
319 tpt->locread_to_qpid = cpu_to_be32(FW_RI_TPTE_PERM_V(perm) | in write_tpt_entry()
324 tpt->nosnoop_pbladdr = !pbl_size ? 0 : cpu_to_be32( in write_tpt_entry()
326 tpt->len_lo = cpu_to_be32((u32)(len & 0xffffffffUL)); in write_tpt_entry()
327 tpt->va_hi = cpu_to_be32((u32)(to >> 32)); in write_tpt_entry()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c842 u64 tpt; in iwl_mvm_check_uapsd_agg_expected_tpt() local
853 tpt = 8 * bytes; /* kbps */ in iwl_mvm_check_uapsd_agg_expected_tpt()
854 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
856 if (tpt < 22 * rate / 100) in iwl_mvm_check_uapsd_agg_expected_tpt()
867 tpt = (8 * bytes); in iwl_mvm_check_uapsd_agg_expected_tpt()
868 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
869 if (tpt < rate) in iwl_mvm_check_uapsd_agg_expected_tpt()
Drs.c641 s32 fail_count, tpt; in _rs_collect_tx_data() local
644 tpt = get_expected_tpt(tbl, scale_index); in _rs_collect_tx_data()
693 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in _rs_collect_tx_data()
1598 u16 tpt, max_expected_tpt; in rs_get_next_column() local
1636 tpt = lq_sta->last_tpt / 100; in rs_get_next_column()
1651 if (tpt >= max_expected_tpt) { in rs_get_next_column()
1654 next_col_id, max_expected_tpt, tpt); in rs_get_next_column()
1660 next_col_id, max_expected_tpt, tpt); in rs_get_next_column()
/linux-6.1.9/net/mac80211/
Dled.c262 unsigned long on, off, tpt; in tpt_trig_timer() local
270 tpt = tpt_trig_traffic(local, tpt_trig); in tpt_trig_timer()
278 tpt > tpt_trig->blink_table[i].throughput) { in tpt_trig_timer()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c450 s32 fail_count, tpt; in rs_collect_tx_data() local
459 tpt = get_expected_tpt(tbl, scale_index); in rs_collect_tx_data()
509 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in rs_collect_tx_data()
1687 s32 tpt = lq_sta->last_tpt / 100; in rs_move_siso_to_other() local
1688 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_siso_to_other()
1853 s32 tpt = lq_sta->last_tpt / 100; in rs_move_mimo2_to_other() local
1854 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_mimo2_to_other()
2043 s32 tpt = lq_sta->last_tpt / 100; in rs_move_mimo3_to_other() local
2044 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_mimo3_to_other()
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c409 s32 fail_count, tpt; in il4965_rs_collect_tx_data() local
418 tpt = il4965_get_expected_tpt(tbl, scale_idx); in il4965_rs_collect_tx_data()
468 win->average_tpt = (win->success_ratio * tpt + 64) / 128; in il4965_rs_collect_tx_data()
1466 s32 tpt = lq_sta->last_tpt / 100; in il4965_rs_move_siso_to_other() local
1467 if (tpt >= search_tbl->expected_tpt[idx]) in il4965_rs_move_siso_to_other()
1590 s32 tpt = lq_sta->last_tpt / 100; in il4965_rs_move_mimo2_to_other() local
1591 if (tpt >= search_tbl->expected_tpt[idx]) in il4965_rs_move_mimo2_to_other()
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_hw.h251 u64 tpt; member
Digc_ethtool.c274 regs_buff[73] = adapter->stats.tpt; in igc_ethtool_get_regs()
Digc_main.c4885 adapter->stats.tpt += rd32(IGC_TPT); in igc_update_stats()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
De1000_hw.h211 u64 tpt; member
Digb_ethtool.c596 regs_buff[101] = adapter->stats.tpt; in igb_get_regs()
Digb_main.c6719 adapter->stats.tpt += rd32(E1000_TPT); in igb_update_stats()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dhw.h412 u64 tpt; member
Dnetdev.c4992 adapter->stats.tpt += hw->mac.tx_packet_delta; in e1000e_update_stats()
5369 mac->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog_task()
5370 adapter->tpt_old = adapter->stats.tpt; in e1000_watchdog_task()
/linux-6.1.9/drivers/net/ethernet/intel/e1000/
De1000_main.c2501 hw->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog()
2502 adapter->tpt_old = adapter->stats.tpt; in e1000_watchdog()
3670 adapter->stats.tpt += hw->tx_packet_delta; in e1000_update_stats()
De1000_hw.h1302 u64 tpt; member
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_type.h3353 u64 tpt; member
Dixgbe_ethtool.c879 regs_buff[964] = IXGBE_GET_STAT(adapter, tpt); in ixgbe_get_regs()