| /drivers/net/usb/ |
| A D | gl620a.c | 63 __le32 packet_count; member 82 count = le32_to_cpu(header->packet_count); in genelink_rx_fixup() 142 __le32 *packet_count; in genelink_tx_fixup() local 165 packet_count = skb_push(skb, (4 + 4 * 1)); in genelink_tx_fixup() 166 packet_len = packet_count + 1; in genelink_tx_fixup() 168 *packet_count = cpu_to_le32(1); in genelink_tx_fixup()
|
| /drivers/net/ethernet/sfc/falcon/ |
| A D | selftest.c | 84 int packet_count; member 428 for (i = 0; i < state->packet_count; i++) { in ef4_begin_loopback() 459 i + 1, state->packet_count, in ef4_begin_loopback() 491 for (i = 0; i < state->packet_count; i++) { in ef4_end_loopback() 503 if (tx_done != state->packet_count) { in ef4_end_loopback() 517 if (rx_good != state->packet_count) { in ef4_end_loopback() 546 state->packet_count = efx->txq_entries / 3; in ef4_test_loopback() 547 state->packet_count = min(1 << (i << 2), state->packet_count); in ef4_test_loopback() 548 state->skbs = kcalloc(state->packet_count, in ef4_test_loopback() 557 state->packet_count); in ef4_test_loopback() [all …]
|
| /drivers/net/ethernet/sfc/ |
| A D | selftest.c | 86 int packet_count; member 425 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback() 456 i + 1, state->packet_count, in efx_begin_loopback() 488 for (i = 0; i < state->packet_count; i++) { in efx_end_loopback() 500 if (tx_done != state->packet_count) { in efx_end_loopback() 514 if (rx_good != state->packet_count) { in efx_end_loopback() 543 state->packet_count = efx->txq_entries / 3; in efx_test_loopback() 544 state->packet_count = min(1 << (i << 2), state->packet_count); in efx_test_loopback() 545 state->skbs = kcalloc(state->packet_count, in efx_test_loopback() 554 state->packet_count); in efx_test_loopback() [all …]
|
| A D | tc_counters.c | 387 u64 packet_count, byte_count; in efx_tc_rx_version_1() local 391 packet_count = le32_to_cpu(*(const __le32 *)(entry + 4)) | in efx_tc_rx_version_1() 396 packet_count, byte_count, mark); in efx_tc_rx_version_1() 467 u64 packet_count, byte_count; in efx_tc_rx_version_2() local 479 packet_count = efx_tc_read48((const __le16 *)packet_count_p); in efx_tc_rx_version_2() 492 if (packet_count || byte_count != 1) in efx_tc_rx_version_2() 495 packet_count, byte_count); in efx_tc_rx_version_2() 500 efx_tc_counter_update(efx, type, counter_idx, packet_count, in efx_tc_rx_version_2()
|
| /drivers/net/ethernet/sfc/siena/ |
| A D | selftest.c | 87 int packet_count; member 426 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback() 457 i + 1, state->packet_count, in efx_begin_loopback() 489 for (i = 0; i < state->packet_count; i++) { in efx_end_loopback() 501 if (tx_done != state->packet_count) { in efx_end_loopback() 515 if (rx_good != state->packet_count) { in efx_end_loopback() 544 state->packet_count = efx->txq_entries / 3; in efx_test_loopback() 545 state->packet_count = min(1 << (i << 2), state->packet_count); in efx_test_loopback() 546 state->skbs = kcalloc(state->packet_count, in efx_test_loopback() 555 state->packet_count); in efx_test_loopback() [all …]
|
| /drivers/net/wireless/intel/iwlegacy/ |
| A D | 3945-rs.c | 176 u32 packet_count, duration, pps; in il3945_bg_rate_scale_flush() local 185 packet_count = (rs_sta->tx_packets - rs_sta->last_tx_packets) + 1; in il3945_bg_rate_scale_flush() 193 D_RATE("Tx'd %d packets in %dms\n", packet_count, duration); in il3945_bg_rate_scale_flush() 197 pps = (packet_count * 1000) / duration; in il3945_bg_rate_scale_flush() 213 packet_count); in il3945_bg_rate_scale_flush()
|
| A D | 4965-rs.c | 235 tl->total -= tl->packet_count[tl->head]; in il4965_rs_tl_rm_old_stats() 236 tl->packet_count[tl->head] = 0; in il4965_rs_tl_rm_old_stats() 277 tl->packet_count[0] = 1; in il4965_rs_tl_add_packet() 290 tl->packet_count[idx] = tl->packet_count[idx] + 1; in il4965_rs_tl_add_packet()
|
| /drivers/net/ethernet/microchip/ |
| A D | encx24j600.c | 359 static void encx24j600_rx_packets(struct encx24j600_priv *priv, u8 packet_count) in encx24j600_rx_packets() argument 363 while (packet_count--) { in encx24j600_rx_packets() 430 u8 packet_count; in encx24j600_isr() local 434 packet_count = encx24j600_read_reg(priv, ESTAT) & 0xff; in encx24j600_isr() 435 while (packet_count) { in encx24j600_isr() 436 encx24j600_rx_packets(priv, packet_count); in encx24j600_isr() 437 packet_count = encx24j600_read_reg(priv, ESTAT) & 0xff; in encx24j600_isr()
|
| /drivers/media/pci/pt1/ |
| A D | pt1.c | 96 int packet_count; member 469 offset = adap->packet_count * 188 + adap->upacket_count * 3; in pt1_filter() 477 if (++adap->packet_count >= 21) { in pt1_filter() 479 adap->packet_count = 0; in pt1_filter() 855 adap->packet_count = 0; in pt1_alloc_adapter() 1295 pt1->adaps[i]->packet_count = 0; in pt1_resume()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| A D | dm.c | 666 u32 packet_count; in rtl92ee_dm_dynamic_atc_switch() local 695 packet_count = rtldm->packet_count; in rtl92ee_dm_dynamic_atc_switch() 697 if (packet_count == rtldm->packet_count_pre) in rtl92ee_dm_dynamic_atc_switch() 700 rtldm->packet_count_pre = packet_count; in rtl92ee_dm_dynamic_atc_switch()
|
| A D | trx.c | 196 if (rtl_priv(hw)->dm.packet_count == 0xffffffff) in _rtl92ee_query_rxphystatus() 197 rtl_priv(hw)->dm.packet_count = 0; in _rtl92ee_query_rxphystatus() 199 rtl_priv(hw)->dm.packet_count++; in _rtl92ee_query_rxphystatus()
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_tc_flower.h | 42 u64 packet_count; member
|
| A D | cxgb4_tc_flower.c | 1083 if (ofld_stats->packet_count != packets) { in cxgb4_tc_flower_stats() 1087 packets - ofld_stats->packet_count, 0, in cxgb4_tc_flower_stats() 1091 ofld_stats->packet_count = packets; in cxgb4_tc_flower_stats()
|
| /drivers/net/ethernet/synopsys/ |
| A D | dwc-xlgmac-net.c | 1121 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()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| A D | dm.c | 1109 u32 packet_count; in rtl8723be_dm_dynamic_atc_switch() local 1136 packet_count = rtldm->packet_count; in rtl8723be_dm_dynamic_atc_switch() 1138 if (packet_count == rtldm->packet_count_pre) in rtl8723be_dm_dynamic_atc_switch() 1141 rtldm->packet_count_pre = packet_count; in rtl8723be_dm_dynamic_atc_switch()
|
| A D | trx.c | 170 if (rtl_priv(hw)->dm.packet_count == 0xffffffff) in _rtl8723be_query_rxphystatus() 171 rtl_priv(hw)->dm.packet_count = 0; in _rtl8723be_query_rxphystatus() 173 rtl_priv(hw)->dm.packet_count++; in _rtl8723be_query_rxphystatus()
|
| /drivers/usb/dwc2/ |
| A D | hcd_ddma.c | 539 if (qtd->isoc_frame_index_last == qtd->urb->packet_count) in dwc2_fill_host_isoc_dma_desc() 595 qtd->urb->packet_count) in dwc2_init_isoc_dma_desc() 600 qtd->urb->packet_count) { in dwc2_init_isoc_dma_desc() 974 for (idx = 0; idx < qtd->urb->packet_count; in dwc2_complete_isoc_xfer_ddma()
|
| A D | hcd.h | 169 u32 packet_count; member
|
| /drivers/net/wireless/intel/iwlwifi/dvm/ |
| A D | rs.h | 305 u32 packet_count[TID_QUEUE_MAX_SIZE]; /* packet count in this time member
|
| A D | rs.c | 234 tl->total -= tl->packet_count[tl->head]; in rs_tl_rm_old_stats() 235 tl->packet_count[tl->head] = 0; in rs_tl_rm_old_stats() 276 tl->packet_count[0] = 1; in rs_tl_add_packet() 289 tl->packet_count[index] = tl->packet_count[index] + 1; in rs_tl_add_packet()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| A D | dm.c | 2612 u32 packet_count; in rtl8821ae_dm_dynamic_atc_switch() local 2646 packet_count = rtldm->packet_count; in rtl8821ae_dm_dynamic_atc_switch() 2649 if (packet_count == rtldm->packet_count_pre) { in rtl8821ae_dm_dynamic_atc_switch() 2655 rtldm->packet_count_pre = packet_count; in rtl8821ae_dm_dynamic_atc_switch() 2658 rtldm->packet_count); in rtl8821ae_dm_dynamic_atc_switch()
|
| /drivers/infiniband/hw/hfi1/ |
| A D | trace.c | 499 unsigned long packet_count = atomic_fetch_inc(&hist.count); in hfi1_trace_print_rsm_hist() local 501 trace_seq_printf(p, "packet[%lu]", packet_count); in hfi1_trace_print_rsm_hist()
|
| /drivers/net/ethernet/amd/xgbe/ |
| A D | xgbe-drv.c | 2210 int packet_count = 0; in xgbe_rx_poll() local 2225 while (packet_count < budget) { in xgbe_rx_poll() 2375 packet_count++; in xgbe_rx_poll() 2387 DBGPR("<--xgbe_rx_poll: packet_count = %d\n", packet_count); in xgbe_rx_poll() 2389 return packet_count; in xgbe_rx_poll()
|
| /drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_hw.h | 311 u64 *packet_count);
|
| A D | prestera_hw.c | 643 __le64 packet_count; member 2229 u64 *packet_count) in prestera_hw_cpu_code_counters_get() argument 2243 *packet_count = __le64_to_cpu(resp.packet_count); in prestera_hw_cpu_code_counters_get()
|