Home
last modified time | relevance | path

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

/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c96 u32 pkt_count = 0; in octeon_droq_check_hw_for_pkts() local
99 pkt_count = readl(droq->pkts_sent_reg); in octeon_droq_check_hw_for_pkts()
101 last_count = pkt_count - droq->pkt_count; in octeon_droq_check_hw_for_pkts()
102 droq->pkt_count = pkt_count; in octeon_droq_check_hw_for_pkts()
597 u32 pkt, total_len = 0, pkt_count, retval; in octeon_droq_fast_process_packets() local
601 pkt_count = pkts_to_process; in octeon_droq_fast_process_packets()
603 for (pkt = 0; pkt < pkt_count; pkt++) { in octeon_droq_fast_process_packets()
616 droq->q_no, droq->read_idx, pkt_count); in octeon_droq_fast_process_packets()
745 u32 pkt_count = 0; in octeon_droq_process_packets() local
749 pkt_count = atomic_read(&droq->pkts_pending); in octeon_droq_process_packets()
[all …]
Dcn66xx_device.c510 u32 pkt_count, droq_time_mask, droq_mask, droq_int_enb; in lio_cn6xxx_process_droq_intr_regs() local
530 pkt_count = octeon_droq_check_hw_for_pkts(droq); in lio_cn6xxx_process_droq_intr_regs()
531 if (pkt_count) { in lio_cn6xxx_process_droq_intr_regs()
Docteon_droq.h250 u32 pkt_count; member
Docteon_device.c1438 writel(droq->pkt_count - pkts_pend, droq->pkts_sent_reg); in lio_enable_irq()
1439 droq->pkt_count = pkts_pend; in lio_enable_irq()
Dlio_core.c787 (droq->pkt_count >= MAX_REG_CNT)) { in liquidio_napi_poll()
/drivers/input/
Dmousedev.c73 unsigned int pkt_count; member
119 #define fx(i) (mousedev->old_x[(mousedev->pkt_count - (i)) & 03])
120 #define fy(i) (mousedev->old_y[(mousedev->pkt_count - (i)) & 03])
134 if (mousedev->touch && mousedev->pkt_count >= 2) { in mousedev_touchpad_event()
150 if (mousedev->touch && mousedev->pkt_count >= 2) { in mousedev_touchpad_event()
338 mousedev->touch = mousedev->pkt_count = 0; in mousedev_touchpad_touch()
383 mousedev->pkt_count++; in mousedev_event()
/drivers/net/usb/
Daqc111.c1079 u16 pkt_count = 0; in aqc111_rx_fixup() local
1098 pkt_count = desc_hdr & AQ_RX_DH_PKT_CNT_MASK; in aqc111_rx_fixup()
1099 start_of_descs = skb_len - ((pkt_count + 1) * sizeof(desc_hdr)); in aqc111_rx_fixup()
1108 if (pkt_count * 2 + desc_offset >= skb_len) in aqc111_rx_fixup()
1114 if (pkt_count == 0) in aqc111_rx_fixup()
1120 while (pkt_count--) { in aqc111_rx_fixup()
1131 (pkt_count == 0 && pkt_total_offset != desc_offset)) { in aqc111_rx_fixup()
1165 if (pkt_count == 0) in aqc111_rx_fixup()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c741 unsigned int pkt_count; in stmmac_test_flowctrl() local
760 pkt_count = priv->plat->rx_fifo_size; in stmmac_test_flowctrl()
761 if (!pkt_count) in stmmac_test_flowctrl()
762 pkt_count = priv->dma_cap.rx_fifo_size; in stmmac_test_flowctrl()
763 pkt_count /= 1400; in stmmac_test_flowctrl()
764 pkt_count *= 2; in stmmac_test_flowctrl()
777 for (i = 0; i < pkt_count; i++) { in stmmac_test_flowctrl()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c495 .pkt_count = 0, in mlx5e_tx_mpwqe_session_start()
516 session->pkt_count++; in mlx5e_tx_mpwqe_add_dseg()
545 .num_dma = session->pkt_count, in mlx5e_tx_mpwqe_session_complete()
546 .num_fifo_pkts = session->pkt_count, in mlx5e_tx_mpwqe_session_complete()
Den.h329 u8 pkt_count; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.h149 session->pkt_count++; in mlx5e_xdp_mpwqe_add_dseg()
Dxdp.c210 .pkt_count = 0, in mlx5e_xdp_mpwqe_session_start()
231 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dstats.h383 __le32 pkt_count[MAC_INDEX_AUX]; member
390 __le32 pkt_count[NUM_MAC_INDEX]; member
/drivers/net/wireless/ath/ath9k/
Dantenna.c74 int alt_rssi_avg, int pkt_count) in ath_is_alt_ant_ratio_better() argument
76 if (pkt_count <= 50) in ath_is_alt_ant_ratio_better()
/drivers/net/ethernet/netronome/nfp/flower/
Dmain.h364 __be32 pkt_count; member
Dmetadata.c127 priv->stats[ctx_id].pkts += be32_to_cpu(stats->pkt_count); in nfp_flower_rx_flow_stats()
/drivers/media/dvb-frontends/
Ddrxk_hard.c6506 u32 pkt_count; in drxk_get_stats() local
6585 pkt_count = reg16; in drxk_get_stats()
6595 post_bit_count = pkt_count * 204 * 8; in drxk_get_stats()
6601 c->block_count.stat[0].uvalue += pkt_count; in drxk_get_stats()