Home
last modified time | relevance | path

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

123

/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/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.c270 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels()
281 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels()
296 err = otx2_set_real_num_queues(dev, channel->tx_count + qos_txqs, in otx2_set_channels()
302 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels()
396 u32 rx_count, tx_count; in otx2_set_ringparam() local
437 tx_count = clamp_t(u32, ring->tx_pending, in otx2_set_ringparam()
439 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); in otx2_set_ringparam()
441 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt && in otx2_set_ringparam()
449 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()
H A Dsynclink_gt.c288 int tx_count; member
768 if (info->tx_count) { in write()
770 if (!tx_load(info, info->tx_buf, info->tx_count)) in write()
772 info->tx_count = 0; in write()
796 if (info->tx_count < info->max_frame_size) { in put_char()
797 info->tx_buf[info->tx_count++] = ch; in put_char()
882 DBGINFO(("%s flush_chars entry tx_count=%d\n", info->device_name, info->tx_count)); in flush_chars()
884 if (info->tx_count <= 0 || tty->flow.stopped || in flush_chars()
891 if (info->tx_count && tx_load(info, info->tx_buf, info->tx_count)) in flush_chars()
892 info->tx_count = 0; in flush_chars()
[all …]
/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/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/meta/fbnic/
H A Dfbnic_ethtool.c1500 ch->tx_count = fbn->num_tx_queues - ch->combined_count; in fbnic_get_channels()
1508 fbn->num_tx_queues = ch->tx_count + ch->combined_count; in fbnic_set_queues()
1509 fbn->num_napi = min(ch->rx_count + ch->tx_count + ch->combined_count, in fbnic_set_queues()
1523 standalone = ch->rx_count + ch->tx_count; in fbnic_set_channels()
1529 if ((ch->rx_count && ch->tx_count && ch->combined_count) || in fbnic_set_channels()
1532 ch->tx_count + ch->combined_count > fbd->max_num_queues || in fbnic_set_channels()
/linux/drivers/gpu/drm/bridge/
H A Dsil-sii8620.c99 int tx_count; member
605 u8 *buf = &ctx->burst.tx_buf[ctx->burst.tx_count]; in sii8620_burst_get_tx_buf()
608 if (ctx->burst.tx_count + size >= ARRAY_SIZE(ctx->burst.tx_buf)) { in sii8620_burst_get_tx_buf()
614 ctx->burst.tx_count += size; in sii8620_burst_get_tx_buf()
639 int tx_left = ctx->burst.tx_count; in sii8620_burst_send()
655 ctx->burst.tx_count = tx_left; in sii8620_burst_send()
/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.c226 u32 tx_count; member
383 cmd->tx_count = cmd->len; in renesas_i3c_start_xfer_locked()
798 cmd->tx_count = 0; in renesas_i3c_send_ccc_cmd()
847 cmd->tx_count = 0; in renesas_i3c_i3c_xfers()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1816 channel->tx_count = priv->tx_ring_num[TX] / in mlx4_en_get_channels()
1833 if (!channel->tx_count || !channel->rx_count) in mlx4_en_set_channels()
1842 total_tx_count = channel->tx_count * priv->prof->num_up + xdp_count; in mlx4_en_set_channels()
1852 new_prof.num_tx_rings_p_up = channel->tx_count; in mlx4_en_set_channels()
1853 new_prof.tx_ring_num[TX] = channel->tx_count * priv->prof->num_up; in mlx4_en_set_channels()
/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()

123