/drivers/net/ethernet/ |
D | ethoc.c | 204 unsigned int num_tx; member 312 ethoc_write(dev, TX_BD_NUM, dev->num_tx); in ethoc_init_ring() 319 for (i = 0; i < dev->num_tx; i++) { in ethoc_init_ring() 320 if (i == dev->num_tx - 1) in ethoc_init_ring() 336 ethoc_write_bd(dev, dev->num_tx + i, &bd); in ethoc_init_ring() 339 dev->vma[dev->num_tx + i] = vma; in ethoc_init_ring() 429 entry = priv->num_tx + priv->cur_rx; in ethoc_rx() 521 entry = priv->dty_tx & (priv->num_tx-1); in ethoc_tx() 544 if ((priv->cur_tx - priv->dty_tx) <= (priv->num_tx / 2)) in ethoc_tx() 901 entry = priv->cur_tx % priv->num_tx; in ethoc_start_xmit() [all …]
|
D | fealnx.c | 1431 unsigned int num_tx = 0; in intr_handler() local 1544 num_tx++; in intr_handler() 1547 if (num_tx && np->free_tx_count >= 2) in intr_handler()
|
/drivers/staging/wfx/ |
D | bh.c | 241 int num_tx, num_rx; in bh_work() local 245 num_tx = bh_work_tx(wdev, 32); in bh_work() 246 stats_req += num_tx; in bh_work() 247 if (num_tx) in bh_work() 253 } while (num_rx || num_tx); in bh_work()
|
/drivers/net/ethernet/ti/ |
D | cpsw_priv.c | 132 int num_tx, cur_budget, ch; in cpsw_tx_mq_poll() local 138 for (ch = 0, num_tx = 0; ch_map & 0xff; ch_map <<= 1, ch++) { in cpsw_tx_mq_poll() 143 if (unlikely(txv->budget > budget - num_tx)) in cpsw_tx_mq_poll() 144 cur_budget = budget - num_tx; in cpsw_tx_mq_poll() 148 num_tx += cpdma_chan_process(txv->ch, cur_budget); in cpsw_tx_mq_poll() 149 if (num_tx >= budget) in cpsw_tx_mq_poll() 153 if (num_tx < budget) { in cpsw_tx_mq_poll() 158 return num_tx; in cpsw_tx_mq_poll() 164 int num_tx; in cpsw_tx_poll() local 166 num_tx = cpdma_chan_process(cpsw->txv[0].ch, budget); in cpsw_tx_poll() [all …]
|
D | am65-cpsw-nuss.c | 1007 int res, num_tx = 0; in am65_cpsw_nuss_tx_compl_packets() local 1028 num_tx++; in am65_cpsw_nuss_tx_compl_packets() 1032 netdev_tx_completed_queue(netif_txq, num_tx, total_bytes); in am65_cpsw_nuss_tx_compl_packets() 1037 dev_dbg(dev, "%s:%u pkt:%d\n", __func__, chn, num_tx); in am65_cpsw_nuss_tx_compl_packets() 1039 return num_tx; in am65_cpsw_nuss_tx_compl_packets() 1052 int res, num_tx = 0; in am65_cpsw_nuss_tx_compl_packets_2g() local 1072 num_tx++; in am65_cpsw_nuss_tx_compl_packets_2g() 1075 if (!num_tx) in am65_cpsw_nuss_tx_compl_packets_2g() 1080 netdev_tx_completed_queue(netif_txq, num_tx, total_bytes); in am65_cpsw_nuss_tx_compl_packets_2g() 1084 dev_dbg(dev, "%s:%u pkt:%d\n", __func__, chn, num_tx); in am65_cpsw_nuss_tx_compl_packets_2g() [all …]
|
D | am65-cpsw-nuss.h | 186 int am65_cpsw_nuss_update_tx_chns(struct am65_cpsw_common *common, int num_tx);
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 96 #define BNAD_NUM_TXQ (bnad->num_tx * bnad->num_txq_per_tx) 293 u32 num_tx; member
|
D | bnad_ethtool.c | 482 for (i = 0; i < bnad->num_tx; i++) { in bnad_set_ringparam() 646 for (i = 0; i < bnad->num_tx; i++) { in bnad_get_strings() 691 for (i = 0; i < bnad->num_tx; i++) { in bnad_get_stats_count_locked() 769 for (i = 0; i < bnad->num_tx; i++) { in bnad_per_q_stats_fill()
|
D | bnad.c | 825 for (i = 0; i < bnad->num_tx; i++) { in bnad_isr() 950 for (tx_id = 0; tx_id < bnad->num_tx; tx_id++) { in bnad_cb_ethport_link_status() 1474 (bnad->num_tx * bnad->num_txq_per_tx) + in bnad_txrx_irq_alloc() 2409 for (i = 0; i < bnad->num_tx; i++) { in bnad_netdev_qstats_fill() 2530 bnad->num_tx = 1; in bnad_q_num_init() 2545 if ((msix_vectors >= (bnad->num_tx * bnad->num_txq_per_tx) + in bnad_q_num_adjust() 2549 (bnad->num_tx * bnad->num_txq_per_tx) - in bnad_q_num_adjust() 3488 bnad->msix_num = (bnad->num_tx * bnad->num_txq_per_tx) + in bnad_init()
|
/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 6070 int num_tx, int nth) in mv88e6xxx_lag_set_port_mask() argument 6075 num_tx = num_tx <= 8 ? num_tx : 8; in mv88e6xxx_lag_set_port_mask() 6076 if (nth < num_tx) in mv88e6xxx_lag_set_port_mask() 6077 active = mv88e6xxx_lag_mask_table[num_tx - 1][nth]; in mv88e6xxx_lag_set_port_mask() 6088 unsigned int id, num_tx; in mv88e6xxx_lag_sync_masks() local 6117 num_tx = 0; in mv88e6xxx_lag_sync_masks() 6120 num_tx++; in mv88e6xxx_lag_sync_masks() 6123 if (!num_tx) in mv88e6xxx_lag_sync_masks() 6133 num_tx, nth); in mv88e6xxx_lag_sync_masks()
|
/drivers/net/ethernet/freescale/ |
D | fec_main.c | 3690 fec_enet_get_queue_num(struct platform_device *pdev, int *num_tx, int *num_rx) in fec_enet_get_queue_num() argument 3694 *num_tx = *num_rx = 1; in fec_enet_get_queue_num() 3700 of_property_read_u32(np, "fsl,num-tx-queues", num_tx); in fec_enet_get_queue_num() 3704 if (*num_tx < 1 || *num_tx > FEC_ENET_MAX_TX_QS) { in fec_enet_get_queue_num() 3706 *num_tx); in fec_enet_get_queue_num() 3707 *num_tx = 1; in fec_enet_get_queue_num()
|
/drivers/net/wireless/ath/ath6kl/ |
D | debug.c | 1724 tx_wakeup, num_tx; in ath6kl_power_params_write() local 1759 if (kstrtou16(token, 0, &num_tx)) in ath6kl_power_params_write() 1763 dtim, tx_wakeup, num_tx, 0); in ath6kl_power_params_write()
|