Home
last modified time | relevance | path

Searched refs:rx_bytes (Results 1 – 25 of 651) sorted by relevance

12345678910>>...27

/Linux-v5.15/arch/s390/appldata/
Dappldata_net_sum.c44 u64 rx_bytes; /* total bytes received */ member
64 unsigned long rx_packets, tx_packets, rx_bytes, tx_bytes, rx_errors, in appldata_get_net_sum_data() local
73 rx_bytes = 0; in appldata_get_net_sum_data()
89 rx_bytes += stats->rx_bytes; in appldata_get_net_sum_data()
103 net_data->rx_bytes = rx_bytes; in appldata_get_net_sum_data()
/Linux-v5.15/drivers/spi/
Dspi-zynq-qspi.c142 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()
578 xqspi->rx_bytes = op->dummy.nbytes; in zynq_qspi_exec_mem_op()
[all …]
Dspi-npcm-pspi.c25 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()
Dspi-uniphier.c34 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()
Dspi-geni-qcom.c450 unsigned int rx_bytes; in geni_spi_handle_rx() local
457 rx_bytes = (rx_fifo_status & RX_FIFO_WC_MSK) * bytes_per_fifo_word; in geni_spi_handle_rx()
462 rx_bytes -= bytes_per_fifo_word - rx_last_byte_valid; in geni_spi_handle_rx()
467 for (i = 0; i < DIV_ROUND_UP(rx_bytes, bytes_per_fifo_word); i++) in geni_spi_handle_rx()
472 if (mas->rx_rem_bytes < rx_bytes) in geni_spi_handle_rx()
473 rx_bytes = mas->rx_rem_bytes; in geni_spi_handle_rx()
476 while (i < rx_bytes) { in geni_spi_handle_rx()
482 bytes_to_read = min(bytes_per_fifo_word, rx_bytes - i); in geni_spi_handle_rx()
487 mas->rx_rem_bytes -= rx_bytes; in geni_spi_handle_rx()
Dspi-img-spfi.c229 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()
Dspi-cadence.c123 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()
Dspi-qup.c144 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()
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.c384 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()
/Linux-v5.15/sound/firewire/fireface/
Dff-transaction.c28 snd_rawmidi_transmit_ack(substream, ff->rx_bytes[port]); in finish_transmit_midi_msg()
29 ff->rx_bytes[port] = 0; in finish_transmit_midi_msg()
68 if (ff->rx_bytes[port] > 0 || ff->rx_midi_error[port]) in transmit_midi_msg()
91 ff->rx_bytes[port] * 8 * (NSEC_PER_SEC / 31250)); in transmit_midi_msg()
/Linux-v5.15/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c28 pcpu_ptr->stats.rx_bytes += skb->len; in rmnet_vnd_rx_fixup()
143 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64()
150 s->rx_bytes = total_stats.rx_bytes; in rmnet_get_stats64()
/Linux-v5.15/include/net/
Dkcm.h31 unsigned long long rx_bytes; member
43 unsigned long long rx_bytes; member
188 SAVE_MUX_STATS(rx_bytes); in aggregate_mux_stats()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c271 unsigned int *rx_bytes, in i40e_handle_xdp_result_zc() argument
278 *rx_bytes = size; in i40e_handle_xdp_result_zc()
298 *rx_bytes = 0; in i40e_handle_xdp_result_zc()
304 *rx_bytes = 0; in i40e_handle_xdp_result_zc()
308 *rx_bytes = skb->len; in i40e_handle_xdp_result_zc()
338 unsigned int rx_bytes; in i40e_clean_rx_irq_zc() local
373 &rx_bytes, size, xdp_res); in i40e_clean_rx_irq_zc()
375 total_rx_bytes += rx_bytes; in i40e_clean_rx_irq_zc()
/Linux-v5.15/drivers/atm/
Dhorizon.c920 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 …]
/Linux-v5.15/net/l2tp/
Dl2tp_eth.c43 atomic_long_t rx_bytes; member
98 stats->rx_bytes = (unsigned long)atomic_long_read(&priv->rx_bytes); in l2tp_eth_get_stats64()
150 atomic_long_add(data_len, &priv->rx_bytes); in l2tp_eth_dev_recv()
/Linux-v5.15/drivers/net/
Difb.c45 u64 rx_bytes; member
139 bytes = txp->rx_bytes; in ifb_stats64()
142 stats->rx_bytes += bytes; in ifb_stats64()
241 txp->rx_bytes += skb->len; in ifb_xmit()
Dmhi_net.c21 u64_stats_t rx_bytes; member
109 stats->rx_bytes = u64_stats_read(&mhi_netdev->stats.rx_bytes); in mhi_ndo_get_stats64()
226 u64_stats_add(&mhi_netdev->stats.rx_bytes, skb->len); in mhi_net_dl_callback()
/Linux-v5.15/drivers/net/can/
Dvcan.c77 stats->rx_bytes += cfd->len; in vcan_rx()
108 stats->rx_bytes += cfd->len; in vcan_tx()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_tc_edt.sh71 cat /sys/class/net/veth_dst/statistics/rx_bytes )
79 cat /sys/class/net/veth_dst/statistics/rx_bytes )
/Linux-v5.15/drivers/i2c/busses/
Di2c-bcm-iproc.c212 unsigned int rx_bytes; member
351 u32 rx_bytes = 0; in bcm_iproc_i2c_slave_read() local
354 while (rx_bytes < MAX_SLAVE_RX_PER_INT) { in bcm_iproc_i2c_slave_read()
386 rx_bytes++; in bcm_iproc_i2c_slave_read()
538 while (iproc_i2c->rx_bytes < msg->len) { in bcm_iproc_i2c_read_valid_bytes()
545 msg->buf[iproc_i2c->rx_bytes] = in bcm_iproc_i2c_read_valid_bytes()
547 iproc_i2c->rx_bytes++; in bcm_iproc_i2c_read_valid_bytes()
598 bytes_left = msg->len - iproc_i2c->rx_bytes; in bcm_iproc_i2c_read()
919 iproc_i2c->rx_bytes = 0; in bcm_iproc_i2c_xfer_internal()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c54 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()
141 rbytes = repr_stats->rx_bytes; in nfp_repr_get_host_stats64()
148 stats->rx_bytes += rbytes; in nfp_repr_get_host_stats64()
/Linux-v5.15/tools/testing/selftests/wireguard/
Dnetns.sh167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev …
168 (( rx_bytes == 1372 && (tx_bytes == 1428 || tx_bytes == 1460) ))
169 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip1 -stats link show dev …
170 (( tx_bytes == 1372 && (rx_bytes == 1428 || rx_bytes == 1460) ))
171 read _ rx_bytes tx_bytes < <(n2 wg show wg0 transfer)
172 (( rx_bytes == 1372 && (tx_bytes == 1428 || tx_bytes == 1460) ))
173 read _ rx_bytes tx_bytes < <(n1 wg show wg0 transfer)
174 (( tx_bytes == 1372 && (rx_bytes == 1428 || rx_bytes == 1460) ))
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhv_vhca_stats.c11 u64 rx_bytes; member
25 data->rx_bytes = stats->rq.bytes; in mlx5e_hv_vhca_fill_ring_stats()
/Linux-v5.15/net/kcm/
Dkcmproc.c116 kcm->stats.rx_bytes, in kcm_format_sock()
197 mux->stats.rx_bytes, in kcm_format_mux()
298 mux_stats.rx_bytes, in kcm_stats_seq_show()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dvnic_main.c71 stats->netstats.rx_bytes += qnstats->rx_bytes; in hfi1_vnic_update_stats()
93 netdev->stats.rx_bytes = stats->netstats.rx_bytes; in hfi1_vnic_update_stats()
161 stats->netstats.rx_bytes += skb->len + ETH_FCS_LEN; in hfi1_vnic_update_rx_counters()

12345678910>>...27