/linux/net/ethtool/ |
H A D | channels.c | 73 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 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() [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/drivers/s390/net/ |
H A D | qeth_ethtool.c | 209 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()
|
/linux/drivers/spi/ |
H A D | spi-au1550.c | 47 unsigned int tx_count; member 312 hw->tx_count = 0; in au1550_spi_dma_txrxb() 399 return min(hw->rx_count, hw->tx_count); in au1550_spi_dma_txrxb() 429 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); in au1550_spi_dma_irq_callback() 451 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback() 479 hw->tx_count += (size) / 8; \ 480 if (hw->tx_count >= hw->len) \ 501 hw->tx_count = 0; in au1550_spi_pio_txrxb() 508 while (hw->tx_count < hw->len) { in au1550_spi_pio_txrxb() 512 if (hw->tx_count > in au1550_spi_pio_txrxb() [all...] |
H A D | spi-img-spfi.c | 246 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()
|
H A D | spi-loopback-test.c | 862 int i, tx_count, rx_count; in spi_test_run_iter() local 874 rx_count = tx_count = 0; in spi_test_run_iter() 877 tx_count++; in spi_test_run_iter() 885 if (tx_off && (!tx_count)) { in spi_test_run_iter()
|
/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_ethtool.c | 136 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 D | yam.c | 120 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...] |
/linux/drivers/net/ethernet/apple/ |
H A D | macmace.c | 64 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()
|
/linux/tools/net/ynl/samples/ |
H A D | ethtool.c | 33 if (dev->_present.tx_count) in main() 34 printf("tx %d ", dev->tx_count); in main()
|
/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()
|
H A D | synclink_gt.c | 288 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 in flush_chars() [all...] |
/linux/drivers/net/wan/ |
H A D | wanxlfw.S | 298 clrl tx_count(%d0) 448 cmpl #TX_BUFFERS, tx_count(%d0) 470 // update tx_out and tx_count 478 addl #1, tx_count(%d0) 563 tx_end: tstl tx_count(%d0) 574 // update D6, tx_in and tx_count 576 subl #1, tx_count(%d0) 885 tx_count: .long 0, 0, 0, 0 // currently in transmit queue label
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 70 * @tx_count: number of tx entry's in tx_head'ed list 117 u32 tx_count; member 421 w->iow->tx_count++; in iowait_inc_wait_count()
|
/linux/drivers/staging/vc04_services/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/drivers/net/wireless/mediatek/mt76/ |
H A D | testmode.c | 277 td->tx_pending = td->tx_count; in mt76_testmode_tx_start() 320 td->tx_count = 1; in mt76_testmode_init_defaults() 438 td->tx_count = nla_get_u32(tb[MT76_TM_ATTR_TX_COUNT]); in mt76_testmode_cmd() 619 if (nla_put_u32(msg, MT76_TM_ATTR_TX_COUNT, td->tx_count) || in mt76_testmode_dump()
|
/linux/arch/powerpc/include/asm/ |
H A D | epapr_hcalls.h | 360 * @tx_count: returned count of free space in transmit queue 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/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/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ethtool.c | 531 chan->tx_count = netdev->real_num_tx_queues; in fun_get_channels() 537 if (!chan->tx_count || !chan->rx_count) in fun_set_channels() 540 if (chan->tx_count == netdev->real_num_tx_queues && in fun_set_channels() 545 return fun_change_num_queues(netdev, chan->tx_count, in fun_set_channels() 548 fun_set_ring_count(netdev, chan->tx_count, chan->rx_count); in fun_set_channels()
|
/linux/sound/soc/sof/amd/ |
H A D | acp.c | 265 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 D | be_ethtool.c | 1222 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 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() [all...] |
/linux/drivers/net/ethernet/ibm/emac/ |
H A D | mal.h | 285 u32 tx_count; member
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_ethtool.c | 1422 ch->tx_count = fbn->num_tx_queues - ch->combined_count; in fbnic_get_channels() 1430 fbn->num_tx_queues = ch->tx_count + ch->combined_count; in fbnic_set_queues() 1431 fbn->num_napi = min(ch->rx_count + ch->tx_count + ch->combined_count, in fbnic_set_queues() 1445 standalone = ch->rx_count + ch->tx_count; in fbnic_set_channels() 1451 if ((ch->rx_count && ch->tx_count && ch->combined_count) || in fbnic_set_channels() 1454 ch->tx_count + ch->combined_count > fbd->max_num_queues || in fbnic_set_channels()
|