/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-fsl-dspi.c | 285 int tx_count = 0; in dspi_eoq_write() local 291 while (dspi->len && (tx_count < DSPI_FIFO_SIZE)) { in dspi_eoq_write() 305 if (dspi->len == 0 || tx_count == DSPI_FIFO_SIZE - 1) { in dspi_eoq_write() 315 tx_count++; in dspi_eoq_write() 318 return tx_count * (tx_word + 1); in dspi_eoq_write()
|
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 | 743 int i, tx_count, rx_count; in spi_test_run_iter() local 764 rx_count = tx_count = 0; in spi_test_run_iter() 767 tx_count++; in spi_test_run_iter() 775 if (tx_off && (!tx_count)) { in spi_test_run_iter()
|
/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()
|
/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() 457 if (!mp->tx_count) { in mace_xmit_start() 462 mp->tx_count--; in mace_xmit_start() 582 if (!mp->tx_count) { in mace_interrupt() 601 if (mp->tx_count) in mace_interrupt() 626 mp->tx_count = N_TX_RING; in mace_tx_timeout() 737 mp->tx_count++; in mace_dma_intr()
|
/drivers/tty/serial/ |
D | ifx6x60.c | 422 static void ifx_spi_setup_spi_header(unsigned char *txbuffer, int tx_count, in ifx_spi_setup_spi_header() argument 425 *(u16 *)(txbuffer) = tx_count; in ifx_spi_setup_spi_header() 446 int tx_count; in ifx_spi_prepare_tx_buffer() local 453 tx_count = IFX_SPI_HEADER_OVERHEAD; in ifx_spi_prepare_tx_buffer() 472 tx_count += temp_count; in ifx_spi_prepare_tx_buffer() 483 tx_count-IFX_SPI_HEADER_OVERHEAD, in ifx_spi_prepare_tx_buffer() 486 ifx_dev->swap_buf((ifx_dev->tx_buffer), tx_count, in ifx_spi_prepare_tx_buffer() 488 return tx_count; in ifx_spi_prepare_tx_buffer() 508 int tx_count; in ifx_spi_write() local 512 tx_count = kfifo_in(&ifx_dev->tx_fifo, tmp_buf, count); in ifx_spi_write() [all …]
|
D | bfin_uart.c | 157 xmit->tail = (xmit->tail + uart->tx_count) & (UART_XMIT_SIZE - 1); in bfin_serial_stop_tx() 158 uart->port.icount.tx += uart->tx_count; in bfin_serial_stop_tx() 159 uart->tx_count = 0; in bfin_serial_stop_tx() 379 uart->tx_count = 0; in bfin_serial_dma_tx_chars() 390 uart->tx_count = CIRC_CNT(xmit->head, xmit->tail, UART_XMIT_SIZE); in bfin_serial_dma_tx_chars() 391 if (uart->tx_count > (UART_XMIT_SIZE - xmit->tail)) in bfin_serial_dma_tx_chars() 392 uart->tx_count = UART_XMIT_SIZE - xmit->tail; in bfin_serial_dma_tx_chars() 394 (unsigned long)(xmit->buf+xmit->tail+uart->tx_count)); in bfin_serial_dma_tx_chars() 402 set_dma_x_count(uart->tx_dma_channel, uart->tx_count); in bfin_serial_dma_tx_chars() 517 uart->port.icount.tx += uart->tx_count; in bfin_serial_dma_tx_int() [all …]
|
/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 …]
|
/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 | 190 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local 195 &rx_count, &tx_count); in udbg_init_ehv_bc() 338 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local 347 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr()
|
D | synclink_gt.c | 318 int tx_count; member 833 if (info->tx_count) { in write() 835 if (!tx_load(info, info->tx_buf, info->tx_count)) in write() 837 info->tx_count = 0; in write() 861 if (info->tx_count < info->max_frame_size) { in put_char() 862 info->tx_buf[info->tx_count++] = ch; in put_char() 947 DBGINFO(("%s flush_chars entry tx_count=%d\n", info->device_name, info->tx_count)); in flush_chars() 949 if (info->tx_count <= 0 || tty->stopped || in flush_chars() 956 if (info->tx_count && tx_load(info, info->tx_buf, info->tx_count)) in flush_chars() 957 info->tx_count = 0; in flush_chars() [all …]
|
/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 643 channel->tx_count = nic->tx_queues; in nicvf_get_channels() 655 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels() 659 if (channel->tx_count > nic->max_queues) in nicvf_set_channels() 665 cqcount = max(channel->rx_count, channel->tx_count); in nicvf_set_channels() 675 nic->qs->sq_cnt = min_t(u32, channel->tx_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_channels() 679 nic->tx_queues = channel->tx_count; in nicvf_set_channels()
|
/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
|
/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()
|
/drivers/net/ethernet/ |
D | korina.c | 120 int tx_count; member 209 if (lp->tx_count >= (KORINA_NUM_TDS - 2)) { in korina_send_packet() 212 if (lp->tx_count == (KORINA_NUM_TDS - 2)) in korina_send_packet() 223 lp->tx_count++; in korina_send_packet() 583 lp->tx_count--; in korina_tx() 751 lp->tx_full = lp->tx_count = 0; in korina_alloc_ring()
|
/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()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 770 channels->tx_count = edev->fp_num_tx; in qede_get_channels() 782 channels->rx_count, channels->tx_count, in qede_set_channels() 785 count = channels->rx_count + channels->tx_count + in qede_set_channels() 796 channels->tx_count))) { in qede_set_channels() 811 (channels->tx_count == edev->fp_num_tx) && in qede_set_channels() 820 (channels->tx_count % edev->dev_info.common.num_hwfns) || in qede_set_channels() 830 edev->req_num_tx = channels->tx_count; in qede_set_channels()
|
/drivers/infiniband/hw/hfi1/ |
D | iowait.h | 113 u32 tx_count; member
|
/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 1214 ch->tx_count = adapter->num_tx_qs - ch->combined_count; in be_get_channels() 1232 (ch->rx_count && ch->tx_count)) in be_set_channels() 1238 (ch->tx_count && in be_set_channels() 1239 (ch->tx_count + ch->combined_count) > be_max_tx_irqs(adapter))) in be_set_channels() 1243 adapter->cfg_num_tx_irqs = ch->combined_count + ch->tx_count; in be_set_channels()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 721 channel->tx_count = adapter->drv_tx_rings; in qlcnic_get_channels() 739 channel->tx_count); in qlcnic_set_channels() 754 if (adapter->drv_tx_rings != channel->tx_count) { in qlcnic_set_channels() 755 err = qlcnic_validate_rings(adapter, channel->tx_count, in qlcnic_set_channels() 759 channel->tx_count); in qlcnic_set_channels() 762 adapter->drv_tss_rings = channel->tx_count; in qlcnic_set_channels()
|
/drivers/net/ethernet/ibm/emac/ |
D | mal.h | 290 u32 tx_count; member
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_ap.h | 71 u32 tx_count[WLAN_RATE_COUNT]; /* number of frames sent (per rate) */ member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 372 channel->tx_count = bp->tx_nr_rings_per_tc; in bnxt_get_channels() 389 (!channel->rx_count || !channel->tx_count)) in bnxt_set_channels() 393 (channel->rx_count || channel->tx_count)) in bnxt_set_channels() 397 channel->tx_count)) in bnxt_set_channels() 414 channel->tx_count > max_tx_rings)) in bnxt_set_channels() 440 bp->tx_nr_rings_per_tc = channel->tx_count; in bnxt_set_channels()
|