Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c679 struct tpt_entry tpt; in __cxio_tpt_op() local
702 memset(&tpt, 0, sizeof(tpt)); in __cxio_tpt_op()
704 tpt.valid_stag_pdid = cpu_to_be32(F_TPT_VALID | in __cxio_tpt_op()
709 tpt.flags_pagesize_qpid = cpu_to_be32(V_TPT_PERM(perm) | in __cxio_tpt_op()
713 tpt.rsvd_pbl_addr = cpu_to_be32(V_TPT_PBL_ADDR(PBL_OFF(rdev_p, pbl_addr)>>3)); in __cxio_tpt_op()
714 tpt.len = cpu_to_be32(len); in __cxio_tpt_op()
715 tpt.va_hi = cpu_to_be32((u32) (to >> 32)); in __cxio_tpt_op()
716 tpt.va_low_or_fbo = cpu_to_be32((u32) (to & 0xFFFFFFFFULL)); in __cxio_tpt_op()
717 tpt.rsvd_bind_cnt_or_pstag = 0; in __cxio_tpt_op()
718 tpt.rsvd_pbl_size = cpu_to_be32(V_TPT_PBL_SIZE(pbl_size >> 2)); in __cxio_tpt_op()
[all …]
/Linux-v5.4/net/mac80211/
Dled.c263 unsigned long on, off, tpt; in tpt_trig_timer() local
271 tpt = tpt_trig_traffic(local, tpt_trig); in tpt_trig_timer()
279 tpt > tpt_trig->blink_table[i].throughput) { in tpt_trig_timer()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c1168 u64 tpt; in iwl_mvm_check_uapsd_agg_expected_tpt() local
1179 tpt = 8 * bytes; /* kbps */ in iwl_mvm_check_uapsd_agg_expected_tpt()
1180 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
1182 if (tpt < 22 * rate / 100) in iwl_mvm_check_uapsd_agg_expected_tpt()
1193 tpt = (8 * bytes); in iwl_mvm_check_uapsd_agg_expected_tpt()
1194 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
1195 if (tpt < rate) in iwl_mvm_check_uapsd_agg_expected_tpt()
Drs.c687 s32 fail_count, tpt; in _rs_collect_tx_data() local
690 tpt = get_expected_tpt(tbl, scale_index); in _rs_collect_tx_data()
739 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in _rs_collect_tx_data()
1637 u16 tpt, max_expected_tpt; in rs_get_next_column() local
1675 tpt = lq_sta->last_tpt / 100; in rs_get_next_column()
1690 if (tpt >= max_expected_tpt) { in rs_get_next_column()
1693 next_col_id, max_expected_tpt, tpt); in rs_get_next_column()
1699 next_col_id, max_expected_tpt, tpt); in rs_get_next_column()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c454 s32 fail_count, tpt; in rs_collect_tx_data() local
463 tpt = get_expected_tpt(tbl, scale_index); in rs_collect_tx_data()
513 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in rs_collect_tx_data()
1701 s32 tpt = lq_sta->last_tpt / 100; in rs_move_siso_to_other() local
1702 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_siso_to_other()
1867 s32 tpt = lq_sta->last_tpt / 100; in rs_move_mimo2_to_other() local
1868 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_mimo2_to_other()
2057 s32 tpt = lq_sta->last_tpt / 100; in rs_move_mimo3_to_other() local
2058 if (tpt >= search_tbl->expected_tpt[index]) in rs_move_mimo3_to_other()
/Linux-v5.4/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-v5.4/drivers/net/ethernet/intel/igc/
Digc_hw.h263 u64 tpt; member
Digc_ethtool.c254 regs_buff[73] = adapter->stats.tpt; in igc_get_regs()
Digc_main.c2019 adapter->stats.tpt += rd32(IGC_TPT); in igc_update_stats()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
De1000_hw.h211 u64 tpt; member
Digb_ethtool.c587 regs_buff[101] = adapter->stats.tpt; in igb_get_regs()
Digb_main.c6377 adapter->stats.tpt += rd32(E1000_TPT); in igb_update_stats()
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
Dhw.h380 u64 tpt; member
Dnetdev.c4974 adapter->stats.tpt += hw->mac.tx_packet_delta; in e1000e_update_stats()
5330 mac->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog_task()
5331 adapter->tpt_old = adapter->stats.tpt; in e1000_watchdog_task()
/Linux-v5.4/drivers/net/ethernet/intel/e1000/
De1000_main.c2494 hw->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old; in e1000_watchdog()
2495 adapter->tpt_old = adapter->stats.tpt; in e1000_watchdog()
3666 adapter->stats.tpt += hw->tx_packet_delta; in e1000_update_stats()
De1000_hw.h1302 u64 tpt; member
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_type.h3345 u64 tpt; member
Dixgbe_ethtool.c776 regs_buff[964] = IXGBE_GET_STAT(adapter, tpt); in ixgbe_get_regs()