Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1437 writel(droq->pkt_count - pkts_pend, droq->pkts_sent_reg); in lio_enable_irq()
1438 droq->pkt_count = pkts_pend; in lio_enable_irq()
Dlio_core.c781 (droq->pkt_count >= MAX_REG_CNT)) { in liquidio_napi_poll()
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_rx.c319 u32 pkt_count, new_pkts; in octep_oq_check_hw_for_pkts() local
321 pkt_count = readl(oq->pkts_sent_reg); in octep_oq_check_hw_for_pkts()
322 new_pkts = pkt_count - oq->last_pkt_count; in octep_oq_check_hw_for_pkts()
329 if (unlikely(pkt_count > 0xF0000000U)) { in octep_oq_check_hw_for_pkts()
330 writel(pkt_count, oq->pkts_sent_reg); in octep_oq_check_hw_for_pkts()
331 pkt_count = readl(oq->pkts_sent_reg); in octep_oq_check_hw_for_pkts()
332 new_pkts += pkt_count; in octep_oq_check_hw_for_pkts()
334 oq->last_pkt_count = pkt_count; in octep_oq_check_hw_for_pkts()
/linux-6.1.9/net/sctp/
Doutput.c442 int pkt_count = 0, pkt_size; in sctp_packet_pack() local
533 pkt_count++; in sctp_packet_pack()
539 skb_shinfo(head)->gso_segs = pkt_count; in sctp_packet_pack()
561 return pkt_count; in sctp_packet_pack()
574 int pkt_count, gso = 0; in sctp_packet_transmit() local
621 pkt_count = sctp_packet_pack(packet, head, gso, gfp); in sctp_packet_transmit()
622 if (!pkt_count) { in sctp_packet_transmit()
643 asoc->stats.opackets += pkt_count; in sctp_packet_transmit()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.h149 session->pkt_count++; in mlx5e_xdp_mpwqe_add_dseg()
Dxdp.c243 .pkt_count = 0, in mlx5e_xdp_mpwqe_session_start()
264 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c525 .pkt_count = 0, in mlx5e_tx_mpwqe_session_start()
546 session->pkt_count++; in mlx5e_tx_mpwqe_add_dseg()
575 .num_dma = session->pkt_count, in mlx5e_tx_mpwqe_session_complete()
576 .num_fifo_pkts = session->pkt_count, in mlx5e_tx_mpwqe_session_complete()
Den.h403 u8 pkt_count; member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dstats.h328 __le32 pkt_count[MAC_INDEX_AUX]; member
335 __le32 pkt_count[NUM_MAC_INDEX]; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmain.h468 __be32 pkt_count; member
Dmetadata.c130 priv->stats[ctx_id].pkts += be32_to_cpu(stats->pkt_count); in nfp_flower_rx_flow_stats()
/linux-6.1.9/drivers/media/dvb-frontends/
Ddrxk_hard.c6494 u32 pkt_count; in drxk_get_stats() local
6573 pkt_count = reg16; in drxk_get_stats()
6583 post_bit_count = pkt_count * 204 * 8; in drxk_get_stats()
6589 c->block_count.stat[0].uvalue += pkt_count; in drxk_get_stats()