Home
last modified time | relevance | path

Searched refs:num_tx (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/
Dethoc.c203 unsigned int num_tx; member
311 ethoc_write(dev, TX_BD_NUM, dev->num_tx); in ethoc_init_ring()
318 for (i = 0; i < dev->num_tx; i++) { in ethoc_init_ring()
319 if (i == dev->num_tx - 1) in ethoc_init_ring()
335 ethoc_write_bd(dev, dev->num_tx + i, &bd); in ethoc_init_ring()
338 dev->vma[dev->num_tx + i] = vma; in ethoc_init_ring()
428 entry = priv->num_tx + priv->cur_rx; in ethoc_rx()
520 entry = priv->dty_tx & (priv->num_tx-1); in ethoc_tx()
543 if ((priv->cur_tx - priv->dty_tx) <= (priv->num_tx / 2)) in ethoc_tx()
903 entry = priv->cur_tx % priv->num_tx; in ethoc_start_xmit()
[all …]
Dfealnx.c1434 unsigned int num_tx = 0; in intr_handler() local
1545 num_tx++; in intr_handler()
1548 if (num_tx && np->free_tx_count >= 2) in intr_handler()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad.h106 #define BNAD_NUM_TXQ (bnad->num_tx * bnad->num_txq_per_tx)
303 u32 num_tx; member
Dbnad_ethtool.c487 for (i = 0; i < bnad->num_tx; i++) { in bnad_set_ringparam()
689 for (i = 0; i < bnad->num_tx; i++) { in bnad_get_strings()
752 for (i = 0; i < bnad->num_tx; i++) { in bnad_get_stats_count_locked()
830 for (i = 0; i < bnad->num_tx; i++) { in bnad_per_q_stats_fill()
Dbnad.c833 for (i = 0; i < bnad->num_tx; i++) { in bnad_isr()
958 for (tx_id = 0; tx_id < bnad->num_tx; tx_id++) { in bnad_cb_ethport_link_status()
1482 (bnad->num_tx * bnad->num_txq_per_tx) + in bnad_txrx_irq_alloc()
2418 for (i = 0; i < bnad->num_tx; i++) { in bnad_netdev_qstats_fill()
2544 bnad->num_tx = 1; in bnad_q_num_init()
2559 if ((msix_vectors >= (bnad->num_tx * bnad->num_txq_per_tx) + in bnad_q_num_adjust()
2563 (bnad->num_tx * bnad->num_txq_per_tx) - in bnad_q_num_adjust()
3505 bnad->msix_num = (bnad->num_tx * bnad->num_txq_per_tx) + in bnad_init()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw.c971 int num_tx, cur_budget, ch; in cpsw_tx_mq_poll() local
977 for (ch = 0, num_tx = 0; ch_map & 0xff; ch_map <<= 1, ch++) { in cpsw_tx_mq_poll()
982 if (unlikely(txv->budget > budget - num_tx)) in cpsw_tx_mq_poll()
983 cur_budget = budget - num_tx; in cpsw_tx_mq_poll()
987 num_tx += cpdma_chan_process(txv->ch, cur_budget); in cpsw_tx_mq_poll()
988 if (num_tx >= budget) in cpsw_tx_mq_poll()
992 if (num_tx < budget) { in cpsw_tx_mq_poll()
997 return num_tx; in cpsw_tx_mq_poll()
1003 int num_tx; in cpsw_tx_poll() local
1005 num_tx = cpdma_chan_process(cpsw->txv[0].ch, budget); in cpsw_tx_poll()
[all …]
/Linux-v4.19/drivers/net/ethernet/freescale/
Dfec_main.c3314 fec_enet_get_queue_num(struct platform_device *pdev, int *num_tx, int *num_rx) in fec_enet_get_queue_num() argument
3318 *num_tx = *num_rx = 1; in fec_enet_get_queue_num()
3324 of_property_read_u32(np, "fsl,num-tx-queues", num_tx); in fec_enet_get_queue_num()
3328 if (*num_tx < 1 || *num_tx > FEC_ENET_MAX_TX_QS) { in fec_enet_get_queue_num()
3330 *num_tx); in fec_enet_get_queue_num()
3331 *num_tx = 1; in fec_enet_get_queue_num()
/Linux-v4.19/drivers/tty/serial/
Dsirfsoc_uart.c427 unsigned int num_tx = 0; in sirfsoc_uart_pio_tx_chars() local
436 num_tx++; in sirfsoc_uart_pio_tx_chars()
440 return num_tx; in sirfsoc_uart_pio_tx_chars()
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Ddebug.c1722 tx_wakeup, num_tx; in ath6kl_power_params_write() local
1757 if (kstrtou16(token, 0, &num_tx)) in ath6kl_power_params_write()
1761 dtim, tx_wakeup, num_tx, 0); in ath6kl_power_params_write()