Home
last modified time | relevance | path

Searched refs:tx_count (Results 1 – 25 of 101) sorted by relevance

12345

/openbmc/libmctp/tests/
H A Dtest_bridge.c20 int tx_count; member
35 binding->tx_count++; in mctp_binding_bridge_tx()
95 assert(ctx->bindings[0]->tx_count == 0); in main()
96 assert(ctx->bindings[1]->tx_count == 1); in main()
100 assert(ctx->bindings[1]->tx_count == 1); in main()
101 assert(ctx->bindings[0]->tx_count == 1); in main()
/openbmc/qemu/hw/char/
H A Dcadence_uart.c136 s->r[R_SR] |= !s->tx_count ? UART_SR_INTR_TEMPTY : 0; in uart_update_status()
163 s->tx_count = 0; in uart_tx_reset()
309 s->tx_count = 0; in cadence_uart_xmit()
313 if (!s->tx_count) { in cadence_uart_xmit()
320 s->tx_count -= ret; in cadence_uart_xmit()
324 if (s->tx_count) { in cadence_uart_xmit()
328 s->tx_count = 0; in cadence_uart_xmit()
345 size = CADENCE_UART_TX_FIFO_SIZE - s->tx_count; in uart_write_tx_fifo()
355 memcpy(s->tx_fifo + s->tx_count, buf, size); in uart_write_tx_fifo()
356 s->tx_count += size; in uart_write_tx_fifo()
[all …]
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c426 int tx_count; in wfx_tx_fill_rates() local
429 tx_count = arg->ack_failures; in wfx_tx_fill_rates()
431 tx_count += 1; /* Also report success */ in wfx_tx_fill_rates()
439 rate->count, tx_count); in wfx_tx_fill_rates()
440 if (tx_count <= rate->count && tx_count && in wfx_tx_fill_rates()
444 if (tx_count > rate->count) { in wfx_tx_fill_rates()
445 tx_count -= rate->count; in wfx_tx_fill_rates()
446 } else if (!tx_count) { in wfx_tx_fill_rates()
450 rate->count = tx_count; in wfx_tx_fill_rates()
451 tx_count = 0; in wfx_tx_fill_rates()
[all …]
H A Dtraces.h375 __array(int, tx_count, 4)
398 __entry->tx_count[i] = rates[i].count;
422 __entry->tx_count[0],
424 __entry->tx_count[1],
426 __entry->tx_count[2],
428 __entry->tx_count[3],
/openbmc/linux/net/ethtool/
H A Dchannels.c73 channels->tx_count))) || in channels_fill_reply()
123 max(channels.rx_count, channels.tx_count); in ethnl_set_channels()
127 ethnl_update_u32(&channels.tx_count, tb[ETHTOOL_A_CHANNELS_TX_COUNT], in ethnl_set_channels()
140 else if (channels.tx_count > channels.max_tx) in ethnl_set_channels()
157 else if (!channels.combined_count && !channels.tx_count) in ethnl_set_channels()
188 min(channels.rx_count, channels.tx_count); in ethnl_set_channels()
/openbmc/qemu/hw/net/
H A Dmipsnet.c36 uint32_t tx_count; member
52 s->tx_count = 0; in mipsnet_reset()
135 ret = s->tx_count; in mipsnet_ioport_read()
172 s->tx_count = (val <= MAX_ETH_FRAME_SIZE) ? val : 0; in mipsnet_ioport_write()
195 || (s->tx_written == s->tx_count)) { in mipsnet_ioport_write()
200 s->tx_count = s->tx_written = 0; in mipsnet_ioport_write()
225 VMSTATE_UINT32(tx_count, MIPSnetState),
/openbmc/linux/drivers/s390/net/
H A Dqeth_ethtool.c209 channels->tx_count = dev->real_num_tx_queues; in qeth_get_channels()
221 if (channels->rx_count == 0 || channels->tx_count == 0) in qeth_set_channels()
223 if (channels->tx_count > card->qdio.no_out_queues) in qeth_set_channels()
231 if (channels->tx_count < QETH_IQD_MIN_TXQ) in qeth_set_channels()
238 channels->tx_count < dev->real_num_tx_queues) in qeth_set_channels()
242 rc = qeth_set_real_num_tx_queues(card, channels->tx_count); in qeth_set_channels()
244 priv->tx_wanted_queues = channels->tx_count; in qeth_set_channels()
/openbmc/linux/drivers/spi/
H A Dspi-au1550.c47 unsigned int tx_count; member
312 hw->tx_count = 0; in au1550_spi_dma_txrxb()
408 return min(hw->rx_count, hw->tx_count); in au1550_spi_dma_txrxb()
460 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback()
488 hw->tx_count += (size) / 8; \
489 if (hw->tx_count >= hw->len) \
510 hw->tx_count = 0; in au1550_spi_pio_txrxb()
517 while (hw->tx_count < hw->len) { in au1550_spi_pio_txrxb()
521 if (hw->tx_count >= hw->len) { in au1550_spi_pio_txrxb()
542 return min(hw->rx_count, hw->tx_count); in au1550_spi_pio_txrxb()
[all …]
H A Dspi-img-spfi.c246 unsigned int tx_count, rx_count; in img_spfi_start_pio() local
249 tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes); in img_spfi_start_pio()
251 tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes); in img_spfi_start_pio()
258 tx_buf += tx_count; in img_spfi_start_pio()
260 tx_bytes -= tx_count; in img_spfi_start_pio()
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c136 int tx_count = adapter->num_tx_queues; in tsnep_ethtool_get_strings() local
152 for (i = 0; i < tx_count; i++) { in tsnep_ethtool_get_strings()
172 int tx_count = adapter->num_tx_queues; in tsnep_ethtool_get_ethtool_stats() local
229 for (i = 0; i < tx_count; i++) { in tsnep_ethtool_get_ethtool_stats()
244 int tx_count; in tsnep_ethtool_get_sset_count() local
249 tx_count = adapter->num_tx_queues; in tsnep_ethtool_get_sset_count()
252 TSNEP_TX_QUEUE_STATS_COUNT * tx_count; in tsnep_ethtool_get_sset_count()
/openbmc/linux/tools/net/ynl/samples/
H A Dethtool.c33 if (dev->_present.tx_count) in main()
34 printf("tx %d ", dev->tx_count); in main()
/openbmc/linux/drivers/net/hamradio/
H A Dyam.c120 int tx_count; member
596 yp->tx_count = 1; in yam_start_tx()
598 yp->tx_count = (yp->bitrate * yp->txd) / 8000; in yam_start_tx()
657 if (--yp->tx_count <= 0) { in yam_tx_byte()
678 yp->tx_count = 0; in yam_tx_byte()
685 b = yp->tx_buf[yp->tx_count++]; in yam_tx_byte()
690 if (yp->tx_count >= yp->tx_len) { in yam_tx_byte()
706 if (yp->tx_count == 0) in yam_tx_byte()
707 yp->tx_count = 1; in yam_tx_byte()
710 yp->tx_count = 1; in yam_tx_byte()
[all …]
/openbmc/linux/drivers/net/ethernet/apple/
H A Dmacmace.c64 int tx_slot, tx_sloti, tx_count; member
155 mp->tx_count = N_TX_RING; in mace_txdma_reset()
456 if (!mp->tx_count) { in mace_xmit_start()
461 mp->tx_count--; in mace_xmit_start()
581 if (!mp->tx_count) { in mace_interrupt()
599 if (mp->tx_count) in mace_interrupt()
624 mp->tx_count = N_TX_RING; in mace_tx_timeout()
733 mp->tx_count++; in mace_dma_intr()
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_fsm.h157 uint32_t tx_count; member
175 uint32_t tx_count; member
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c490 u32 rx_count, tx_count; in nicvf_set_ringparam() local
499 tx_count = clamp_t(u32, ring->tx_pending, in nicvf_set_ringparam()
504 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam()
508 qs->sq_len = rounddown_pow_of_two(tx_count); in nicvf_set_ringparam()
719 channel->tx_count = nic->tx_queues; in nicvf_get_channels()
731 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels()
735 if (channel->tx_count > nic->max_queues) in nicvf_set_channels()
738 if (channel->tx_count + channel->rx_count > nic->max_queues) { in nicvf_set_channels()
755 nic->tx_queues = channel->tx_count; in nicvf_set_channels()
/openbmc/qemu/include/hw/char/
H A Dcadence_uart.h48 uint32_t tx_count; member
/openbmc/linux/tools/include/uapi/linux/
H A Dethtool.h46 __u32 tx_count; member
/openbmc/linux/drivers/tty/
H A Dehv_bytechan.c202 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local
207 &rx_count, &tx_count); in udbg_init_ehv_bc()
350 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local
359 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c729 channels->tx_count = tx; in xgbe_get_channels()
737 channels->tx_count); in xgbe_print_set_channels_input()
785 if (channels->rx_count && channels->tx_count) { in xgbe_set_channels()
801 if ((channels->combined_count + channels->tx_count) > tx) { in xgbe_set_channels()
804 channels->combined_count + channels->tx_count, tx); in xgbe_set_channels()
810 tx = channels->combined_count + channels->tx_count; in xgbe_set_channels()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c282 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels()
293 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels()
308 err = otx2_set_real_num_queues(dev, channel->tx_count + qos_txqs, in otx2_set_channels()
314 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels()
403 u32 rx_count, tx_count; in otx2_set_ringparam() local
436 tx_count = clamp_t(u32, ring->tx_pending, in otx2_set_ringparam()
438 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); in otx2_set_ringparam()
440 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt && in otx2_set_ringparam()
448 qs->sqe_cnt = tx_count; in otx2_set_ringparam()
/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c143 emac->tx_ch_num = ch->tx_count; in emac_set_channels()
156 ch->tx_count = emac->tx_ch_num; in emac_get_channels()
/openbmc/linux/drivers/net/wan/
H A Dwanxlfw.S298 clrl tx_count(%d0)
448 cmpl #TX_BUFFERS, tx_count(%d0)
478 addl #1, tx_count(%d0)
563 tx_end: tstl tx_count(%d0)
576 subl #1, tx_count(%d0)
885 tx_count: .long 0, 0, 0, 0 // currently in transmit queue label
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Diowait.h117 u32 tx_count; member
421 w->iow->tx_count++; in iowait_inc_wait_count()
/openbmc/linux/sound/soc/sof/amd/
H A Dacp.c236 unsigned int tx_count, fw_qualifier, val; in configure_and_run_sha_dma() local
266 tx_count, tx_count == image_length, in configure_and_run_sha_dma()
269 dev_err(sdev->dev, "SHA DMA Failed to Transfer Length %x\n", tx_count); in configure_and_run_sha_dma()
/openbmc/linux/drivers/net/ethernet/sgi/
H A Dmeth.c80 unsigned long tx_read, tx_write, tx_count; member
217 priv->tx_count = priv->tx_read = priv->tx_write = 0; in meth_init_tx_ring()
473 return priv->tx_count >= TX_RING_ENTRIES - 1; in meth_tx_full()
527 priv->tx_count--; in meth_tx_cleanup()
693 priv->tx_count++; in meth_add_to_tx_ring()

12345