Home
last modified time | relevance | path

Searched refs:tx_count (Results 1 - 25 of 180) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/staging/wfx/
H A Ddata_tx.c456 int tx_count; in wfx_tx_fill_rates() local
459 tx_count = arg->ack_failures; in wfx_tx_fill_rates()
461 tx_count += 1; // Also report success in wfx_tx_fill_rates()
466 if (tx_count < rate->count && in wfx_tx_fill_rates()
470 rate->count, tx_count); in wfx_tx_fill_rates()
471 if (tx_count <= rate->count && tx_count && in wfx_tx_fill_rates()
475 if (tx_count > rate->count) { in wfx_tx_fill_rates()
476 tx_count -= rate->count; in wfx_tx_fill_rates()
477 } else if (!tx_count) { in wfx_tx_fill_rates()
[all...]
H A Dtraces.h378 __array(int, tx_count, 4)
402 __entry->tx_count[i] = rates[i].count;
427 __entry->tx_count[0],
429 __entry->tx_count[1],
431 __entry->tx_count[2],
433 __entry->tx_count[3],
/kernel/linux/linux-6.6/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()
436 if (tx_count < rate->count && arg->status == HIF_STATUS_TX_FAIL_RETRIES && 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()
[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],
/kernel/linux/linux-5.10/net/ethtool/
H A Dchannels.c73 channels->tx_count))) || in channels_fill_reply()
142 max(channels.rx_count, channels.tx_count); in ethnl_set_channels()
146 ethnl_update_u32(&channels.tx_count, tb[ETHTOOL_A_CHANNELS_TX_COUNT], in ethnl_set_channels()
160 else if (channels.tx_count > channels.max_tx) in ethnl_set_channels()
178 else if (!channels.combined_count && !channels.tx_count) in ethnl_set_channels()
204 min(channels.rx_count, channels.tx_count); in ethnl_set_channels()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-au1550.c47 unsigned tx_count; member
313 hw->tx_count = 0; in au1550_spi_dma_txrxb()
409 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb()
439 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); in au1550_spi_dma_irq_callback()
461 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback()
489 hw->tx_count += (size) / 8; \
490 if (hw->tx_count >= hw->len) \
511 hw->tx_count = 0; in au1550_spi_pio_txrxb()
518 while (hw->tx_count < h in au1550_spi_pio_txrxb()
[all...]
/kernel/linux/linux-6.6/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()
438 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); in au1550_spi_dma_irq_callback()
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 > in au1550_spi_pio_txrxb()
[all...]
/kernel/linux/linux-5.10/drivers/s390/net/
H A Dqeth_ethtool.c206 channels->tx_count = dev->real_num_tx_queues; in qeth_get_channels()
218 if (channels->rx_count == 0 || channels->tx_count == 0) in qeth_set_channels()
220 if (channels->tx_count > card->qdio.no_out_queues) in qeth_set_channels()
228 if (channels->tx_count < QETH_IQD_MIN_TXQ) in qeth_set_channels()
235 channels->tx_count < dev->real_num_tx_queues) in qeth_set_channels()
239 rc = qeth_set_real_num_tx_queues(card, channels->tx_count); in qeth_set_channels()
241 priv->tx_wanted_queues = channels->tx_count; in qeth_set_channels()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/tools/net/ynl/samples/
H A Dethtool.c33 if (dev->_present.tx_count) in main()
34 printf("tx %d ", dev->tx_count); in main()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Difx6x60.c400 * @tx_count: bytes
407 static void ifx_spi_setup_spi_header(unsigned char *txbuffer, int tx_count, in ifx_spi_setup_spi_header() argument
410 *(u16 *)(txbuffer) = tx_count; in ifx_spi_setup_spi_header()
431 int tx_count; in ifx_spi_prepare_tx_buffer() local
438 tx_count = IFX_SPI_HEADER_OVERHEAD; in ifx_spi_prepare_tx_buffer()
457 tx_count += temp_count; in ifx_spi_prepare_tx_buffer()
468 tx_count-IFX_SPI_HEADER_OVERHEAD, in ifx_spi_prepare_tx_buffer()
471 ifx_dev->swap_buf((ifx_dev->tx_buffer), tx_count, in ifx_spi_prepare_tx_buffer()
473 return tx_count; in ifx_spi_prepare_tx_buffer()
493 int tx_count; in ifx_spi_write() local
[all...]
/kernel/linux/linux-5.10/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()
452 if (!mp->tx_count) { in mace_xmit_start()
457 mp->tx_count--; in mace_xmit_start()
577 if (!mp->tx_count) { in mace_interrupt()
595 if (mp->tx_count) in mace_interrupt()
620 mp->tx_count = N_TX_RING; in mace_tx_timeout()
729 mp->tx_count++; in mace_dma_intr()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c213 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels()
224 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels()
230 err = otx2_set_real_num_queues(dev, channel->tx_count, in otx2_set_channels()
236 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels()
315 u32 rx_count, tx_count; in otx2_set_ringparam() local
333 tx_count = clamp_t(u32, ring->tx_pending, in otx2_set_ringparam()
335 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); in otx2_set_ringparam()
337 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt) in otx2_set_ringparam()
344 qs->sqe_cnt = tx_count; in otx2_set_ringparam()
[all...]
/kernel/linux/linux-5.10/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()
703 yp->tx_count = (yp->bitrate * yp->txtail) / 8000; in yam_tx_byte()
705 yp->tx_count += (yp->bitrate * yp->holdd) / 8; in yam_tx_byte()
706 if (yp->tx_count in yam_tx_byte()
[all...]
/kernel/linux/linux-6.6/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()
703 yp->tx_count = (yp->bitrate * yp->txtail) / 8000; in yam_tx_byte()
705 yp->tx_count += (yp->bitrate * yp->holdd) / 8; in yam_tx_byte()
706 if (yp->tx_count in yam_tx_byte()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c483 u32 rx_count, tx_count; in nicvf_set_ringparam() local
492 tx_count = clamp_t(u32, ring->tx_pending, in nicvf_set_ringparam()
497 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam()
501 qs->sq_len = rounddown_pow_of_two(tx_count); in nicvf_set_ringparam()
712 channel->tx_count = nic->tx_queues; in nicvf_get_channels()
724 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels()
728 if (channel->tx_count > nic->max_queues) in nicvf_set_channels()
732 ((channel->tx_count + channel->rx_count) > nic->max_queues)) { in nicvf_set_channels()
743 nic->tx_queues = channel->tx_count; in nicvf_set_channels()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c722 channels->tx_count = tx; in xgbe_get_channels()
730 channels->tx_count); in xgbe_print_set_channels_input()
778 if (channels->rx_count && channels->tx_count) { in xgbe_set_channels()
794 if ((channels->combined_count + channels->tx_count) > tx) { in xgbe_set_channels()
797 channels->combined_count + channels->tx_count, tx); in xgbe_set_channels()
803 tx = channels->combined_count + channels->tx_count; in xgbe_set_channels()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
H A Dsynclink_cs.c153 int tx_count; member
972 info->tx_count = info->tx_put = info->tx_get = 0; in tx_done()
1014 if (!info->tx_count) in tx_ready()
1018 if (!info->tx_count) in tx_ready()
1021 while (info->tx_count && fifo_count) { in tx_ready()
1022 c = min(2, min_t(int, fifo_count, min(info->tx_count, TXBUFSIZE - info->tx_get))); in tx_ready()
1030 info->tx_count -= c; in tx_ready()
1036 if (info->tx_count < WAKEUP_CHARS) in tx_ready()
1040 if (info->tx_count) in tx_ready()
1375 info->tx_count in mgslpc_program_hw()
[all...]
/kernel/linux/linux-6.6/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()
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dethtool.h32 * @tx_count: Valid values are in the range 1 to the max_tx.
46 __u32 tx_count; member

Completed in 22 milliseconds

12345678