Home
last modified time | relevance | path

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

12

/drivers/net/can/c_can/
Dc_can.c696 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/
Dnuvoton-cir.c480 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 …]
Dfintek-cir.c300 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()
Dfintek-cir.h68 unsigned int pkts; member
Dnuvoton-cir.h75 unsigned int pkts; member
/drivers/net/ethernet/smsc/
Dsmc911x.c1011 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/
Dfm10k_pci.c323 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/
Dcaif_spi.c389 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/
Di40e_fcoe.c793 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/
Dm_can.c421 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/
Dadapter.h192 unsigned long pkts; /* # of ethernet packets */ member
Dsge.c1497 rxq->stats.pkts++; in do_gro()
1543 rxq->stats.pkts++; in t4vf_ethrx_handler()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c1200 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/
Dpasemi_mac.c1614 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/
Dwmi.c1582 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()
Dwmi.h2141 __le32 pkts; member
2148 __le32 pkts; member
2664 u32 rate, u32 pkts, u32 intvl);
/drivers/net/ethernet/emulex/benet/
Dbe_hw.h347 u8 pkts[16]; /* dword 3 */ member
Dbe_main.c588 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/
Dcxgb4.h473 unsigned long pkts; /* # of ethernet packets */ member
488 unsigned long pkts; /* # of packets */ member
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h115 u32 pkts; /* RO (0x4a8) Transmited pkt */ member
/drivers/net/ethernet/broadcom/
Dbcmsysport.h528 u32 pkts; /* RO (0x4a8) Transmited pkt */ member
/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c4299 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/
Dfec_main.c1614 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/
Dniu.c6243 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/
Dmwl8k.c336 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()

12