/linux-master/tools/net/ynl/samples/ |
H A D | ethtool.c | 33 if (dev->_present.tx_count) 34 printf("tx %d ", dev->tx_count);
|
/linux-master/tools/include/uapi/linux/ |
H A D | ethtool.h | 32 * @tx_count: Valid values are in the range 1 to the max_tx. 46 __u32 tx_count; member in struct:ethtool_channels
|
/linux-master/net/ethtool/ |
H A D | channels.c | 73 channels->tx_count))) || 123 max(channels.rx_count, channels.tx_count); 127 ethnl_update_u32(&channels.tx_count, tb[ETHTOOL_A_CHANNELS_TX_COUNT], 140 else if (channels.tx_count > channels.max_tx) 157 else if (!channels.combined_count && !channels.tx_count) 188 min(channels.rx_count, channels.tx_count);
|
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | data_tx.c | 466 int tx_count; local 469 tx_count = arg->ack_failures; 471 tx_count += 1; /* Also report success */ 476 if (tx_count < rate->count && arg->status == HIF_STATUS_TX_FAIL_RETRIES && 479 rate->count, tx_count); 480 if (tx_count <= rate->count && tx_count && 484 if (tx_count > rate->count) { 485 tx_count -= rate->count; 486 } else if (!tx_count) { [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-master/drivers/s390/net/ |
H A D | qeth_ethtool.c | 209 channels->tx_count = dev->real_num_tx_queues; 221 if (channels->rx_count == 0 || channels->tx_count == 0) 223 if (channels->tx_count > card->qdio.no_out_queues) 231 if (channels->tx_count < QETH_IQD_MIN_TXQ) 238 channels->tx_count < dev->real_num_tx_queues) 242 rc = qeth_set_real_num_tx_queues(card, channels->tx_count); 244 priv->tx_wanted_queues = channels->tx_count;
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_ethtool.c | 136 int tx_count = adapter->num_tx_queues; local 152 for (i = 0; i < tx_count; i++) { 172 int tx_count = adapter->num_tx_queues; local 229 for (i = 0; i < tx_count; i++) { 244 int tx_count; local 249 tx_count = adapter->num_tx_queues; 252 TSNEP_TX_QUEUE_STATS_COUNT * tx_count;
|
/linux-master/drivers/net/ethernet/apple/ |
H A D | macmace.c | 64 int tx_slot, tx_sloti, tx_count; member in struct:mace_data 155 mp->tx_count = N_TX_RING; 456 if (!mp->tx_count) { 461 mp->tx_count--; 581 if (!mp->tx_count) { 599 if (mp->tx_count) 624 mp->tx_count = N_TX_RING; 733 mp->tx_count++;
|
/linux-master/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_ethtool.c | 143 emac->tx_ch_num = ch->tx_count; 156 ch->tx_count = emac->tx_ch_num;
|
/linux-master/drivers/spi/ |
H A D | spi-au1550.c | 47 unsigned int tx_count; member in struct:au1550_spi 312 hw->tx_count = 0; 408 return min(hw->rx_count, hw->tx_count); 438 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); 460 hw->tx_count = hw->len; 488 hw->tx_count += (size) / 8; \ 489 if (hw->tx_count >= hw->len) \ 510 hw->tx_count = 0; 517 while (hw->tx_count < hw->len) { 521 if (hw->tx_count > [all...] |
H A D | spi-img-spfi.c | 246 unsigned int tx_count, rx_count; local 249 tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes); 251 tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes); 258 tx_buf += tx_count; 260 tx_bytes -= tx_count;
|
H A D | spi-amd.c | 169 static inline void amd_spi_set_tx_count(struct amd_spi *amd_spi, u8 tx_count) argument 171 amd_spi_setclear_reg8(amd_spi, AMD_SPI_TX_COUNT_REG, tx_count, 0xff);
|
/linux-master/drivers/net/hamradio/ |
H A D | yam.c | 120 int tx_count; member in struct:yam_port 596 yp->tx_count = 1; 598 yp->tx_count = (yp->bitrate * yp->txd) / 8000; 657 if (--yp->tx_count <= 0) { 678 yp->tx_count = 0; 685 b = yp->tx_buf[yp->tx_count++]; 690 if (yp->tx_count >= yp->tx_len) { 703 yp->tx_count = (yp->bitrate * yp->txtail) / 8000; 705 yp->tx_count += (yp->bitrate * yp->holdd) / 8; 706 if (yp->tx_count [all...] |
/linux-master/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_ethtool.c | 490 u32 rx_count, tx_count; local 499 tx_count = clamp_t(u32, ring->tx_pending, 504 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) 508 qs->sq_len = rounddown_pow_of_two(tx_count); 720 channel->tx_count = nic->tx_queues; 732 if (!channel->rx_count || !channel->tx_count) 736 if (channel->tx_count > nic->max_queues) 739 if (channel->tx_count + channel->rx_count > nic->max_queues) { 756 nic->tx_queues = channel->tx_count;
|
/linux-master/drivers/tty/ |
H A D | ehv_bytechan.c | 205 unsigned int rx_count, tx_count; local 210 &rx_count, &tx_count); 353 unsigned int rx_count, tx_count, len; local 362 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count);
|
/linux-master/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 in struct:iowait 421 w->iow->tx_count++;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 282 channel->tx_count = pfvf->hw.tx_queues; 293 if (!channel->rx_count || !channel->tx_count) 308 err = otx2_set_real_num_queues(dev, channel->tx_count + qos_txqs, 314 pfvf->hw.tx_queues = channel->tx_count; 403 u32 rx_count, tx_count; local 436 tx_count = clamp_t(u32, ring->tx_pending, 438 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); 440 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt && 448 qs->sqe_cnt = tx_count; [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | testmode.c | 277 td->tx_pending = td->tx_count; 320 td->tx_count = 1; 438 td->tx_count = nla_get_u32(tb[MT76_TM_ATTR_TX_COUNT]); 619 if (nla_put_u32(msg, MT76_TM_ATTR_TX_COUNT, td->tx_count) ||
|
/linux-master/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) 385 *tx_count = r5; 368 ev_byte_channel_poll(unsigned int handle, unsigned int *rx_count, unsigned int *tx_count) argument
|
/linux-master/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-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 730 channels->tx_count = tx; 738 channels->tx_count); 786 if (channels->rx_count && channels->tx_count) { 802 if ((channels->combined_count + channels->tx_count) > tx) { 805 channels->combined_count + channels->tx_count, tx); 811 tx = channels->combined_count + channels->tx_count;
|
/linux-master/drivers/net/ethernet/sgi/ |
H A D | meth.c | 80 unsigned long tx_read, tx_write, tx_count; member in struct:meth_private 217 priv->tx_count = priv->tx_read = priv->tx_write = 0; 473 return priv->tx_count >= TX_RING_ENTRIES - 1; 527 priv->tx_count--; 693 priv->tx_count++;
|
/linux-master/drivers/net/ethernet/ |
H A D | korina.c | 359 int tx_count; member in struct:korina_private 436 if (lp->tx_count >= (KORINA_NUM_TDS - 2)) { 439 if (lp->tx_count == (KORINA_NUM_TDS - 2)) 445 lp->tx_count++; 832 lp->tx_count--; 1002 lp->tx_full = lp->tx_count = 0;
|
/linux-master/drivers/net/ethernet/ibm/emac/ |
H A D | mal.h | 285 u32 tx_count; member in struct:mal_regs
|
/linux-master/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-ethtool.c | 146 channel->tx_count = pdata->tx_q_count;
|