Searched refs:rx_bytes (Results 26 - 50 of 661) sorted by relevance

1234567891011>>

/linux-master/drivers/spi/
H A Dspi-uniphier.c34 unsigned int rx_bytes; member in struct:uniphier_spi_priv
226 priv->tx_bytes = priv->rx_bytes = t->len;
283 rsize = min(bytes_per_word(priv->bits_per_word), priv->rx_bytes);
284 priv->rx_bytes -= rsize;
322 fifo_threshold = DIV_ROUND_UP(priv->rx_bytes, bpw);
328 DIV_ROUND_UP(priv->rx_bytes - priv->tx_bytes, bpw);
508 while ((priv->rx_bytes - priv->tx_bytes) > 0) {
618 (priv->rx_bytes - priv->tx_bytes) > 0)
622 (priv->rx_bytes != priv->tx_bytes)) {
625 } else if (priv->rx_bytes
[all...]
H A Dspi-img-spfi.c229 unsigned int tx_bytes = 0, rx_bytes = 0; local
238 rx_bytes = xfer->len;
244 while ((tx_bytes > 0 || rx_bytes > 0) &&
253 if (rx_bytes >= 4)
254 rx_count = spfi_pio_read32(spfi, rx_buf, rx_bytes);
256 rx_count = spfi_pio_read8(spfi, rx_buf, rx_bytes);
261 rx_bytes -= rx_count;
266 if (rx_bytes > 0 || tx_bytes > 0) {
H A Dspi-cadence.c110 * @rx_bytes: Number of bytes requested
124 int rx_bytes; member in struct:cdns_spi
314 nrx = clamp(nrx, 0, xspi->rx_bytes);
317 xspi->rx_bytes -= nrx;
376 int trans_cnt = xspi->rx_bytes - xspi->tx_bytes;
436 xspi->rx_bytes = transfer->len;
H A Dspi-qup.c148 int rx_bytes; member in struct:spi_qup
263 controller->rx_bytes,
267 controller->rx_bytes += num_bytes;
271 for (i = 0; i < num_bytes; i++, controller->rx_bytes++) {
280 rx_buf[controller->rx_bytes] = word >> shift;
290 remainder = DIV_ROUND_UP(spi_qup_len(controller) - controller->rx_bytes,
616 controller->rx_bytes, controller->w_size);
732 controller->rx_bytes = 0;
895 controller->rx_bytes = 0;
H A Dspi-geni-qcom.c785 unsigned int rx_bytes; local
792 rx_bytes = (rx_fifo_status & RX_FIFO_WC_MSK) * bytes_per_fifo_word;
797 rx_bytes -= bytes_per_fifo_word - rx_last_byte_valid;
802 for (i = 0; i < DIV_ROUND_UP(rx_bytes, bytes_per_fifo_word); i++)
807 if (mas->rx_rem_bytes < rx_bytes)
808 rx_bytes = mas->rx_rem_bytes;
811 while (i < rx_bytes) {
817 bytes_to_read = min(bytes_per_fifo_word, rx_bytes - i);
822 mas->rx_rem_bytes -= rx_bytes;
/linux-master/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c202 u64 tx_pkts = 0, rx_pkts = 0, tx_bytes = 0, rx_bytes = 0; local
256 rx_bytes += write;
278 net->rx_stats.bytes += rx_bytes;
290 u64 rx_pkts, rx_bytes, rx_errors, rx_overruns, rx_drops; local
301 rx_bytes = net->rx_stats.bytes;
317 rx_bytes, VDPA_ATTR_PAD))
/linux-master/net/kcm/
H A Dkcmproc.c116 kcm->stats.rx_bytes,
197 mux->stats.rx_bytes,
298 mux_stats.rx_bytes,
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_repr.c68 stats->rx_bytes = eth_stats->rx_bytes;
163 stats->rx_bytes = bytes;
/linux-master/net/l2tp/
H A Dl2tp_eth.c90 stats->rx_bytes = DEV_STATS_READ(dev, rx_bytes);
143 DEV_STATS_ADD(dev, rx_bytes, data_len);
/linux-master/drivers/net/ethernet/sun/
H A Dsunvnet_common.h41 u32 rx_bytes; member in struct:vnet_port_stats
/linux-master/include/uapi/linux/
H A Dppp-ioctl.h76 __aligned_u64 rx_bytes; member in struct:pppol2tp_ioc_stats
/linux-master/drivers/staging/rtl8712/
H A Dsta_info.h39 uint rx_bytes; member in struct:stainfo_stats
/linux-master/include/linux/
H A Dif_macvlan.h50 u64_stats_add(&pcpu_stats->rx_bytes, len);
/linux-master/drivers/net/
H A Dmhi_net.c21 u64_stats_t rx_bytes; member in struct:mhi_net_stats
109 stats->rx_bytes = u64_stats_read(&mhi_netdev->stats.rx_bytes);
226 u64_stats_add(&mhi_netdev->stats.rx_bytes, skb->len);
H A Dvsockmon.c48 dev_lstats_read(dev, &stats->rx_packets, &stats->rx_bytes);
H A Dnlmon.c43 dev_lstats_read(dev, &stats->rx_packets, &stats->rx_bytes);
/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c8 "rx_bytes",
22 u64 rx_bytes; member in struct:tsnep_stats
50 u64 rx_bytes; member in struct:tsnep_rx_queue_stats
182 tsnep_stats.rx_bytes += adapter->rx[i].bytes;
205 tsnep_rx_queue_stats.rx_bytes = adapter->rx[i].bytes;
/linux-master/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_rx.c359 u32 pkt, rx_bytes, desc_used; local
366 rx_bytes = 0;
397 rx_bytes += buff_info->len;
462 oq->stats.bytes += rx_bytes;
H A Doctep_ethtool.c19 "rx_bytes",
63 "rx_bytes[Q-%u]",
137 u64 rx_packets, rx_bytes; local
143 rx_bytes = 0;
151 rx_bytes = 0;
169 rx_bytes += oq->stats.bytes;
175 data[i++] = rx_bytes;
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_rx.c360 u32 pkt, rx_bytes, desc_used; local
366 rx_bytes = 0;
397 rx_bytes += buff_info->len;
462 oq->stats.bytes += rx_bytes;
/linux-master/drivers/i2c/busses/
H A Di2c-bcm-iproc.c202 unsigned int rx_bytes; member in struct:bcm_iproc_i2c_dev
362 u32 rx_bytes = 0; local
365 while (rx_bytes < MAX_SLAVE_RX_PER_INT) {
397 rx_bytes++;
548 while (iproc_i2c->rx_bytes < msg->len) {
555 msg->buf[iproc_i2c->rx_bytes] =
557 iproc_i2c->rx_bytes++;
608 bytes_left = msg->len - iproc_i2c->rx_bytes;
929 iproc_i2c->rx_bytes = 0;
/linux-master/drivers/net/wireless/marvell/libertas/
H A Drx.c146 dev->stats.rx_bytes += skb->len;
261 dev->stats.rx_bytes += skb->len;
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c54 stats->rx_bytes += len;
69 stats->rx_bytes = readq(mem + NFP_MAC_STATS_RX_IN_OCTETS);
85 stats->rx_bytes = readq(port->vnic + NFP_NET_CFG_STATS_TX_OCTETS);
141 rbytes = repr_stats->rx_bytes;
148 stats->rx_bytes += rbytes;
/linux-master/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c71 stats->netstats.rx_bytes += qnstats->rx_bytes;
93 netdev->stats.rx_bytes = stats->netstats.rx_bytes;
161 stats->netstats.rx_bytes += skb->len + ETH_FCS_LEN;
/linux-master/tools/testing/selftests/wireguard/
H A Dnetns.sh167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev wg0)
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 wg0)
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
[all...]

Completed in 254 milliseconds

1234567891011>>