| /Linux-v5.4/drivers/spi/ | 
| D | spi-au1550.c | 47 	unsigned tx_count;  member313 	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 | 251 		unsigned int tx_count, rx_count;  in img_spfi_start_pio()  local254 			tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes);  in img_spfi_start_pio()
 256 			tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes);  in img_spfi_start_pio()
 263 		tx_buf += tx_count;  in img_spfi_start_pio()
 265 		tx_bytes -= tx_count;  in img_spfi_start_pio()
 
 | 
| D | spi-loopback-test.c | 818 	int i, tx_count, rx_count;  in spi_test_run_iter()  local830 	rx_count = tx_count = 0;  in spi_test_run_iter()
 833 			tx_count++;  in spi_test_run_iter()
 841 	if (tx_off && (!tx_count)) {  in spi_test_run_iter()
 
 | 
| /Linux-v5.4/drivers/net/hamradio/ | 
| D | yam.c | 120 	int tx_count;  member596 		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;  member745 	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.4/drivers/net/ethernet/apple/ | 
| D | macmace.c | 64 	int tx_slot, tx_sloti, tx_count;  member155 	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.4/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()  argument412 	*(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-v5.4/drivers/net/ethernet/cavium/thunder/ | 
| D | nicvf_ethtool.c | 485 	u32 rx_count, tx_count;  in nicvf_set_ringparam()  local494 	tx_count = clamp_t(u32, ring->tx_pending,  in nicvf_set_ringparam()
 499 	if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len))  in nicvf_set_ringparam()
 503 	qs->sq_len = rounddown_pow_of_two(tx_count);  in nicvf_set_ringparam()
 714 	channel->tx_count = nic->tx_queues;  in nicvf_get_channels()
 726 	if (!channel->rx_count || !channel->tx_count)  in nicvf_set_channels()
 730 	if (channel->tx_count > nic->max_queues)  in nicvf_set_channels()
 734 	    ((channel->tx_count + channel->rx_count) > nic->max_queues)) {  in nicvf_set_channels()
 745 	nic->tx_queues = channel->tx_count;  in nicvf_set_channels()
 
 | 
| /Linux-v5.4/tools/include/uapi/linux/ | 
| D | ethtool.h | 46 	__u32	tx_count;  member
 | 
| /Linux-v5.4/drivers/tty/ | 
| D | ehv_bytechan.c | 187 	unsigned int rx_count, tx_count;  in udbg_init_ehv_bc()  local192 				   &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;  member932 		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-v5.4/drivers/char/pcmcia/ | 
| D | synclink_cs.c | 153 	int            tx_count;  member972 	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.4/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-v5.4/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.4/drivers/infiniband/hw/hfi1/ | 
| D | iowait.h | 158 	u32 tx_count;  member462 	w->iow->tx_count++;  in iowait_inc_wait_count()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/sgi/ | 
| D | meth.c | 80 	unsigned long tx_read, tx_write, tx_count;  member217 	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.4/drivers/net/ethernet/google/gve/ | 
| D | gve_ethtool.c | 174 	cmd->tx_count = priv->tx_cfg.num_queues;  in gve_get_channels()186 	int new_tx = cmd->tx_count;  in gve_set_channels()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/ti/ | 
| D | cpsw_ethtool.c | 391 	ch->tx_count = cpsw->tx_ch_num;  in cpsw_get_channels()521 	if (!ch->rx_count || !ch->tx_count)  in cpsw_check_ch_settings()
 525 	    ch->tx_count > cpsw->data.channels)  in cpsw_check_ch_settings()
 614 	ret = cpsw_update_channels_res(priv, chs->tx_count, 0, rx_handler);  in cpsw_set_channels_common()
 
 | 
| /Linux-v5.4/arch/powerpc/include/asm/ | 
| D | epapr_hcalls.h | 369 	unsigned int *rx_count,	unsigned int *tx_count)  in ev_byte_channel_poll()  argument385 	*tx_count = r5;  in ev_byte_channel_poll()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/ | 
| D | korina.c | 125 	int tx_count;  member212 	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-v5.4/drivers/net/wireless/st/cw1200/ | 
| D | txrx.c | 899 		int tx_count = arg->ack_failures;  in cw1200_tx_confirm_cb()  local921 			++tx_count;  in cw1200_tx_confirm_cb()
 931 			if (tx_count)  in cw1200_tx_confirm_cb()
 932 				++tx_count;  in cw1200_tx_confirm_cb()
 936 			if (tx->status.rates[i].count >= tx_count) {  in cw1200_tx_confirm_cb()
 937 				tx->status.rates[i].count = tx_count;  in cw1200_tx_confirm_cb()
 940 			tx_count -= tx->status.rates[i].count;  in cw1200_tx_confirm_cb()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/emulex/benet/ | 
| D | be_ethtool.c | 1224 	ch->tx_count = adapter->num_tx_qs - ch->combined_count;  in be_get_channels()1242 	    (ch->rx_count && ch->tx_count))  in be_set_channels()
 1248 	    (ch->tx_count &&  in be_set_channels()
 1249 	     (ch->tx_count + ch->combined_count) > be_max_tx_irqs(adapter)))  in be_set_channels()
 1253 	adapter->cfg_num_tx_irqs = ch->combined_count + ch->tx_count;  in be_set_channels()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/ibm/emac/ | 
| D | mal.h | 285 	u32 tx_count;  member
 | 
| /Linux-v5.4/drivers/net/wireless/intersil/hostap/ | 
| D | hostap_ap.h | 72 	u32 tx_count[WLAN_RATE_COUNT]; /* number of frames sent (per rate) */  member
 | 
| /Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ | 
| D | lio_ethtool.c | 502 	u32 max_rx = 0, max_tx = 0, tx_count = 0, rx_count = 0;  in lio_ethtool_get_channels()  local511 		tx_count = CFG_GET_NUM_TXQS_NIC_IF(conf6x, lio->ifidx);  in lio_ethtool_get_channels()
 536 	channel->tx_count = tx_count;  in lio_ethtool_get_channels()
 616 	    channel->rx_count || channel->tx_count)  in lio_ethtool_set_channels()
 1259 	u32 rx_count, tx_count, rx_count_old, tx_count_old;  in lio_ethtool_set_ringparam()  local
 1272 	tx_count = clamp_t(u32, ering->tx_pending, CN23XX_MIN_IQ_DESCRIPTORS,  in lio_ethtool_set_ringparam()
 1278 	if (rx_count == rx_count_old && tx_count == tx_count_old)  in lio_ethtool_set_ringparam()
 1289 	if (tx_count != tx_count_old)  in lio_ethtool_set_ringparam()
 1291 					    tx_count);  in lio_ethtool_set_ringparam()
 1307 	if (tx_count != tx_count_old)  in lio_ethtool_set_ringparam()
 
 |