/drivers/spi/ |
D | spi-zynq-qspi.c | 142 int rx_bytes; member 256 xqspi->rx_bytes -= size; in zynq_qspi_rxfifo_op() 257 if (xqspi->rx_bytes < 0) in zynq_qspi_rxfifo_op() 258 xqspi->rx_bytes = 0; in zynq_qspi_rxfifo_op() 443 len = xqspi->rx_bytes - xqspi->tx_bytes; in zynq_qspi_read_op() 455 xqspi->rx_bytes -= count * 4; in zynq_qspi_read_op() 501 if (!xqspi->rx_bytes) { in zynq_qspi_irq() 544 xqspi->rx_bytes = op->cmd.nbytes; in zynq_qspi_exec_mem_op() 562 xqspi->rx_bytes = op->addr.nbytes; in zynq_qspi_exec_mem_op() 581 xqspi->rx_bytes = op->dummy.nbytes; in zynq_qspi_exec_mem_op() [all …]
|
D | spi-npcm-pspi.c | 25 unsigned int rx_bytes; member 167 priv->rx_bytes = t->len; in npcm_pspi_setup_transfer() 227 rsize = min(bytes_per_word(priv->bits_per_word), priv->rx_bytes); in npcm_pspi_recv() 228 priv->rx_bytes -= rsize; in npcm_pspi_recv() 321 if (!priv->rx_bytes) in npcm_pspi_handler() 326 if (!priv->rx_bytes) { in npcm_pspi_handler()
|
D | spi-uniphier.c | 34 unsigned int rx_bytes; member 226 priv->tx_bytes = priv->rx_bytes = t->len; in uniphier_spi_setup_transfer() 283 rsize = min(bytes_per_word(priv->bits_per_word), priv->rx_bytes); in uniphier_spi_recv() 284 priv->rx_bytes -= rsize; in uniphier_spi_recv() 322 fifo_threshold = DIV_ROUND_UP(priv->rx_bytes, bpw); in uniphier_spi_fill_tx_fifo() 328 DIV_ROUND_UP(priv->rx_bytes - priv->tx_bytes, bpw); in uniphier_spi_fill_tx_fifo() 508 while ((priv->rx_bytes - priv->tx_bytes) > 0) { in uniphier_spi_transfer_one_poll() 618 (priv->rx_bytes - priv->tx_bytes) > 0) in uniphier_spi_handler() 622 (priv->rx_bytes != priv->tx_bytes)) { in uniphier_spi_handler() 625 } else if (priv->rx_bytes == 0) in uniphier_spi_handler()
|
D | spi-geni-qcom.c | 443 unsigned int rx_bytes; in geni_spi_handle_rx() local 450 rx_bytes = (rx_fifo_status & RX_FIFO_WC_MSK) * bytes_per_fifo_word; in geni_spi_handle_rx() 455 rx_bytes -= bytes_per_fifo_word - rx_last_byte_valid; in geni_spi_handle_rx() 460 for (i = 0; i < DIV_ROUND_UP(rx_bytes, bytes_per_fifo_word); i++) in geni_spi_handle_rx() 465 if (mas->rx_rem_bytes < rx_bytes) in geni_spi_handle_rx() 466 rx_bytes = mas->rx_rem_bytes; in geni_spi_handle_rx() 469 while (i < rx_bytes) { in geni_spi_handle_rx() 475 bytes_to_read = min(bytes_per_fifo_word, rx_bytes - i); in geni_spi_handle_rx() 480 mas->rx_rem_bytes -= rx_bytes; in geni_spi_handle_rx()
|
D | spi-img-spfi.c | 229 unsigned int tx_bytes = 0, rx_bytes = 0; in img_spfi_start_pio() local 238 rx_bytes = xfer->len; in img_spfi_start_pio() 244 while ((tx_bytes > 0 || rx_bytes > 0) && in img_spfi_start_pio() 253 if (rx_bytes >= 4) in img_spfi_start_pio() 254 rx_count = spfi_pio_read32(spfi, rx_buf, rx_bytes); in img_spfi_start_pio() 256 rx_count = spfi_pio_read8(spfi, rx_buf, rx_bytes); in img_spfi_start_pio() 261 rx_bytes -= rx_count; in img_spfi_start_pio() 266 if (rx_bytes > 0 || tx_bytes > 0) { in img_spfi_start_pio()
|
D | spi-qup.c | 144 int rx_bytes; member 240 controller->rx_bytes, in spi_qup_read_from_fifo() 244 controller->rx_bytes += num_bytes; in spi_qup_read_from_fifo() 248 for (i = 0; i < num_bytes; i++, controller->rx_bytes++) { in spi_qup_read_from_fifo() 257 rx_buf[controller->rx_bytes] = word >> shift; in spi_qup_read_from_fifo() 267 remainder = DIV_ROUND_UP(spi_qup_len(controller) - controller->rx_bytes, in spi_qup_read() 587 controller->rx_bytes, controller->w_size); in spi_qup_data_pending() 704 controller->rx_bytes = 0; in spi_qup_io_config() 867 controller->rx_bytes = 0; in spi_qup_transfer_one()
|
D | spi-cadence.c | 123 int rx_bytes; member 362 trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq() 372 xspi->rx_bytes--; in cdns_spi_irq() 419 xspi->rx_bytes = transfer->len; in cdns_transfer_one()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_common.c | 384 u64 rx_bytes = 0; in fm10k_update_hw_stats_rx_q() local 398 rx_bytes = fm10k_read_hw_stats_48b(hw, in fm10k_update_hw_stats_rx_q() 400 &q->rx_bytes); in fm10k_update_hw_stats_rx_q() 415 q->rx_bytes.count += rx_bytes; in fm10k_update_hw_stats_rx_q() 421 fm10k_update_hw_base_48b(&q->rx_bytes, rx_bytes); in fm10k_update_hw_stats_rx_q()
|
/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_vnd.c | 27 pcpu_ptr->stats.rx_bytes += skb->len; in rmnet_vnd_rx_fixup() 142 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64() 149 s->rx_bytes = total_stats.rx_bytes; in rmnet_get_stats64()
|
/drivers/atm/ |
D | horizon.c | 920 unsigned int rx_bytes; in rx_schedule() local 928 rx_bytes = dev->rx_bytes; in rx_schedule() 948 if (rx_bytes) { in rx_schedule() 950 if (rx_bytes <= MAX_PIO_COUNT) { in rx_schedule() 954 if (rx_bytes <= MAX_TRANSFER_COUNT) { in rx_schedule() 956 dev->rx_bytes = 0; in rx_schedule() 959 dev->rx_bytes = rx_bytes - MAX_TRANSFER_COUNT; in rx_schedule() 960 rx_bytes = MAX_TRANSFER_COUNT; in rx_schedule() 975 rx_bytes = dev->rx_iovec->iov_len; in rx_schedule() 979 if (rx_bytes <= MAX_PIO_COUNT) { in rx_schedule() [all …]
|
/drivers/net/ |
D | ifb.c | 45 u64 rx_bytes; member 141 bytes = txp->rx_bytes; in ifb_stats64() 144 stats->rx_bytes += bytes; in ifb_stats64() 245 txp->rx_bytes += skb->len; in ifb_xmit()
|
/drivers/i2c/busses/ |
D | i2c-bcm-iproc.c | 211 unsigned int rx_bytes; member 350 u32 rx_bytes = 0; in bcm_iproc_i2c_slave_read() local 353 while (rx_bytes < MAX_SLAVE_RX_PER_INT) { in bcm_iproc_i2c_slave_read() 385 rx_bytes++; in bcm_iproc_i2c_slave_read() 526 while (iproc_i2c->rx_bytes < msg->len) { in bcm_iproc_i2c_read_valid_bytes() 533 msg->buf[iproc_i2c->rx_bytes] = in bcm_iproc_i2c_read_valid_bytes() 535 iproc_i2c->rx_bytes++; in bcm_iproc_i2c_read_valid_bytes() 586 bytes_left = msg->len - iproc_i2c->rx_bytes; in bcm_iproc_i2c_read() 907 iproc_i2c->rx_bytes = 0; in bcm_iproc_i2c_xfer_internal()
|
/drivers/net/can/ |
D | vcan.c | 77 stats->rx_bytes += cfd->len; in vcan_rx() 108 stats->rx_bytes += cfd->len; in vcan_tx()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.c | 54 stats->rx_bytes += len; in nfp_repr_inc_rx_stats() 69 stats->rx_bytes = readq(mem + NFP_MAC_STATS_RX_IN_OCTETS); in nfp_repr_phy_port_get_stats64() 85 stats->rx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_TX_OCTETS); in nfp_repr_vnic_get_stats64() 140 rbytes = repr_stats->rx_bytes; in nfp_repr_get_host_stats64() 147 stats->rx_bytes += rbytes; in nfp_repr_get_host_stats64()
|
/drivers/infiniband/hw/hfi1/ |
D | vnic_main.c | 113 stats->netstats.rx_bytes += qnstats->rx_bytes; in hfi1_vnic_update_stats() 135 netdev->stats.rx_bytes = stats->netstats.rx_bytes; in hfi1_vnic_update_stats() 203 stats->netstats.rx_bytes += skb->len + ETH_FCS_LEN; in hfi1_vnic_update_rx_counters()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | hv_vhca_stats.c | 11 u64 rx_bytes; member 25 data->rx_bytes = stats->rq.bytes; in mlx5e_hv_vhca_fill_ring_stats()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rx.c | 320 mdata->uapsd_nonagg_detect.rx_bytes += len; in iwl_mvm_rx_handle_tcm() 727 u32 rx_bytes = le32_to_cpu(rx_bytes_le[i]); in iwl_mvm_update_tcm_from_stats() local 731 mdata->uapsd_nonagg_detect.rx_bytes += rx_bytes; in iwl_mvm_update_tcm_from_stats() 736 rx_bytes * 8 / airtime); in iwl_mvm_update_tcm_from_stats() 805 stats->rx_bytes); in iwl_mvm_handle_rx_statistics_tlv()
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 1286 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local 1293 rx_bytes = stats->rx_bytes; in netvsc_get_vf_stats() 1299 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats() 1323 this_tot->vf_rx_bytes = stats->rx_bytes; in netvsc_get_pcpu_stats() 1328 this_tot->rx_bytes = this_tot->vf_rx_bytes; in netvsc_get_pcpu_stats() 1358 this_tot->rx_bytes += bytes; in netvsc_get_pcpu_stats() 1382 t->rx_bytes += vf_tot.rx_bytes; in netvsc_get_stats64() 1410 t->rx_bytes += bytes; in netvsc_get_stats64() 1470 offsetof(struct netvsc_ethtool_pcpu_stats, rx_bytes) }, 1485 { "vf_rx_bytes", offsetof(struct netvsc_vf_pcpu_stats, rx_bytes) }, [all …]
|
/drivers/net/wireless/marvell/libertas/ |
D | rx.c | 146 dev->stats.rx_bytes += skb->len; in lbs_process_rxed_packet() 261 dev->stats.rx_bytes += skb->len; in process_rxed_802_11_packet()
|
/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 142 rx_skb_alloc_fail, rx_bytes, tx_pkts, tx_bytes; in gve_get_ethtool_stats() local 167 for (rx_pkts = 0, rx_bytes = 0, rx_skb_alloc_fail = 0, in gve_get_ethtool_stats() 185 rx_bytes += tmp_rx_bytes; in gve_get_ethtool_stats() 209 data[i++] = rx_bytes; in gve_get_ethtool_stats()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_rx.c | 361 u64 pkt_len = 0, rx_bytes = 0; in rxq_recv() local 430 rx_bytes += pkt_len; in rxq_recv() 434 rx_bytes += ((num_lro - 1) * in rxq_recv() 454 rxq->rxq_stats.bytes += rx_bytes; in rxq_recv()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_port.c | 169 dev->stats.rx_bytes = bytes; in mlx4_en_fold_software_stats() 300 stats->rx_bytes = p_stats->rx_bytes_phy; in mlx4_en_DUMP_ETH_STATS() 390 priv->pf_stats.rx_bytes = be64_to_cpu(tmp_counter_stats.rx_bytes); in mlx4_en_DUMP_ETH_STATS()
|
/drivers/net/xen-netback/ |
D | interface.c | 275 u64 rx_bytes = 0; in xenvif_get_stats() local 287 rx_bytes += queue->stats.rx_bytes; in xenvif_get_stats() 295 vif->dev->stats.rx_bytes = rx_bytes; in xenvif_get_stats()
|
/drivers/net/ethernet/apm/xgene-v2/ |
D | main.h | 45 u64 rx_bytes; member
|
/drivers/net/ethernet/ti/ |
D | netcp_ethss.c | 302 u32 rx_bytes; member 333 u32 rx_bytes; member 468 u32 rx_bytes; member 652 u32 rx_bytes; member 820 GBE_STATSA_INFO(rx_bytes), 855 GBE_STATSB_INFO(rx_bytes), 890 GBE_STATSC_INFO(rx_bytes), 925 GBE_STATSD_INFO(rx_bytes), 1030 GBENU_STATS_HOST(rx_bytes), 1087 GBENU_STATS_P1(rx_bytes), [all …]
|