Home
last modified time | relevance | path

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

/drivers/net/usb/
Dgl620a.c75 __le32 packet_count; member
94 count = le32_to_cpu(header->packet_count); in genelink_rx_fixup()
155 __le32 *packet_count; in genelink_tx_fixup() local
178 packet_count = (__le32 *) skb_push(skb, (4 + 4*1)); in genelink_tx_fixup()
179 packet_len = packet_count + 1; in genelink_tx_fixup()
181 *packet_count = cpu_to_le32(1); in genelink_tx_fixup()
/drivers/net/ethernet/sfc/
Dselftest.c82 int packet_count; member
415 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback()
443 i + 1, state->packet_count, in efx_begin_loopback()
459 return atomic_read(&state->rx_good) == state->packet_count; in efx_poll_loopback()
475 for (i = 0; i < state->packet_count; i++) { in efx_end_loopback()
487 if (tx_done != state->packet_count) { in efx_end_loopback()
494 tx_queue->queue, tx_done, state->packet_count, in efx_end_loopback()
501 if (rx_good != state->packet_count) { in efx_end_loopback()
505 tx_queue->queue, rx_good, state->packet_count, in efx_end_loopback()
512 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in efx_end_loopback()
[all …]
/drivers/net/wireless/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()
Dcommon.h2783 u32 packet_count[TID_QUEUE_MAX_SIZE]; /* packet count in this time member
/drivers/net/ethernet/microchip/
Dencx24j600.c356 static void encx24j600_rx_packets(struct encx24j600_priv *priv, u8 packet_count) in encx24j600_rx_packets() argument
360 while (packet_count--) { in encx24j600_rx_packets()
425 u8 packet_count; in encx24j600_isr() local
429 packet_count = encx24j600_read_reg(priv, ESTAT) & 0xff; in encx24j600_isr()
430 while (packet_count) { in encx24j600_isr()
431 encx24j600_rx_packets(priv, packet_count); in encx24j600_isr()
432 packet_count = encx24j600_read_reg(priv, ESTAT) & 0xff; in encx24j600_isr()
/drivers/media/pci/pt1/
Dpt1.c95 int packet_count; member
295 offset = adap->packet_count * 188 + adap->upacket_count * 3; in pt1_filter()
303 if (++adap->packet_count >= 21) { in pt1_filter()
305 adap->packet_count = 0; in pt1_filter()
662 adap->packet_count = 0; in pt1_alloc_adapter()
/drivers/staging/rdma/ehca/
Dehca_reqs.c295 qp->message_count = qp->packet_count = 0; in ehca_write_swqe()
299 qp->packet_count += (dma_length >> qp->mtu_shift) + 1; in ehca_write_swqe()
468 my_qp->packet_count > ACK_CIRC_THRESHOLD && in ehca_post_send()
477 my_qp->message_count = my_qp->packet_count = 0; in ehca_post_send()
Dehca_classes.h222 u32 packet_count; member
/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()
/drivers/usb/dwc2/
Dhcd_ddma.c529 if (qtd->isoc_frame_index_last == qtd->urb->packet_count) in dwc2_fill_host_isoc_dma_desc()
560 qtd->urb->packet_count) { in dwc2_init_isoc_dma_desc()
832 if (++qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_cmpl_host_isoc_dma_desc()
896 for (idx = 0; idx < qtd->urb->packet_count; in dwc2_complete_isoc_xfer_ddma()
Dhcd.h192 u32 packet_count; member
Dhcd_intr.c626 if (++qtd->isoc_frame_index == urb->packet_count) { in dwc2_update_isoc_urb_state()
958 if (qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_xfercomp_isoc_split_in()
1390 qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_hc_nyet_intr()
Dhcd.c1909 urb->packet_count = iso_desc_count; in dwc2_hcd_urb_alloc()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c1140 u32 packet_count; in rtl8723be_dm_dynamic_atc_switch() local
1167 packet_count = rtldm->packet_count; in rtl8723be_dm_dynamic_atc_switch()
1169 if (packet_count == rtldm->packet_count_pre) in rtl8723be_dm_dynamic_atc_switch()
1172 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()
/drivers/net/wireless/iwlwifi/dvm/
Drs.h325 u32 packet_count[TID_QUEUE_MAX_SIZE]; /* packet count in this time member
Drs.c270 tl->total -= tl->packet_count[tl->head]; in rs_tl_rm_old_stats()
271 tl->packet_count[tl->head] = 0; in rs_tl_rm_old_stats()
312 tl->packet_count[0] = 1; in rs_tl_add_packet()
325 tl->packet_count[index] = tl->packet_count[index] + 1; in rs_tl_add_packet()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1907 int packet_count = 0; in xgbe_rx_poll() local
1922 while (packet_count < budget) { in xgbe_rx_poll()
2058 packet_count++; in xgbe_rx_poll()
2070 DBGPR("<--xgbe_rx_poll: packet_count = %d\n", packet_count); in xgbe_rx_poll()
2072 return packet_count; in xgbe_rx_poll()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c2808 u32 packet_count; in rtl8821ae_dm_dynamic_atc_switch() local
2842 packet_count = rtldm->packet_count; in rtl8821ae_dm_dynamic_atc_switch()
2845 if (packet_count == rtldm->packet_count_pre) { in rtl8821ae_dm_dynamic_atc_switch()
2851 rtldm->packet_count_pre = packet_count; in rtl8821ae_dm_dynamic_atc_switch()
2854 rtldm->packet_count); in rtl8821ae_dm_dynamic_atc_switch()
Dtrx.c280 rtl_priv(hw)->dm.packet_count++; in query_rxphystatus()
/drivers/usb/misc/
Dusbtest.c1827 unsigned long packet_count; member
1839 ctx->packet_count += urb->number_of_packets; in complicated_callback()
1872 ctx->errors, ctx->packet_count); in complicated_callback()
2025 (context.is_iso ? context.packet_count / 10 : 0)) in test_queue()
/drivers/firewire/
Dohci.c3321 int page, offset, packet_count, header_size, payload_per_buffer; in queue_iso_packet_per_buffer() local
3327 packet_count = packet->header_length / ctx->base.header_size; in queue_iso_packet_per_buffer()
3334 payload_per_buffer = packet->payload_length / packet_count; in queue_iso_packet_per_buffer()
3336 for (i = 0; i < packet_count; i++) { in queue_iso_packet_per_buffer()
3383 if (packet->interrupt && i == packet_count - 1) in queue_iso_packet_per_buffer()
/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h1722 u32 packet_count; member