Home
last modified time | relevance | path

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

12345678910>>...22

/drivers/i2c/busses/
Di2c-bcm-iproc.c104 unsigned int tx_bytes; member
125 unsigned int tx_bytes = msg->len - iproc_i2c->tx_bytes; in bcm_iproc_i2c_isr() local
130 tx_bytes = min_t(unsigned int, tx_bytes, M_TX_RX_FIFO_SIZE); in bcm_iproc_i2c_isr()
131 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_isr()
133 unsigned int idx = iproc_i2c->tx_bytes + i; in bcm_iproc_i2c_isr()
156 iproc_i2c->tx_bytes += tx_bytes; in bcm_iproc_i2c_isr()
257 unsigned int tx_bytes; in bcm_iproc_i2c_xfer_single_msg() local
278 tx_bytes = min_t(unsigned int, msg->len, M_TX_RX_FIFO_SIZE - 1); in bcm_iproc_i2c_xfer_single_msg()
280 for (i = 0; i < tx_bytes; i++) { in bcm_iproc_i2c_xfer_single_msg()
289 iproc_i2c->tx_bytes = tx_bytes; in bcm_iproc_i2c_xfer_single_msg()
[all …]
/drivers/net/team/
Dteam_mode_loadbalance.c44 u64 tx_bytes; member
203 static void lb_update_tx_stats(unsigned int tx_bytes, struct lb_priv *lb_priv, in lb_update_tx_stats() argument
215 port_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
216 hash_stats->tx_bytes += tx_bytes; in lb_update_tx_stats()
226 unsigned int tx_bytes = skb->len; in lb_transmit() local
235 lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); in lb_transmit()
468 tmp.tx_bytes = cpu_stats->tx_bytes; in __lb_one_cpu_stats_add()
470 acc_stats->tx_bytes += tmp.tx_bytes; in __lb_one_cpu_stats_add()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.c348 u64 tx_bytes = 0; in fm10k_update_hw_stats_tx_q() local
359 tx_bytes = fm10k_read_hw_stats_48b(hw, in fm10k_update_hw_stats_tx_q()
361 &q->tx_bytes); in fm10k_update_hw_stats_tx_q()
375 q->tx_bytes.count += tx_bytes; in fm10k_update_hw_stats_tx_q()
380 fm10k_update_hw_base_48b(&q->tx_bytes, tx_bytes); in fm10k_update_hw_stats_tx_q()
/drivers/atm/
Dhorizon.c1099 unsigned int tx_bytes; in tx_schedule() local
1109 tx_bytes = dev->tx_bytes; in tx_schedule()
1125 if (tx_bytes) { in tx_schedule()
1127 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
1131 if (tx_bytes <= MAX_TRANSFER_COUNT) { in tx_schedule()
1137 dev->tx_bytes = 0; in tx_schedule()
1140 dev->tx_bytes = tx_bytes - MAX_TRANSFER_COUNT; in tx_schedule()
1141 tx_bytes = MAX_TRANSFER_COUNT; in tx_schedule()
1151 tx_bytes = dev->tx_iovec->iov_len; in tx_schedule()
1155 if (!test_bit (ultra, &dev->flags) || tx_bytes <= MAX_PIO_COUNT) { in tx_schedule()
[all …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c65 stats->tx_bytes += len; in nfp_repr_inc_tx_stats()
88 stats->tx_bytes = readq(mem + NFP_MAC_STATS_TX_OUT_OCTETS); in nfp_repr_phy_port_get_stats64()
104 stats->tx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_RX_OCTETS); in nfp_repr_vnic_get_stats64()
160 tbytes = repr_stats->tx_bytes; in nfp_repr_get_host_stats64()
167 stats->tx_bytes += tbytes; in nfp_repr_get_host_stats64()
Dnfp_net_repr.h66 u64 tx_bytes; member
/drivers/spi/
Dspi-cadence.c125 int tx_bytes; member
315 (xspi->tx_bytes > 0)) { in cdns_spi_fill_tx_fifo()
329 xspi->tx_bytes--; in cdns_spi_fill_tx_fifo()
369 trans_cnt = xspi->rx_bytes - xspi->tx_bytes; in cdns_spi_irq()
383 if (xspi->tx_bytes) { in cdns_spi_irq()
425 xspi->tx_bytes = transfer->len; in cdns_transfer_one()
Dspi-img-spfi.c237 unsigned int tx_bytes = 0, rx_bytes = 0; in img_spfi_start_pio() local
244 tx_bytes = xfer->len; in img_spfi_start_pio()
252 while ((tx_bytes > 0 || rx_bytes > 0) && in img_spfi_start_pio()
256 if (tx_bytes >= 4) in img_spfi_start_pio()
257 tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes); in img_spfi_start_pio()
259 tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes); in img_spfi_start_pio()
268 tx_bytes -= tx_count; in img_spfi_start_pio()
274 if (rx_bytes > 0 || tx_bytes > 0) { in img_spfi_start_pio()
Dspi-qup.c151 int tx_bytes; member
330 controller->tx_bytes, in spi_qup_write_to_fifo()
334 data = tx_buf[controller->tx_bytes + i]; in spi_qup_write_to_fifo()
338 controller->tx_bytes += num_bytes; in spi_qup_write_to_fifo()
356 remainder = DIV_ROUND_UP(spi_qup_len(controller) - controller->tx_bytes, in spi_qup_write()
674 controller->tx_bytes = 0; in spi_qup_io_config()
837 controller->tx_bytes = 0; in spi_qup_transfer_one()
/drivers/net/
Difb.c53 u64 tx_bytes; member
86 txp->tx_bytes += skb->len; in ifb_ri_tasklet()
150 bytes = txp->tx_bytes; in ifb_stats64()
153 stats->tx_bytes += bytes; in ifb_stats64()
Ddummy.c95 u64 tx_bytes; member
112 tbytes = dstats->tx_bytes; in dummy_get_stats64()
115 stats->tx_bytes += tbytes; in dummy_get_stats64()
126 dstats->tx_bytes += skb->len; in dummy_xmit()
/drivers/usb/serial/
Dir-usb.c281 port->tx_bytes += count; in ir_write()
308 port->tx_bytes -= count; in ir_write()
325 port->tx_bytes -= urb->transfer_buffer_length - 1; in ir_write_bulk_callback()
Dgeneric.c189 port->tx_bytes += count; in usb_serial_generic_write_start()
199 port->tx_bytes -= count; in usb_serial_generic_write_start()
267 chars = kfifo_len(&port->write_fifo) + port->tx_bytes; in usb_serial_generic_chars_in_buffer()
459 port->tx_bytes -= urb->transfer_buffer_length; in usb_serial_generic_write_bulk_callback()
/drivers/net/xen-netback/
Dinterface.c244 u64 tx_bytes = 0; in xenvif_get_stats() local
256 tx_bytes += queue->stats.tx_bytes; in xenvif_get_stats()
264 vif->dev->stats.tx_bytes = tx_bytes; in xenvif_get_stats()
/drivers/net/ethernet/mellanox/mlx4/
Den_port.c180 dev->stats.tx_bytes = bytes; in mlx4_en_fold_software_stats()
259 stats->tx_bytes = en_stats_adder(&mlx4_en_stats->TOCT_prio_0, in mlx4_en_DUMP_ETH_STATS()
375 priv->pf_stats.tx_bytes = be64_to_cpu(tmp_counter_stats.tx_bytes); in mlx4_en_DUMP_ETH_STATS()
/drivers/net/ethernet/ti/
Dnetcp_ethss.c305 u32 tx_bytes; member
344 u32 tx_bytes; member
479 u32 tx_bytes; member
661 u32 tx_bytes; member
827 GBE_STATSA_INFO(tx_bytes),
862 GBE_STATSB_INFO(tx_bytes),
897 GBE_STATSC_INFO(tx_bytes),
932 GBE_STATSD_INFO(tx_bytes),
1028 GBENU_STATS_HOST(tx_bytes),
1094 GBENU_STATS_P1(tx_bytes),
[all …]
/drivers/net/ethernet/tile/
Dtilepro.c157 u64 tx_bytes; /* total bytes transmitted */ member
1828 stats->tx_bytes += (num_segs * sh_len) + d_len; in tile_net_tx_tso()
2012 stats->tx_bytes += ((len >= ETH_ZLEN) ? len : ETH_ZLEN); in tile_net_tx()
2055 u64 rx_bytes = 0, tx_bytes = 0; in tile_net_get_stats64() local
2074 ttx_bytes = cpu_stats->tx_bytes; in tile_net_get_stats64()
2082 tx_bytes += ttx_bytes; in tile_net_get_stats64()
2090 stats->tx_bytes = tx_bytes; in tile_net_get_stats64()
/drivers/net/ipvlan/
Dipvlan_main.c283 pcptr->tx_bytes += skblen; in ipvlan_start_xmit()
342 u64 rx_pkts, rx_bytes, rx_mcast, tx_pkts, tx_bytes; in ipvlan_get_stats64() local
355 tx_bytes = pcptr->tx_bytes; in ipvlan_get_stats64()
363 s->tx_bytes += tx_bytes; in ipvlan_get_stats64()
/drivers/net/ethernet/apm/xgene-v2/
Dmain.h56 u64 tx_bytes; member
/drivers/tty/serial/
Dserial-tegra.c116 unsigned int tx_bytes; member
395 tup->tx_bytes = bytes; in tegra_uart_start_pio_tx()
429 tup->tx_bytes = count & ~(0xF); in tegra_uart_start_tx_dma()
432 tx_phys_addr, tup->tx_bytes, DMA_MEM_TO_DEV, in tegra_uart_start_tx_dma()
442 tup->tx_bytes_requested = tup->tx_bytes; in tegra_uart_start_tx_dma()
515 tegra_uart_fill_tx_fifo(tup, tup->tx_bytes); in tegra_uart_handle_tx_pio()
1045 tup->tx_bytes = 0; in tegra_uart_flush_buffer()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c98 pkt_info->tx_bytes += (pkt_info->tx_packets - 1) * pkt_info->header_len; in xlgmac_prep_tso()
130 pkt_info->tx_bytes = skb->len; in xlgmac_prep_tx_pkt()
754 netdev_tx_sent_queue(txq, tx_pkt_info->tx_bytes); in xlgmac_xmit()
788 s->tx_bytes = pstats->txoctetcount_gb; in xlgmac_get_stats64()
1040 unsigned int tx_packets = 0, tx_bytes = 0; in xlgmac_tx_poll() local
1081 tx_bytes += desc_data->tx.bytes; in xlgmac_tx_poll()
1095 netdev_tx_completed_queue(txq, tx_packets, tx_bytes); in xlgmac_tx_poll()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c65 { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_bytes) },
102 vport_stats->rx_bytes = vf_stats.tx_bytes; in mlx5e_rep_update_hw_counters()
104 vport_stats->tx_bytes = vf_stats.rx_bytes; in mlx5e_rep_update_hw_counters()
127 s->tx_bytes += sq_stats->bytes; in mlx5e_rep_update_sw_counters()
763 stats->tx_bytes = sstats->tx_bytes; in mlx5e_get_sw_stats64()
/drivers/net/fjes/
Dfjes_main.c690 adapter->stats64.tx_bytes += len; in fjes_xmit_frame()
691 hw->ep_shm_info[my_epid].net_stats.tx_bytes += len; in fjes_xmit_frame()
700 adapter->stats64.tx_bytes += len; in fjes_xmit_frame()
701 hw->ep_shm_info[my_epid].net_stats.tx_bytes += len; in fjes_xmit_frame()
789 adapter->stats64.tx_bytes += len; in fjes_xmit_frame()
791 .tx_bytes += len; in fjes_xmit_frame()
805 adapter->stats64.tx_bytes += 1; in fjes_xmit_frame()
806 hw->ep_shm_info[my_epid].net_stats.tx_bytes += len; in fjes_xmit_frame()
/drivers/net/hyperv/
Dnetvsc_drv.c512 pcpu_stats->tx_bytes += len; in netvsc_vf_xmit()
1156 u64 rx_packets, rx_bytes, tx_packets, tx_bytes; in netvsc_get_vf_stats() local
1164 tx_bytes = stats->tx_bytes; in netvsc_get_vf_stats()
1170 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats()
1195 t->tx_bytes += vf_tot.tx_bytes; in netvsc_get_stats64()
1211 t->tx_bytes += bytes; in netvsc_get_stats64()
1278 { "vf_tx_bytes", offsetof(struct netvsc_vf_pcpu_stats, tx_bytes) },
/drivers/infiniband/hw/hfi1/
Dvnic_main.c234 stats->netstats.tx_bytes += qnstats->tx_bytes; in hfi1_vnic_update_stats()
265 netdev->stats.tx_bytes = stats->netstats.tx_bytes; in hfi1_vnic_update_stats()
311 stats->netstats.tx_bytes += skb->len + ETH_FCS_LEN; in hfi1_vnic_update_tx_counters()

12345678910>>...22