/Linux-v4.19/drivers/spi/ |
D | spi-au1550.c | 56 unsigned tx_count; member 322 hw->tx_count = 0; in au1550_spi_dma_txrxb() 418 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb() 448 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); in au1550_spi_dma_irq_callback() 470 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback() 498 hw->tx_count += (size) / 8; \ 499 if (hw->tx_count >= hw->len) \ 520 hw->tx_count = 0; in au1550_spi_pio_txrxb() 527 while (hw->tx_count < hw->len) { in au1550_spi_pio_txrxb() 531 if (hw->tx_count >= hw->len) { in au1550_spi_pio_txrxb() [all …]
|
D | spi-uniphier.c | 293 unsigned int tx_count; in uniphier_spi_fill_tx_fifo() local 296 tx_count = DIV_ROUND_UP(priv->tx_bytes, in uniphier_spi_fill_tx_fifo() 298 tx_count = min(tx_count, SSI_FIFO_DEPTH); in uniphier_spi_fill_tx_fifo() 303 val |= FIELD_PREP(SSI_FC_TXFTH_MASK, tx_count); in uniphier_spi_fill_tx_fifo() 304 val |= FIELD_PREP(SSI_FC_RXFTH_MASK, tx_count); in uniphier_spi_fill_tx_fifo() 307 while (tx_count--) in uniphier_spi_fill_tx_fifo()
|
D | spi-img-spfi.c | 254 unsigned int tx_count, rx_count; in img_spfi_start_pio() local 257 tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes); in img_spfi_start_pio() 259 tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes); in img_spfi_start_pio() 266 tx_buf += tx_count; in img_spfi_start_pio() 268 tx_bytes -= tx_count; in img_spfi_start_pio()
|
D | spi-loopback-test.c | 827 int i, tx_count, rx_count; in spi_test_run_iter() local 839 rx_count = tx_count = 0; in spi_test_run_iter() 842 tx_count++; in spi_test_run_iter() 850 if (tx_off && (!tx_count)) { in spi_test_run_iter()
|
/Linux-v4.19/drivers/net/hamradio/ |
D | yam.c | 135 int tx_count; member 611 yp->tx_count = 1; in yam_start_tx() 613 yp->tx_count = (yp->bitrate * yp->txd) / 8000; in yam_start_tx() 672 if (--yp->tx_count <= 0) { in yam_tx_byte() 693 yp->tx_count = 0; in yam_tx_byte() 700 b = yp->tx_buf[yp->tx_count++]; in yam_tx_byte() 705 if (yp->tx_count >= yp->tx_len) { in yam_tx_byte() 718 yp->tx_count = (yp->bitrate * yp->txtail) / 8000; in yam_tx_byte() 720 yp->tx_count += (yp->bitrate * yp->holdd) / 8; in yam_tx_byte() 721 if (yp->tx_count == 0) in yam_tx_byte() [all …]
|
D | dmascc.c | 213 int tx_head, tx_tail, tx_count; member 758 priv->tx_head = priv->tx_tail = priv->tx_count = 0; in scc_open() 946 priv->tx_count++; in scc_send_packet() 951 if (priv->tx_count < NUM_TX_BUF) in scc_send_packet() 1365 priv->tx_count--; in es_isr() 1371 if (priv->tx_count && in es_isr() 1437 if (priv->tx_count) { in tm_isr()
|
/Linux-v4.19/drivers/net/ethernet/apple/ |
D | macmace.c | 68 int tx_slot, tx_sloti, tx_count; member 159 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-v4.19/drivers/tty/serial/ |
D | ifx6x60.c | 409 static void ifx_spi_setup_spi_header(unsigned char *txbuffer, int tx_count, in ifx_spi_setup_spi_header() argument 412 *(u16 *)(txbuffer) = tx_count; in ifx_spi_setup_spi_header() 433 int tx_count; in ifx_spi_prepare_tx_buffer() local 440 tx_count = IFX_SPI_HEADER_OVERHEAD; in ifx_spi_prepare_tx_buffer() 459 tx_count += temp_count; in ifx_spi_prepare_tx_buffer() 470 tx_count-IFX_SPI_HEADER_OVERHEAD, in ifx_spi_prepare_tx_buffer() 473 ifx_dev->swap_buf((ifx_dev->tx_buffer), tx_count, in ifx_spi_prepare_tx_buffer() 475 return tx_count; in ifx_spi_prepare_tx_buffer() 495 int tx_count; in ifx_spi_write() local 499 tx_count = kfifo_in(&ifx_dev->tx_fifo, tmp_buf, count); in ifx_spi_write() [all …]
|
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 488 u32 rx_count, tx_count; in nicvf_set_ringparam() local 497 tx_count = clamp_t(u32, ring->tx_pending, in nicvf_set_ringparam() 502 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam() 506 qs->sq_len = rounddown_pow_of_two(tx_count); in nicvf_set_ringparam() 717 channel->tx_count = nic->tx_queues; in nicvf_get_channels() 729 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels() 733 if (channel->tx_count > nic->max_queues) in nicvf_set_channels() 737 ((channel->tx_count + channel->rx_count) > nic->max_queues)) { in nicvf_set_channels() 748 nic->tx_queues = channel->tx_count; in nicvf_set_channels()
|
/Linux-v4.19/drivers/tty/ |
D | ehv_bytechan.c | 187 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local 192 &rx_count, &tx_count); in udbg_init_ehv_bc() 335 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local 344 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr()
|
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 …]
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 742 channels->tx_count = tx; in xgbe_get_channels() 750 channels->tx_count); in xgbe_print_set_channels_input() 798 if (channels->rx_count && channels->tx_count) { in xgbe_set_channels() 814 if ((channels->combined_count + channels->tx_count) > tx) { in xgbe_set_channels() 817 channels->combined_count + channels->tx_count, tx); in xgbe_set_channels() 823 tx = channels->combined_count + channels->tx_count; in xgbe_set_channels()
|
/Linux-v4.19/drivers/net/wan/ |
D | wanxlfw.S | 300 clrl tx_count(%d0) 450 cmpl #TX_BUFFERS, tx_count(%d0) 480 addl #1, tx_count(%d0) 565 tx_end: tstl tx_count(%d0) 578 subl #1, tx_count(%d0) 887 tx_count: .long 0, 0, 0, 0 // currently in transmit queue label
|
/Linux-v4.19/drivers/net/ethernet/sgi/ |
D | meth.c | 82 unsigned long tx_read, tx_write, tx_count; member 219 priv->tx_count = priv->tx_read = priv->tx_write = 0; in meth_init_tx_ring() 474 return priv->tx_count >= TX_RING_ENTRIES - 1; in meth_tx_full() 528 priv->tx_count--; in meth_tx_cleanup() 694 priv->tx_count++; in meth_add_to_tx_ring()
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/net/ethernet/ |
D | korina.c | 125 int tx_count; member 212 if (lp->tx_count >= (KORINA_NUM_TDS - 2)) { in korina_send_packet() 215 if (lp->tx_count == (KORINA_NUM_TDS - 2)) in korina_send_packet() 226 lp->tx_count++; in korina_send_packet() 587 lp->tx_count--; in korina_tx() 756 lp->tx_full = lp->tx_count = 0; in korina_alloc_ring()
|
/Linux-v4.19/drivers/net/wireless/st/cw1200/ |
D | txrx.c | 902 int tx_count = arg->ack_failures; in cw1200_tx_confirm_cb() local 924 ++tx_count; in cw1200_tx_confirm_cb() 934 if (tx_count) in cw1200_tx_confirm_cb() 935 ++tx_count; in cw1200_tx_confirm_cb() 939 if (tx->status.rates[i].count >= tx_count) { in cw1200_tx_confirm_cb() 940 tx->status.rates[i].count = tx_count; in cw1200_tx_confirm_cb() 943 tx_count -= tx->status.rates[i].count; in cw1200_tx_confirm_cb()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | iowait.h | 122 u32 tx_count; member
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 1211 ch->tx_count = adapter->num_tx_qs - ch->combined_count; in be_get_channels() 1229 (ch->rx_count && ch->tx_count)) in be_set_channels() 1235 (ch->tx_count && in be_set_channels() 1236 (ch->tx_count + ch->combined_count) > be_max_tx_irqs(adapter))) in be_set_channels() 1240 adapter->cfg_num_tx_irqs = ch->combined_count + ch->tx_count; in be_set_channels()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1003 channels->tx_count = edev->fp_num_tx; in qede_get_channels() 1015 channels->rx_count, channels->tx_count, in qede_set_channels() 1018 count = channels->rx_count + channels->tx_count + in qede_set_channels() 1029 channels->tx_count))) { in qede_set_channels() 1044 (channels->tx_count == edev->fp_num_tx) && in qede_set_channels() 1053 (channels->tx_count % edev->dev_info.common.num_hwfns) || in qede_set_channels() 1063 edev->req_num_tx = channels->tx_count; in qede_set_channels()
|
/Linux-v4.19/drivers/net/ethernet/ibm/emac/ |
D | mal.h | 290 u32 tx_count; member
|
/Linux-v4.19/drivers/net/wireless/intersil/hostap/ |
D | hostap_ap.h | 72 u32 tx_count[WLAN_RATE_COUNT]; /* number of frames sent (per rate) */ member
|
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 495 u32 max_rx = 0, max_tx = 0, tx_count = 0, rx_count = 0; in lio_ethtool_get_channels() local 504 tx_count = CFG_GET_NUM_TXQS_NIC_IF(conf6x, lio->ifidx); in lio_ethtool_get_channels() 529 channel->tx_count = tx_count; in lio_ethtool_get_channels() 609 channel->rx_count || channel->tx_count) in lio_ethtool_set_channels() 1282 u32 rx_count, tx_count, rx_count_old, tx_count_old; in lio_ethtool_set_ringparam() local 1295 tx_count = clamp_t(u32, ering->tx_pending, CN23XX_MIN_IQ_DESCRIPTORS, in lio_ethtool_set_ringparam() 1301 if (rx_count == rx_count_old && tx_count == tx_count_old) in lio_ethtool_set_ringparam() 1312 if (tx_count != tx_count_old) in lio_ethtool_set_ringparam() 1314 tx_count); in lio_ethtool_set_ringparam() 1330 if (tx_count != tx_count_old) in lio_ethtool_set_ringparam()
|
/Linux-v4.19/drivers/gpu/drm/bridge/ |
D | sil-sii8620.c | 101 int tx_count; member 607 u8 *buf = &ctx->burst.tx_buf[ctx->burst.tx_count]; in sii8620_burst_get_tx_buf() 610 if (ctx->burst.tx_count + size > ARRAY_SIZE(ctx->burst.tx_buf)) { in sii8620_burst_get_tx_buf() 616 ctx->burst.tx_count += size; in sii8620_burst_get_tx_buf() 627 if (ctx->burst.tx_count + size > ARRAY_SIZE(ctx->burst.tx_buf)) { in sii8620_burst_get_rx_buf() 641 int tx_left = ctx->burst.tx_count; in sii8620_burst_send() 657 ctx->burst.tx_count = tx_left; in sii8620_burst_send()
|