/linux-6.1.9/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 278 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/ |
D | utils.c | 842 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()
|
D | rs.c | 641 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/ |
D | led.c | 262 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/ |
D | rs.c | 450 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/ |
D | 4965-rs.c | 409 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/ |
D | igc_hw.h | 251 u64 tpt; member
|
D | igc_ethtool.c | 274 regs_buff[73] = adapter->stats.tpt; in igc_ethtool_get_regs()
|
D | igc_main.c | 4885 adapter->stats.tpt += rd32(IGC_TPT); in igc_update_stats()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | e1000_hw.h | 211 u64 tpt; member
|
D | igb_ethtool.c | 596 regs_buff[101] = adapter->stats.tpt; in igb_get_regs()
|
D | igb_main.c | 6719 adapter->stats.tpt += rd32(E1000_TPT); in igb_update_stats()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | hw.h | 412 u64 tpt; member
|
D | netdev.c | 4992 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/ |
D | e1000_main.c | 2501 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()
|
D | e1000_hw.h | 1302 u64 tpt; member
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_type.h | 3353 u64 tpt; member
|
D | ixgbe_ethtool.c | 879 regs_buff[964] = IXGBE_GET_STAT(adapter, tpt); in ixgbe_get_regs()
|