Home
last modified time | relevance | path

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

12

/linux/net/ethtool/
H A Dchannels.c73 channels->tx_count))) || in channels_fill_reply()
122 max(channels.rx_count, channels.tx_count); in ethnl_set_channels()
126 ethnl_update_u32(&channels.tx_count, tb[ETHTOOL_A_CHANNELS_TX_COUNT], in ethnl_set_channels()
139 else if (channels.tx_count > channels.max_tx) in ethnl_set_channels()
156 else if (!channels.combined_count && !channels.tx_count) in ethnl_set_channels()
174 min(channels.rx_count, channels.tx_count); in ethnl_set_channels()
/linux/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c466 int tx_count; in wfx_tx_fill_rates() local
469 tx_count = arg->ack_failures; in wfx_tx_fill_rates()
471 tx_count += 1; /* Also report success */ in wfx_tx_fill_rates()
476 if (tx_count < rate->count && arg->status == HIF_STATUS_TX_FAIL_RETRIES && in wfx_tx_fill_rates()
479 rate->count, tx_count); in wfx_tx_fill_rates()
480 if (tx_count <= rate->count && tx_count && in wfx_tx_fill_rates()
484 if (tx_count > rate->count) { in wfx_tx_fill_rates()
485 tx_count -= rate->count; in wfx_tx_fill_rates()
486 } else if (!tx_count) { in wfx_tx_fill_rates()
490 rate->count = 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],
/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()
/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()
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 == 0) in yam_tx_byte()
[all …]
/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()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c149 emac->tx_ch_num = ch->tx_count; in emac_set_channels()
171 ch->tx_count = emac->tx_ch_num; in emac_get_channels()
174 ch->tx_count--; in emac_get_channels()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c268 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels()
279 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels()
294 err = otx2_set_real_num_queues(dev, channel->tx_count + qos_txqs, in otx2_set_channels()
300 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels()
394 u32 rx_count, tx_count; in otx2_set_ringparam() local
435 tx_count = clamp_t(u32, ring->tx_pending, in otx2_set_ringparam()
437 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); in otx2_set_ringparam()
439 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt && in otx2_set_ringparam()
447 qs->sqe_cnt = tx_count; in otx2_set_ringparam()
/linux/drivers/tty/
H A Dehv_bytechan.c205 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local
210 &rx_count, &tx_count); in udbg_init_ehv_bc()
353 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local
362 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr()
/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
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A DTESTING122 Ctrl: tx_count=0, tx_bytes=0, rx_count=0, rx_bytes=0
123 Bulk: tx_count=0, tx_bytes=0, rx_count=0, rx_bytes=0
/linux/arch/powerpc/include/asm/
H A Depapr_hcalls.h369 unsigned int *rx_count, unsigned int *tx_count) in ev_byte_channel_poll() argument
385 *tx_count = r5; in ev_byte_channel_poll()
/linux/drivers/net/wireless/st/cw1200/
H A Dtxrx.c896 int tx_count = arg->ack_failures; in cw1200_tx_confirm_cb() local
918 ++tx_count; in cw1200_tx_confirm_cb()
928 if (tx_count) in cw1200_tx_confirm_cb()
929 ++tx_count; in cw1200_tx_confirm_cb()
933 if (tx->status.rates[i].count >= tx_count) { in cw1200_tx_confirm_cb()
934 tx->status.rates[i].count = tx_count; in cw1200_tx_confirm_cb()
937 tx_count -= tx->status.rates[i].count; in cw1200_tx_confirm_cb()
/linux/drivers/net/ethernet/
H A Dkorina.c359 int tx_count; member
436 if (lp->tx_count >= (KORINA_NUM_TDS - 2)) { in korina_send_packet()
439 if (lp->tx_count == (KORINA_NUM_TDS - 2)) in korina_send_packet()
445 lp->tx_count++; in korina_send_packet()
832 lp->tx_count--; in korina_tx()
1003 lp->tx_full = lp->tx_count = 0; in korina_alloc_ring()
/linux/sound/soc/sof/amd/
H A Dacp.c265 unsigned int tx_count, fw_qualifier, val; in configure_and_run_sha_dma() local
307 tx_count, tx_count == image_length, in configure_and_run_sha_dma()
310 dev_err(sdev->dev, "SHA DMA Failed to Transfer Length %x\n", tx_count); in configure_and_run_sha_dma()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c1222 ch->tx_count = adapter->num_tx_qs - ch->combined_count; in be_get_channels()
1240 (ch->rx_count && ch->tx_count)) in be_set_channels()
1246 (ch->tx_count && in be_set_channels()
1247 (ch->tx_count + ch->combined_count) > be_max_tx_irqs(adapter))) in be_set_channels()
1251 adapter->cfg_num_tx_irqs = ch->combined_count + ch->tx_count; in be_set_channels()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_ethtool.c503 u32 max_rx = 0, max_tx = 0, tx_count = 0, rx_count = 0; in lio_ethtool_get_channels() local
512 tx_count = CFG_GET_NUM_TXQS_NIC_IF(conf6x, lio->ifidx); in lio_ethtool_get_channels()
537 channel->tx_count = tx_count; in lio_ethtool_get_channels()
617 channel->rx_count || channel->tx_count) in lio_ethtool_set_channels()
1265 u32 rx_count, tx_count, rx_count_old, tx_count_old; in lio_ethtool_set_ringparam() local
1278 tx_count = clamp_t(u32, ering->tx_pending, CN23XX_MIN_IQ_DESCRIPTORS, in lio_ethtool_set_ringparam()
1284 if (rx_count == rx_count_old && tx_count == tx_count_old) in lio_ethtool_set_ringparam()
1295 if (tx_count != tx_count_old) in lio_ethtool_set_ringparam()
1297 tx_count); in lio_ethtool_set_ringparam()
1313 if (tx_count != tx_count_old) in lio_ethtool_set_ringparam()
/linux/drivers/net/ethernet/ibm/emac/
H A Dmal.h285 u32 tx_count; member
H A Dmal.c491 regs->tx_count = mal->num_tx_chans; in mal_dump_regs()
506 for (i = 0; i < regs->tx_count; ++i) in mal_dump_regs()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c1062 channels->tx_count = edev->fp_num_tx; in qede_get_channels()
1074 channels->rx_count, channels->tx_count, in qede_set_channels()
1077 count = channels->rx_count + channels->tx_count + in qede_set_channels()
1088 channels->tx_count))) { in qede_set_channels()
1103 (channels->tx_count == edev->fp_num_tx) && in qede_set_channels()
1112 (channels->tx_count % edev->dev_info.common.num_hwfns) || in qede_set_channels()
1122 edev->req_num_tx = channels->tx_count; in qede_set_channels()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.h505 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count);
584 u8 tx_count, u8 rx_count) {return 0; } in bnx2x_vfpf_acquire() argument
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-ethtool.c146 channel->tx_count = pdata->tx_q_count; in xlgmac_ethtool_get_channels()
/linux/drivers/i3c/master/
H A Drenesas-i3c.c224 u32 tx_count; member
378 cmd->tx_count = cmd->len; in renesas_i3c_start_xfer_locked()
781 cmd->tx_count = 0; in renesas_i3c_send_ccc_cmd()
830 cmd->tx_count = 0; in renesas_i3c_i3c_xfers()
/linux/drivers/net/ipa/
H A Dipa_endpoint.c1992 u32 tx_count; in ipa_endpoint_config() local
2026 tx_count = reg_decode(reg, MAX_CONS_PIPES, val); in ipa_endpoint_config()
2052 bitmap_set(ipa->available, 0, tx_count); in ipa_endpoint_config()
2073 if (endpoint_id < tx_count) in ipa_endpoint_config()
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c251 channel->tx_count = SXGBE_TX_QUEUES; in sxgbe_get_channels()

12