Home
last modified time | relevance | path

Searched refs:packet_count (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v4.19/drivers/net/usb/
Dgl620a.c75 __le32 packet_count; member
94 count = le32_to_cpu(header->packet_count); in genelink_rx_fixup()
154 __le32 *packet_count; in genelink_tx_fixup() local
177 packet_count = skb_push(skb, (4 + 4 * 1)); in genelink_tx_fixup()
178 packet_len = packet_count + 1; in genelink_tx_fixup()
180 *packet_count = cpu_to_le32(1); in genelink_tx_fixup()
/Linux-v4.19/arch/alpha/kernel/
Derr_common.c93 int packet_count = 0; in el_process_header_subpacket() local
107 packet_count = in el_process_header_subpacket()
114 packet_count = in el_process_header_subpacket()
121 packet_count = in el_process_header_subpacket()
128 packet_count = 1; in el_process_header_subpacket()
148 el_process_subpackets(header, packet_count); in el_process_header_subpacket()
180 el_process_subpackets(struct el_subpacket *header, int packet_count) in el_process_subpackets() argument
188 for (i = 0; subpacket && i < packet_count; i++) { in el_process_subpackets()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dselftest.c82 int packet_count; member
423 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback()
450 i + 1, state->packet_count, in efx_begin_loopback()
466 return atomic_read(&state->rx_good) == state->packet_count; in efx_poll_loopback()
482 for (i = 0; i < state->packet_count; i++) { in efx_end_loopback()
494 if (tx_done != state->packet_count) { in efx_end_loopback()
501 tx_queue->queue, tx_done, state->packet_count, in efx_end_loopback()
508 if (rx_good != state->packet_count) { in efx_end_loopback()
512 tx_queue->queue, rx_good, state->packet_count, in efx_end_loopback()
519 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in efx_end_loopback()
[all …]
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dselftest.c82 int packet_count; member
423 for (i = 0; i < state->packet_count; i++) { in ef4_begin_loopback()
450 i + 1, state->packet_count, in ef4_begin_loopback()
466 return atomic_read(&state->rx_good) == state->packet_count; in ef4_poll_loopback()
482 for (i = 0; i < state->packet_count; i++) { in ef4_end_loopback()
494 if (tx_done != state->packet_count) { in ef4_end_loopback()
501 tx_queue->queue, tx_done, state->packet_count, in ef4_end_loopback()
508 if (rx_good != state->packet_count) { in ef4_end_loopback()
512 tx_queue->queue, rx_good, state->packet_count, in ef4_end_loopback()
519 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in ef4_end_loopback()
[all …]
/Linux-v4.19/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c43 u32 packet_count; member
99 if (decoder->packet_count == 0) in cs_etm_decoder__get_packet()
114 decoder->packet_count--; in cs_etm_decoder__get_packet()
264 decoder->packet_count = 0; in cs_etm_decoder__clear_buffer()
283 if (decoder->packet_count >= MAX_BUFFER - 1) in cs_etm_decoder__buffer_packet()
294 decoder->packet_count++; in cs_etm_decoder__buffer_packet()
303 if (decoder->packet_count == MAX_BUFFER - 1) in cs_etm_decoder__buffer_packet()
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_cfotracking.c182 if (cfo_track->packet_count == cfo_track->packet_count_pre) { in odm_cfo_tracking()
188 cfo_track->packet_count_pre = cfo_track->packet_count; in odm_cfo_tracking()
327 if (cfo_track->packet_count == 0xffffffff) in odm_parsing_cfo()
328 cfo_track->packet_count = 0; in odm_parsing_cfo()
330 cfo_track->packet_count++; in odm_parsing_cfo()
Dphydm_cfotracking.h33 u32 packet_count; member
/Linux-v4.19/arch/um/drivers/
Dvector_kern.c921 int packet_count, i; in vector_mmsg_rx() local
936 packet_count = uml_vector_recvmmsg( in vector_mmsg_rx()
939 if (packet_count <= 0) in vector_mmsg_rx()
940 return packet_count; in vector_mmsg_rx()
947 qi->queue_depth = packet_count; in vector_mmsg_rx()
949 for (i = 0; i < packet_count; i++) { in vector_mmsg_rx()
996 if (packet_count > 0) { in vector_mmsg_rx()
997 if (vp->estats.rx_queue_max < packet_count) in vector_mmsg_rx()
998 vp->estats.rx_queue_max = packet_count; in vector_mmsg_rx()
1000 (vp->estats.rx_queue_running_average + packet_count) >> 1; in vector_mmsg_rx()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c190 u32 packet_count, duration, pps; in il3945_bg_rate_scale_flush() local
199 packet_count = (rs_sta->tx_packets - rs_sta->last_tx_packets) + 1; in il3945_bg_rate_scale_flush()
207 D_RATE("Tx'd %d packets in %dms\n", packet_count, duration); in il3945_bg_rate_scale_flush()
211 pps = (packet_count * 1000) / duration; in il3945_bg_rate_scale_flush()
227 packet_count); in il3945_bg_rate_scale_flush()
D4965-rs.c256 tl->total -= tl->packet_count[tl->head]; in il4965_rs_tl_rm_old_stats()
257 tl->packet_count[tl->head] = 0; in il4965_rs_tl_rm_old_stats()
298 tl->packet_count[0] = 1; in il4965_rs_tl_add_packet()
311 tl->packet_count[idx] = tl->packet_count[idx] + 1; in il4965_rs_tl_add_packet()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.h42 u64 packet_count; member
Dcxgb4_tc_flower.c843 if (ofld_stats->packet_count != packets) { in cxgb4_tc_flower_stats()
847 packets - ofld_stats->packet_count, in cxgb4_tc_flower_stats()
850 ofld_stats->packet_count = packets; in cxgb4_tc_flower_stats()
/Linux-v4.19/drivers/net/ethernet/microchip/
Dencx24j600.c365 static void encx24j600_rx_packets(struct encx24j600_priv *priv, u8 packet_count) in encx24j600_rx_packets() argument
369 while (packet_count--) { in encx24j600_rx_packets()
436 u8 packet_count; in encx24j600_isr() local
440 packet_count = encx24j600_read_reg(priv, ESTAT) & 0xff; in encx24j600_isr()
441 while (packet_count) { in encx24j600_isr()
442 encx24j600_rx_packets(priv, packet_count); in encx24j600_isr()
443 packet_count = encx24j600_read_reg(priv, ESTAT) & 0xff; in encx24j600_isr()
/Linux-v4.19/drivers/media/pci/pt1/
Dpt1.c105 int packet_count; member
445 offset = adap->packet_count * 188 + adap->upacket_count * 3; in pt1_filter()
453 if (++adap->packet_count >= 21) { in pt1_filter()
455 adap->packet_count = 0; in pt1_filter()
831 adap->packet_count = 0; in pt1_alloc_adapter()
1266 pt1->adaps[i]->packet_count = 0; in pt1_resume()
/Linux-v4.19/drivers/usb/dwc2/
Dhcd_ddma.c569 if (qtd->isoc_frame_index_last == qtd->urb->packet_count) in dwc2_fill_host_isoc_dma_desc()
625 qtd->urb->packet_count) in dwc2_init_isoc_dma_desc()
630 qtd->urb->packet_count) { in dwc2_init_isoc_dma_desc()
933 if (++qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_cmpl_host_isoc_dma_desc()
997 for (idx = 0; idx < qtd->urb->packet_count; in dwc2_complete_isoc_xfer_ddma()
Dhcd.h197 u32 packet_count; member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c816 u32 packet_count; in rtl92ee_dm_dynamic_atc_switch() local
845 packet_count = rtldm->packet_count; in rtl92ee_dm_dynamic_atc_switch()
847 if (packet_count == rtldm->packet_count_pre) in rtl92ee_dm_dynamic_atc_switch()
850 rtldm->packet_count_pre = packet_count; in rtl92ee_dm_dynamic_atc_switch()
Dtrx.c217 if (rtl_priv(hw)->dm.packet_count == 0xffffffff) in _rtl92ee_query_rxphystatus()
218 rtl_priv(hw)->dm.packet_count = 0; in _rtl92ee_query_rxphystatus()
220 rtl_priv(hw)->dm.packet_count++; in _rtl92ee_query_rxphystatus()
/Linux-v4.19/net/openvswitch/
Dflow.c114 new_stats->packet_count = 1; in ovs_flow_stats_update()
130 stats->packet_count++; in ovs_flow_stats_update()
160 ovs_stats->n_packets += stats->packet_count; in ovs_flow_stats_get()
179 stats->packet_count = 0; in ovs_flow_stats_clear()
Dflow.h212 u64 packet_count; /* Number of packets matched. */ member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c1137 u32 packet_count; in rtl8723be_dm_dynamic_atc_switch() local
1164 packet_count = rtldm->packet_count; in rtl8723be_dm_dynamic_atc_switch()
1166 if (packet_count == rtldm->packet_count_pre) in rtl8723be_dm_dynamic_atc_switch()
1169 rtldm->packet_count_pre = packet_count; in rtl8723be_dm_dynamic_atc_switch()
Dtrx.c193 if (rtl_priv(hw)->dm.packet_count == 0xffffffff) in _rtl8723be_query_rxphystatus()
194 rtl_priv(hw)->dm.packet_count = 0; in _rtl8723be_query_rxphystatus()
196 rtl_priv(hw)->dm.packet_count++; in _rtl8723be_query_rxphystatus()
/Linux-v4.19/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c1121 int packet_count = 0; in xlgmac_rx_poll() local
1136 while (packet_count < budget) { in xlgmac_rx_poll()
1263 packet_count++; in xlgmac_rx_poll()
1275 XLGMAC_PR("packet_count = %d\n", packet_count); in xlgmac_rx_poll()
1277 return packet_count; in xlgmac_rx_poll()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.h325 u32 packet_count[TID_QUEUE_MAX_SIZE]; /* packet count in this time member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c2807 u32 packet_count; in rtl8821ae_dm_dynamic_atc_switch() local
2841 packet_count = rtldm->packet_count; in rtl8821ae_dm_dynamic_atc_switch()
2844 if (packet_count == rtldm->packet_count_pre) { in rtl8821ae_dm_dynamic_atc_switch()
2850 rtldm->packet_count_pre = packet_count; in rtl8821ae_dm_dynamic_atc_switch()
2853 rtldm->packet_count); in rtl8821ae_dm_dynamic_atc_switch()

12