| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | data_tx.c | 466 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 D | traces.h | 375 __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/tools/net/ynl/samples/ |
| H A D | ethtool.c | |
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_ethtool.c | 149 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/tty/ |
| H A D | ehv_bytechan.c | 205 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/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 270 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/net/wan/ |
| H A D | wanxlfw.S | 298 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 D | TESTING | 122 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 D | epapr_hcalls.h | 369 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/spi/ |
| H A D | spi-loopback-test.c | 861 int i, tx_count, rx_count; in spi_test_run_iter() local 873 rx_count = tx_count = 0; in spi_test_run_iter() 876 tx_count++; in spi_test_run_iter() 884 if (tx_off && (!tx_count)) { in spi_test_run_iter()
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | txrx.c | 896 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 D | korina.c | 359 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 D | acp.c | 270 unsigned int tx_count, fw_qualifier, val; in configure_and_run_sha_dma() 313 tx_count, tx_count == image_length, in configure_and_run_sha_dma() 316 dev_err(sdev->dev, "SHA DMA Failed to Transfer Length %x\n", tx_count); in configure_and_run_sha_dma() 265 unsigned int tx_count, fw_qualifier, val; configure_and_run_sha_dma() local
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 503 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 D | mal.h | 285 u32 tx_count; member
|
| H A D | mal.c | 498 regs->tx_count = mal->num_tx_chans; in mal_dump_regs() 513 for (i = 0; i < regs->tx_count; ++i) in mal_dump_regs()
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_ethtool.c | 987 chan->tx_count = priv->plat->tx_queues_to_use; in stmmac_get_channels() 998 chan->tx_count > priv->dma_cap.number_tx_queues || in stmmac_set_channels() 999 !chan->rx_count || !chan->tx_count) in stmmac_set_channels() 1002 return stmmac_reinit_queues(dev, chan->rx_count, chan->tx_count); in stmmac_set_channels()
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-ethtool.c | 146 channel->tx_count = pdata->tx_q_count; in xlgmac_ethtool_get_channels()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_sriov.h | 505 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/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1592 ch->tx_count = fbn->num_tx_queues - ch->combined_count; in fbnic_get_channels() 1600 fbn->num_tx_queues = ch->tx_count + ch->combined_count; in fbnic_set_queues() 1601 fbn->num_napi = min(ch->rx_count + ch->tx_count + ch->combined_count, in fbnic_set_queues() 1615 standalone = ch->rx_count + ch->tx_count; in fbnic_set_channels() 1621 if ((ch->rx_count && ch->tx_count && ch->combined_count) || in fbnic_set_channels() 1624 ch->tx_count + ch->combined_count > fbd->max_num_queues || in fbnic_set_channels()
|
| /linux/drivers/tty/serial/ |
| H A D | msm_serial.c | 848 static void msm_handle_tx_pio(struct uart_port *port, unsigned int tx_count) in msm_handle_tx_pio() argument 861 if (tx_count && msm_port->is_uartdm) in msm_handle_tx_pio() 862 msm_reset_dm_count(port, tx_count); in msm_handle_tx_pio() 864 while (tf_pointer < tx_count) { in msm_handle_tx_pio() 871 num_chars = min(tx_count - tf_pointer, in msm_handle_tx_pio()
|
| /linux/drivers/net/ethernet/hisilicon/ |
| H A D | hip04_eth.c | 251 static inline unsigned int tx_count(unsigned int head, unsigned int tail) in tx_count() function 456 count = tx_count(READ_ONCE(priv->tx_head), tx_tail); in hip04_tx_reclaim() 515 count = tx_count(tx_head, READ_ONCE(priv->tx_tail)); in hip04_mac_start_xmit()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | mac.c | 956 int tx_count = 8; in mt7603_mac_write_txwi() local 974 tx_count = msta->rate_count; in mt7603_mac_write_txwi() 1037 tx_count = rate->count; in mt7603_mac_write_txwi() 1042 tx_count = 0x1f; in mt7603_mac_write_txwi() 1044 val = FIELD_PREP(MT_TXD3_REM_TX_COUNT, tx_count) | in mt7603_mac_write_txwi()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_ethtool.c | 1816 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/wireless/mediatek/mt76/ |
| H A D | mt76_connac3_mac.h | 424 u8 tx_count; /* TX attempts including retries */ member
|