Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A 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()
745 u32 pkt_count = 0; in octeon_droq_process_packets() local
751 if (!pkt_count) in octeon_droq_process_packets()
754 if (pkt_count > budget) in octeon_droq_process_packets()
[all …]
A 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()
A Docteon_droq.h250 u32 pkt_count; member
A 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()
A Dlio_core.c781 (droq->pkt_count >= MAX_REG_CNT)) { in liquidio_napi_poll()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A 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.3-rc2/net/sctp/
A 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.3-rc2/drivers/input/
A 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.3-rc2/drivers/net/usb/
A 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dxdp.h157 session->pkt_count++; in mlx5e_xdp_mpwqe_add_dseg()
A Dxdp.c273 .pkt_count = 0, in mlx5e_xdp_mpwqe_session_start()
294 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A 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()
A Den.h405 u8 pkt_count; member
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dstats.h328 __le32 pkt_count[MAC_INDEX_AUX]; member
335 __le32 pkt_count[NUM_MAC_INDEX]; member
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A 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.3-rc2/drivers/net/ethernet/netronome/nfp/flower/
A Dmain.h484 __be32 pkt_count; member
A Dmetadata.c130 priv->stats[ctx_id].pkts += be32_to_cpu(stats->pkt_count); in nfp_flower_rx_flow_stats()
/linux-6.3-rc2/drivers/media/dvb-frontends/
A 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()

Completed in 66 milliseconds