/Linux-v5.10/drivers/staging/wfx/ |
D | data_tx.c | 452 int tx_count; in wfx_tx_fill_rates() local 455 tx_count = arg->ack_failures; in wfx_tx_fill_rates() 457 tx_count += 1; // Also report success in wfx_tx_fill_rates() 462 if (tx_count < rate->count && in wfx_tx_fill_rates() 466 rate->count, tx_count); in wfx_tx_fill_rates() 467 if (tx_count <= rate->count && tx_count && in wfx_tx_fill_rates() 471 if (tx_count > rate->count) { in wfx_tx_fill_rates() 472 tx_count -= rate->count; in wfx_tx_fill_rates() 473 } else if (!tx_count) { in wfx_tx_fill_rates() 477 rate->count = tx_count; in wfx_tx_fill_rates() [all …]
|
D | traces.h | 378 __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],
|
/Linux-v5.10/net/ethtool/ |
D | channels.c | 73 channels->tx_count))) || in channels_fill_reply() 143 max(channels.rx_count, channels.tx_count); in ethnl_set_channels() 147 ethnl_update_u32(&channels.tx_count, tb[ETHTOOL_A_CHANNELS_TX_COUNT], in ethnl_set_channels() 161 else if (channels.tx_count > channels.max_tx) in ethnl_set_channels() 179 else if (!channels.combined_count && !channels.tx_count) in ethnl_set_channels() 203 min(channels.rx_count, channels.tx_count); in ethnl_set_channels()
|
/Linux-v5.10/drivers/spi/ |
D | spi-au1550.c | 47 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 < hw->len) { in au1550_spi_pio_txrxb() 522 if (hw->tx_count >= hw->len) { in au1550_spi_pio_txrxb() [all …]
|
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()
|
D | spi-amd.c | 120 u8 tx_count) in amd_spi_set_tx_count() argument 122 amd_spi_setclear_reg8(master, AMD_SPI_TX_COUNT_REG, tx_count, 0xff); in amd_spi_set_tx_count()
|
D | spi-loopback-test.c | 824 int i, tx_count, rx_count; in spi_test_run_iter() local 836 rx_count = tx_count = 0; in spi_test_run_iter() 839 tx_count++; in spi_test_run_iter() 847 if (tx_off && (!tx_count)) { in spi_test_run_iter()
|
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 213 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() 312 u32 rx_count, tx_count; in otx2_set_ringparam() local 330 tx_count = clamp_t(u32, ring->tx_pending, in otx2_set_ringparam() 332 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); in otx2_set_ringparam() 334 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt) in otx2_set_ringparam() 341 qs->sqe_cnt = tx_count; in otx2_set_ringparam()
|
/Linux-v5.10/drivers/net/hamradio/ |
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 == 0) in yam_tx_byte() [all …]
|
D | dmascc.c | 200 int tx_head, tx_tail, tx_count; member 745 priv->tx_head = priv->tx_tail = priv->tx_count = 0; in scc_open() 933 priv->tx_count++; in scc_send_packet() 938 if (priv->tx_count < NUM_TX_BUF) in scc_send_packet() 1352 priv->tx_count--; in es_isr() 1358 if (priv->tx_count && in es_isr() 1424 if (priv->tx_count) { in tm_isr()
|
/Linux-v5.10/drivers/net/ethernet/apple/ |
D | macmace.c | 64 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()
|
/Linux-v5.10/drivers/tty/serial/ |
D | ifx6x60.c | 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 497 tx_count = kfifo_in(&ifx_dev->tx_fifo, tmp_buf, count); in ifx_spi_write() [all …]
|
/Linux-v5.10/drivers/s390/net/ |
D | qeth_ethtool.c | 206 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()
|
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 483 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()
|
/Linux-v5.10/drivers/char/pcmcia/ |
D | synclink_cs.c | 153 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 = info->tx_put = info->tx_get = 0; in mgslpc_program_hw() [all …]
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | ethtool.h | 46 __u32 tx_count; member
|
/Linux-v5.10/drivers/tty/ |
D | synclinkmp.c | 170 int tx_count; member 932 if (info->tx_count) { in write() 935 tx_load_dma_buffer(info, info->tx_buf, info->tx_count); in write() 938 ret = info->tx_count = count; in write() 945 min(info->max_frame_size - info->tx_count - 1, in write() 956 info->tx_count += c; in write() 966 ret = info->tx_count = 0; in write() 969 tx_load_dma_buffer(info, info->tx_buf, info->tx_count); in write() 972 if (info->tx_count && !tty->stopped && !tty->hw_stopped) { in write() 1010 if (info->tx_count < info->max_frame_size - 1) { in put_char() [all …]
|
D | ehv_bytechan.c | 202 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local 207 &rx_count, &tx_count); in udbg_init_ehv_bc() 350 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local 359 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr()
|
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 717 channels->tx_count = tx; in xgbe_get_channels() 725 channels->tx_count); in xgbe_print_set_channels_input() 773 if (channels->rx_count && channels->tx_count) { in xgbe_set_channels() 789 if ((channels->combined_count + channels->tx_count) > tx) { in xgbe_set_channels() 792 channels->combined_count + channels->tx_count, tx); in xgbe_set_channels() 798 tx = channels->combined_count + channels->tx_count; in xgbe_set_channels()
|
/Linux-v5.10/drivers/net/wan/ |
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-v5.10/drivers/net/wireless/mediatek/mt76/ |
D | testmode.c | 163 td->tx_pending = td->tx_count; in mt76_testmode_tx_start() 205 td->tx_count = 1; in mt76_testmode_init_defaults() 318 td->tx_count = nla_get_u32(tb[MT76_TM_ATTR_TX_COUNT]); in mt76_testmode_cmd() 468 if (nla_put_u32(msg, MT76_TM_ATTR_TX_COUNT, td->tx_count) || in mt76_testmode_dump()
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | iowait.h | 158 u32 tx_count; member 462 w->iow->tx_count++; in iowait_inc_wait_count()
|
/Linux-v5.10/drivers/net/ethernet/sgi/ |
D | meth.c | 80 unsigned long tx_read, tx_write, tx_count; member 217 priv->tx_count = priv->tx_read = priv->tx_write = 0; in meth_init_tx_ring() 473 return priv->tx_count >= TX_RING_ENTRIES - 1; in meth_tx_full() 527 priv->tx_count--; in meth_tx_cleanup() 693 priv->tx_count++; in meth_add_to_tx_ring()
|
/Linux-v5.10/drivers/net/ethernet/ti/ |
D | cpsw_ethtool.c | 392 ch->tx_count = cpsw->tx_ch_num; in cpsw_get_channels() 522 if (!ch->rx_count || !ch->tx_count) in cpsw_check_ch_settings() 526 ch->tx_count > cpsw->data.channels) in cpsw_check_ch_settings() 615 ret = cpsw_update_channels_res(priv, chs->tx_count, 0, rx_handler); in cpsw_set_channels_common()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
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()
|