Home
last modified time | relevance | path

Searched refs:pkt_num (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/media/spi/
H A Dcxd2880-spi.c31 u16 pkt_num; member
177 info->pkt_num = ((recv_data[0] & 0x07) << 8) | recv_data[1]; in cxd2880_spi_read_ts_buffer_info()
295 if (info.pkt_num > MAX_TRANS_PKT) { in cxd2880_ts_read()
296 for (i = 0; i < info.pkt_num / MAX_TRANS_PKT; i++) { in cxd2880_ts_read()
305 } else if ((info.pkt_num > 0) && in cxd2880_ts_read()
309 info.pkt_num); in cxd2880_ts_read()
312 info.pkt_num * 188); in cxd2880_ts_read()
/linux/drivers/net/wireless/realtek/rtw88/
H A Drx.c58 goto pkt_num; in rtw_rx_phy_stat()
92 pkt_num: in rtw_rx_phy_stat()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c88 lag->pkt_num++; in nfp_fl_get_next_pkt_number()
89 lag->pkt_num &= NFP_FL_LAG_PKT_NUMBER_MASK; in nfp_fl_get_next_pkt_number()
91 return lag->pkt_num; in nfp_fl_get_next_pkt_number()
H A Dmain.h238 unsigned int pkt_num; member
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1808 int i, rc = 0, data_len = 0, pkt_num = 0; in bnxt_qplib_post_send() local
1920 pkt_num = (data_len + qp->mtu - 1) / qp->mtu; in bnxt_qplib_post_send()
1921 if (!pkt_num) in bnxt_qplib_post_send()
1922 pkt_num = 1; in bnxt_qplib_post_send()
1923 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1942 pkt_num = (data_len + qp->mtu - 1) / qp->mtu; in bnxt_qplib_post_send()
1943 if (!pkt_num) in bnxt_qplib_post_send()
1944 pkt_num = 1; in bnxt_qplib_post_send()
1945 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1961 pkt_num = (data_len + qp->mtu - 1) / qp->mtu; in bnxt_qplib_post_send()
[all …]
/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase_main.c1921 static u16 rtase_calc_packet_num_mitigation(u16 pkt_num) in rtase_calc_packet_num_mitigation() argument
1926 pkt_num = min_t(int, pkt_num, RTASE_MITI_MAX_PKT_NUM); in rtase_calc_packet_num_mitigation()
1928 if (pkt_num > 60) { in rtase_calc_packet_num_mitigation()
1930 pkt_num_count = pkt_num / RTASE_MITI_MAX_PKT_NUM_UNIT; in rtase_calc_packet_num_mitigation()
1932 msb = fls(pkt_num); in rtase_calc_packet_num_mitigation()
1935 pkt_num_count = pkt_num >> (msb - in rtase_calc_packet_num_mitigation()
1939 pkt_num_count = pkt_num; in rtase_calc_packet_num_mitigation()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.h190 __le64 pkt_num[3]; member
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c1373 u8 pkt_num = 1; in rtw_count_tx_stats() local
1376 pkt_num = pxmitframe->agg_num; in rtw_count_tx_stats()
1378 pmlmepriv->LinkDetectInfo.NumTxOkInPeriod += pkt_num; in rtw_count_tx_stats()
1380 pxmitpriv->tx_pkts += pkt_num; in rtw_count_tx_stats()
1388 pstats->tx_pkts += pkt_num; in rtw_count_tx_stats()
/linux/include/net/
H A Dsch_generic.h1307 unsigned int pkt_num) in psched_pkt2t_ns() argument
1309 return ((u64)pkt_num * r->mult) >> r->shift; in psched_pkt2t_ns()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c2338 u8 tx_prec_map, pkt_num; in brcmf_sdio_sendfromq() local
2346 pkt_num = 1; in brcmf_sdio_sendfromq()
2348 pkt_num = min_t(u8, bus->tx_max - bus->tx_seq, in brcmf_sdio_sendfromq()
2350 pkt_num = min_t(u32, pkt_num, in brcmf_sdio_sendfromq()
2354 for (i = 0; i < pkt_num; i++) { in brcmf_sdio_sendfromq()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac.h643 u16 pkt_num; member
H A Dmac.c3207 val = u32_replace_bits(val, ctrl_para->pkt_num, in set_cpuio_ax()
3264 ctrl_para.pkt_num = 0; in dle_quota_change_ax()
3282 ctrl_para.pkt_num = 0; in dle_quota_change_ax()
H A Dmac_be.c1436 val_op0 = u32_replace_bits(val_op0, ctrl_para->pkt_num, in set_cpuio_be()
H A Ddebug.c3390 ctrl_para.pkt_num = 1; /* start from 0 */ in rtw89_dbg_trigger_ctrl_error()