| /linux/net/sched/ |
| H A D | sch_mq.c | 52 unsigned int ntx; in mq_destroy_common() local 56 for (ntx = 0; ntx < dev->num_tx_queues && priv->qdiscs[ntx]; ntx++) in mq_destroy_common() 57 qdisc_put(priv->qdiscs[ntx]); in mq_destroy_common() 76 unsigned int ntx; in mq_init_common() local 89 for (ntx = 0; ntx < dev->num_tx_queues; ntx in mq_init_common() 125 unsigned int ntx; mq_attach() local 147 unsigned int ntx; mq_dump_common() local 182 unsigned long ntx = cl - 1; mq_queue_get() local 232 unsigned int ntx = TC_H_MIN(classid); mq_find() local 268 unsigned int ntx; mq_walk() local [all...] |
| H A D | sch_mqprio.c | 99 unsigned int ntx; in mqprio_destroy() local 102 for (ntx = 0; in mqprio_destroy() 103 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy() 104 ntx++) in mqprio_destroy() 105 qdisc_put(priv->qdiscs[ntx]); in mqprio_destroy() 436 unsigned int ntx; in mqprio_attach() local 439 for (ntx = 0; ntx < dev->num_tx_queues; ntx in mqprio_attach() 455 unsigned long ntx = cl - 1; mqprio_queue_get() local 559 unsigned int ntx; mqprio_dump() local 624 unsigned int ntx = TC_H_MIN(classid); mqprio_find() local 719 unsigned long ntx; mqprio_walk() local [all...] |
| H A D | sch_htb.c | 1058 unsigned int ntx; in htb_init() local 1120 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_init() 1121 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_init() 1130 q->direct_qdiscs[ntx] = qdisc; in htb_init() 1158 unsigned int ntx; in htb_attach_offload() local 1160 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx in htb_attach_offload() 1181 unsigned int ntx; htb_attach_software() local [all...] |
| H A D | sch_taprio.c | 2132 unsigned int ntx; in taprio_attach() local 2135 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in taprio_attach() 2136 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in taprio_attach() 2140 struct Qdisc *qdisc = q->qdiscs[ntx]; in taprio_attach() 2168 unsigned long ntx = cl - 1; in taprio_queue_get() local 2170 if (ntx >= dev->num_tx_queues) in taprio_queue_get() 2173 return netdev_get_tx_queue(dev, ntx); in taprio_queue_get() 2455 unsigned int ntx = cl - 1; in taprio_leaf() local 2457 if (ntx >= dev->num_tx_queues) in taprio_leaf() 2460 return q->qdiscs[ntx]; in taprio_leaf() [all …]
|
| H A D | sch_cake.c | 2031 unsigned int ntx; in cake_dequeue() local 2033 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in cake_dequeue() 2034 other_sch = rcu_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in cake_dequeue() 3275 int ret, ntx; in cake_mq_init() local 3289 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) in cake_mq_init() 3290 cake_config_replace(priv->mq_priv.qdiscs[ntx], &priv->cake_config); in cake_mq_init() 3309 unsigned int ntx; in cake_mq_change() local 3316 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in cake_mq_change() 3317 struct Qdisc *chld = rtnl_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in cake_mq_change()
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_main.c | 319 static int fun_alloc_queue_irqs(struct net_device *dev, unsigned int ntx, in fun_alloc_queue_irqs() argument 327 for (i = fp->num_tx_irqs; i < ntx; i++) { in fun_alloc_queue_irqs() 346 ntx, nrx); in fun_alloc_queue_irqs() 1450 void fun_set_ring_count(struct net_device *netdev, unsigned int ntx, in fun_set_ring_count() argument 1453 netif_set_real_num_tx_queues(netdev, ntx); in fun_set_ring_count() 1518 static int fun_max_qs(struct fun_ethdev *ed, unsigned int *ntx, in fun_max_qs() argument 1524 *ntx = 1; in fun_max_qs() 1540 *ntx = min(ed->nsqs_per_port - 1, num_online_cpus()); in fun_max_qs() 1541 *nrx = *ntx; in fun_max_qs() 1542 if (*ntx > neth) in fun_max_qs() [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-cadence.c | 395 static void cdns_spi_process_fifo(struct cdns_spi *xspi, int ntx, int nrx) in cdns_spi_process_fifo() argument 397 ntx = clamp(ntx, 0, xspi->tx_bytes); in cdns_spi_process_fifo() 400 xspi->tx_bytes -= ntx; in cdns_spi_process_fifo() 403 while (ntx || nrx) { in cdns_spi_process_fifo() 409 if (ntx) { in cdns_spi_process_fifo() 411 ntx--; in cdns_spi_process_fifo()
|
| /linux/drivers/net/ethernet/davicom/ |
| H A D | dm9051.c | 842 int ntx = 0; in dm9051_loop_tx() local 851 ntx++; in dm9051_loop_tx() 868 return ntx; in dm9051_loop_tx()
|
| /linux/include/net/ |
| H A D | sch_generic.h | 624 get_default_qdisc_ops(const struct net_device *dev, int ntx) in get_default_qdisc_ops() argument 626 return ntx < dev->real_num_tx_queues ? in get_default_qdisc_ops()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | sar.c | 177 if (sar_parm->ntx == RTW89_2TX) in rtw89_query_sar_config_acpi()
|