Home
last modified time | relevance | path

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

/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 …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c834 u64 tpt; in iwl_mvm_check_uapsd_agg_expected_tpt() local
845 tpt = 8 * bytes; /* kbps */ in iwl_mvm_check_uapsd_agg_expected_tpt()
846 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
848 if (tpt < 22 * rate / 100) in iwl_mvm_check_uapsd_agg_expected_tpt()
859 tpt = (8 * bytes); in iwl_mvm_check_uapsd_agg_expected_tpt()
860 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
861 if (tpt < rate) in iwl_mvm_check_uapsd_agg_expected_tpt()
Drs.c685 s32 fail_count, tpt; in _rs_collect_tx_data() local
688 tpt = get_expected_tpt(tbl, scale_index); in _rs_collect_tx_data()
737 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in _rs_collect_tx_data()
1644 u16 tpt, max_expected_tpt; in rs_get_next_column() local
1682 tpt = lq_sta->last_tpt / 100; in rs_get_next_column()
1697 if (tpt >= max_expected_tpt) { in rs_get_next_column()
1700 next_col_id, max_expected_tpt, tpt); in rs_get_next_column()
1706 next_col_id, max_expected_tpt, tpt); in rs_get_next_column()
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c455 s32 fail_count, tpt; in rs_collect_tx_data() local
464 tpt = get_expected_tpt(tbl, scale_index); in rs_collect_tx_data()
514 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in rs_collect_tx_data()
1692 s32 tpt = lq_sta->last_tpt / 100; in rs_move_siso_to_other() local
1693 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_siso_to_other()
1858 s32 tpt = lq_sta->last_tpt / 100; in rs_move_mimo2_to_other() local
1859 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_mimo2_to_other()
2048 s32 tpt = lq_sta->last_tpt / 100; in rs_move_mimo3_to_other() local
2049 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_mimo3_to_other()
/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()
/drivers/net/ethernet/intel/igc/
Digc_hw.h262 u64 tpt; member
Digc_ethtool.c274 regs_buff[73] = adapter->stats.tpt; in igc_ethtool_get_regs()
Digc_main.c4899 adapter->stats.tpt += rd32(IGC_TPT); in igc_update_stats()
/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.c6688 adapter->stats.tpt += rd32(E1000_TPT); in igb_update_stats()
/drivers/net/ethernet/intel/e1000e/
Dhw.h412 u64 tpt; member
Dnetdev.c4997 adapter->stats.tpt += hw->mac.tx_packet_delta; in e1000e_update_stats()
5349 mac->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog_task()
5350 adapter->tpt_old = adapter->stats.tpt; in e1000_watchdog_task()
/drivers/net/ethernet/intel/e1000/
De1000_main.c2500 hw->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog()
2501 adapter->tpt_old = adapter->stats.tpt; in e1000_watchdog()
3669 adapter->stats.tpt += hw->tx_packet_delta; in e1000_update_stats()
De1000_hw.h1302 u64 tpt; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_type.h3346 u64 tpt; member
Dixgbe_ethtool.c880 regs_buff[964] = IXGBE_GET_STAT(adapter, tpt); in ixgbe_get_regs()