/drivers/net/can/c_can/ |
D | c_can.c | 696 u32 idx, obj, pkts = 0, bytes = 0, pend, clr; in c_can_do_tx() local 707 pkts++; in c_can_do_tx() 716 if (pkts) { in c_can_do_tx() 718 stats->tx_packets += pkts; in c_can_do_tx() 771 u32 pkts = 0, ctrl, obj; in c_can_read_objects() local 782 pkts += n; in c_can_read_objects() 800 pkts++; in c_can_read_objects() 804 return pkts; in c_can_read_objects() 830 u32 pkts = 0, pend = 0, toread, n; in c_can_do_rx_poll() local 856 pkts += n; in c_can_do_rx_poll() [all …]
|
/drivers/media/rc/ |
D | nuvoton-cir.c | 480 for (i = 0; i < nvt->pkts; i++) { 598 printk(KERN_DEBUG "%s (len %d): ", __func__, nvt->pkts); in nvt_dump_rx_buf() 599 for (i = 0; (i < nvt->pkts) && (i < RX_BUF_LEN); i++) in nvt_dump_rx_buf() 627 nvt_dbg_verbose("Processing buffer of len %d", nvt->pkts); in nvt_process_rx_ir_data() 631 for (i = 0; i < nvt->pkts; i++) { in nvt_process_rx_ir_data() 648 if ((sample == BUF_PULSE_BIT) && (i + 1 < nvt->pkts)) { in nvt_process_rx_ir_data() 654 nvt->pkts = 0; in nvt_process_rx_ir_data() 666 nvt->pkts = 0; in nvt_handle_rx_fifo_overrun() 695 b_idx = nvt->pkts; in nvt_get_rx_ir_data() 709 nvt->pkts += fifocount; in nvt_get_rx_ir_data() [all …]
|
D | fintek-cir.c | 300 for (i = 0; i < fintek->pkts; i++) { in fintek_process_rx_ir_data() 345 fintek->pkts = 0; in fintek_process_rx_ir_data() 370 fintek->buf[fintek->pkts] = sample; in fintek_get_rx_ir_data() 371 fintek->pkts++; in fintek_get_rx_ir_data()
|
D | fintek-cir.h | 68 unsigned int pkts; member
|
D | nuvoton-cir.h | 75 unsigned int pkts; member
|
/drivers/net/ethernet/smsc/ |
D | smc911x.c | 1011 unsigned int rx_overrun=0, cr, pkts; in smc911x_interrupt() local 1091 pkts = (fifo & RX_FIFO_INF_RXSUSED_) >> 16; in smc911x_interrupt() 1093 pkts, fifo & 0xFFFF); in smc911x_interrupt() 1094 if (pkts != 0) { in smc911x_interrupt() 1102 fifo |= pkts & 0xFF; in smc911x_interrupt() 1217 unsigned int pkts; in smc911x_rx_dma_irq() local 1233 pkts = (SMC_GET_RX_FIFO_INF(lp) & RX_FIFO_INF_RXSUSED_) >> 16; in smc911x_rx_dma_irq() 1234 if (pkts != 0) { in smc911x_rx_dma_irq() 1242 pkts); in smc911x_rx_dma_irq()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pci.c | 323 u64 bytes, pkts; in fm10k_update_stats() local 330 for (bytes = 0, pkts = 0, i = 0; i < interface->num_tx_queues; i++) { in fm10k_update_stats() 337 pkts += tx_ring->stats.packets; in fm10k_update_stats() 343 net_stats->tx_packets = pkts; in fm10k_update_stats() 346 for (bytes = 0, pkts = 0, i = 0; i < interface->num_rx_queues; i++) { in fm10k_update_stats() 350 pkts += rx_ring->stats.packets; in fm10k_update_stats() 357 net_stats->rx_packets = pkts; in fm10k_update_stats()
|
/drivers/net/caif/ |
D | caif_spi.c | 389 int pkts = 0; in cfspi_xmitlen() local 430 pkts++; in cfspi_xmitlen() 437 } while (pkts <= CAIF_MAX_SPI_PKTS); in cfspi_xmitlen()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_fcoe.c | 793 int pkts; in i40e_fcoe_handle_offload() local 798 pkts = DIV_ROUND_UP(rc, 2048); in i40e_fcoe_handle_offload() 800 rx_ring->stats.packets += pkts; in i40e_fcoe_handle_offload() 802 rx_ring->q_vector->rx.total_packets += pkts; in i40e_fcoe_handle_offload()
|
/drivers/net/can/m_can/ |
D | m_can.c | 421 u32 pkts = 0; in m_can_do_rx_poll() local 437 pkts++; in m_can_do_rx_poll() 441 if (pkts) in m_can_do_rx_poll() 444 return pkts; in m_can_do_rx_poll()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | adapter.h | 192 unsigned long pkts; /* # of ethernet packets */ member
|
D | sge.c | 1497 rxq->stats.pkts++; in do_gro() 1543 rxq->stats.pkts++; in t4vf_ethrx_handler()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 1200 u16 ctx_id, pkts, time; in qlcnic_sriov_validate_cfg_intrcoal() local 1206 pkts = cmd->req.arg[2] & 0xffff; in qlcnic_sriov_validate_cfg_intrcoal() 1211 if (ctx_id != vf->rx_ctx_id || pkts > coal->rx_packets || in qlcnic_sriov_validate_cfg_intrcoal() 1216 if (ctx_id != vf->tx_ctx_id || pkts > coal->tx_packets || in qlcnic_sriov_validate_cfg_intrcoal() 1233 ctx_id, pkts, time, type); in qlcnic_sriov_validate_cfg_intrcoal()
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 1614 int pkts; in pasemi_mac_poll() local 1617 pkts = pasemi_mac_clean_rx(rx_ring(mac), budget); in pasemi_mac_poll() 1618 if (pkts < budget) { in pasemi_mac_poll() 1625 return pkts; in pasemi_mac_poll()
|
/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 1582 u32 rate, pkts; in ath6kl_wmi_txe_notify_event_rx() local 1592 pkts = le32_to_cpu(ev->pkts); in ath6kl_wmi_txe_notify_event_rx() 1595 vif->bssid, rate, pkts, vif->txe_intvl); in ath6kl_wmi_txe_notify_event_rx() 1597 cfg80211_cqm_txe_notify(vif->ndev, vif->bssid, pkts, in ath6kl_wmi_txe_notify_event_rx() 1604 u32 rate, u32 pkts, u32 intvl) in ath6kl_wmi_set_txe_notify() argument 1615 cmd->pkts = cpu_to_le32(pkts); in ath6kl_wmi_set_txe_notify()
|
D | wmi.h | 2141 __le32 pkts; member 2148 __le32 pkts; member 2664 u32 rate, u32 pkts, u32 intvl);
|
/drivers/net/ethernet/emulex/benet/ |
D | be_hw.h | 347 u8 pkts[16]; /* dword 3 */ member
|
D | be_main.c | 588 u64 pkts, bytes; in be_get_stats64() local 597 pkts = rx_stats(rxo)->rx_pkts; in be_get_stats64() 600 stats->rx_packets += pkts; in be_get_stats64() 612 pkts = tx_stats(txo)->tx_pkts; in be_get_stats64() 615 stats->tx_packets += pkts; in be_get_stats64()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 473 unsigned long pkts; /* # of ethernet packets */ member 488 unsigned long pkts; /* # of packets */ member
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 115 u32 pkts; /* RO (0x4a8) Transmited pkt */ member
|
/drivers/net/ethernet/broadcom/ |
D | bcmsysport.h | 528 u32 pkts; /* RO (0x4a8) Transmited pkt */ member
|
/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 4299 unsigned long pkts, mcast, dropped, errors, bytes; in qlge_get_stats() local 4303 pkts = mcast = dropped = errors = bytes = 0; in qlge_get_stats() 4305 pkts += rx_ring->rx_packets; in qlge_get_stats() 4311 ndev->stats.rx_packets = pkts; in qlge_get_stats() 4318 pkts = errors = bytes = 0; in qlge_get_stats() 4320 pkts += tx_ring->tx_packets; in qlge_get_stats() 4324 ndev->stats.tx_packets = pkts; in qlge_get_stats()
|
/drivers/net/ethernet/freescale/ |
D | fec_main.c | 1614 int pkts; in fec_enet_rx_napi() local 1622 pkts = fec_enet_rx(ndev, budget); in fec_enet_rx_napi() 1626 if (pkts < budget) { in fec_enet_rx_napi() 1630 return pkts; in fec_enet_rx_napi()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 6243 u64 pkts, dropped, errors, bytes; in niu_get_rx_stats() local 6247 pkts = dropped = errors = bytes = 0; in niu_get_rx_stats() 6258 pkts += rp->rx_packets; in niu_get_rx_stats() 6265 stats->rx_packets = pkts; in niu_get_rx_stats() 6274 u64 pkts, errors, bytes; in niu_get_tx_stats() local 6278 pkts = errors = bytes = 0; in niu_get_tx_stats() 6287 pkts += rp->tx_packets; in niu_get_tx_stats() 6293 stats->tx_packets = pkts; in niu_get_tx_stats()
|
/drivers/net/wireless/ |
D | mwl8k.c | 336 u32 pkts; member 1850 tx_stats->pkts > MWL8K_AMPDU_PACKET_THRESHOLD; in mwl8k_ampdu_allowed() 1869 tx_stats->pkts = 0; in mwl8k_tx_count_packet() 1872 tx_stats->pkts++; in mwl8k_tx_count_packet()
|