/linux-6.1.9/net/sched/ |
D | sch_mq.c | 56 unsigned int ntx; in mq_destroy() local 62 for (ntx = 0; ntx < dev->num_tx_queues && priv->qdiscs[ntx]; ntx++) in mq_destroy() 63 qdisc_put(priv->qdiscs[ntx]); in mq_destroy() 74 unsigned int ntx; in mq_init() local 88 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_init() 89 dev_queue = netdev_get_tx_queue(dev, ntx); in mq_init() 90 qdisc = qdisc_create_dflt(dev_queue, get_default_qdisc_ops(dev, ntx), in mq_init() 92 TC_H_MIN(ntx + 1)), in mq_init() 96 priv->qdiscs[ntx] = qdisc; in mq_init() 111 unsigned int ntx; in mq_attach() local [all …]
|
D | sch_mqprio.c | 34 unsigned int ntx; in mqprio_destroy() local 37 for (ntx = 0; in mqprio_destroy() 38 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy() 39 ntx++) in mqprio_destroy() 40 qdisc_put(priv->qdiscs[ntx]); in mqprio_destroy() 294 unsigned int ntx; in mqprio_attach() local 297 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach() 298 qdisc = priv->qdiscs[ntx]; in mqprio_attach() 302 if (ntx < dev->real_num_tx_queues) in mqprio_attach() 313 unsigned long ntx = cl - 1; in mqprio_queue_get() local [all …]
|
D | sch_htb.c | 1056 unsigned int ntx; in htb_init() local 1119 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_init() 1120 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() 1161 struct Qdisc *old, *qdisc = q->direct_qdiscs[ntx]; in htb_attach_offload() 1167 for (ntx = q->num_direct_qdiscs; ntx < dev->num_tx_queues; ntx++) { in htb_attach_offload() 1168 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_offload() 1181 unsigned int ntx; in htb_attach_software() local [all …]
|
D | sch_taprio.c | 1817 unsigned int ntx; in taprio_attach() local 1820 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in taprio_attach() 1821 struct Qdisc *qdisc = q->qdiscs[ntx]; in taprio_attach() 1846 unsigned long ntx = cl - 1; in taprio_queue_get() local 1848 if (ntx >= dev->num_tx_queues) in taprio_queue_get() 1851 return netdev_get_tx_queue(dev, ntx); in taprio_queue_get() 2058 unsigned int ntx = TC_H_MIN(classid); in taprio_find() local 2060 if (!taprio_queue_get(sch, ntx)) in taprio_find() 2062 return ntx; in taprio_find() 2094 unsigned long ntx; in taprio_walk() local [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 1574 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch) in rtw89_phy_read_txpwr_limit() argument 1583 lmt = (*chip->txpwr_lmt_2g)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 1585 lmt = (*chip->txpwr_lmt_2g)[bw][ntx][rs][bf] in rtw89_phy_read_txpwr_limit() 1589 lmt = (*chip->txpwr_lmt_5g)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 1591 lmt = (*chip->txpwr_lmt_5g)[bw][ntx][rs][bf] in rtw89_phy_read_txpwr_limit() 1595 lmt = (*chip->txpwr_lmt_6g)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 1597 lmt = (*chip->txpwr_lmt_6g)[bw][ntx][rs][bf] in rtw89_phy_read_txpwr_limit() 1612 #define __fill_txpwr_limit_nonbf_bf(ptr, band, bw, ntx, rs, ch) \ argument 1618 bw, ntx, \ 1625 u8 band, u8 ntx, u8 ch) in rtw89_phy_fill_txpwr_limit_20m() argument [all …]
|
D | phy.h | 468 u8 ntx); 472 u8 ntx); 474 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch);
|
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/ |
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() 1465 void fun_set_ring_count(struct net_device *netdev, unsigned int ntx, in fun_set_ring_count() argument 1468 netif_set_real_num_tx_queues(netdev, ntx); in fun_set_ring_count() 1533 static int fun_max_qs(struct fun_ethdev *ed, unsigned int *ntx, in fun_max_qs() argument 1539 *ntx = 1; in fun_max_qs() 1555 *ntx = min(ed->nsqs_per_port - 1, num_online_cpus()); in fun_max_qs() 1556 *nrx = *ntx; in fun_max_qs() 1557 if (*ntx > neth) in fun_max_qs() [all …]
|
D | funeth.h | 164 int fun_change_num_queues(struct net_device *dev, unsigned int ntx, 166 void fun_set_ring_count(struct net_device *netdev, unsigned int ntx,
|
/linux-6.1.9/drivers/net/ethernet/davicom/ |
D | dm9051.c | 845 int ntx = 0; in dm9051_loop_tx() local 854 ntx++; in dm9051_loop_tx() 871 return ntx; in dm9051_loop_tx()
|
/linux-6.1.9/include/net/ |
D | sch_generic.h | 585 get_default_qdisc_ops(const struct net_device *dev, int ntx) in get_default_qdisc_ops() argument 587 return ntx < dev->real_num_tx_queues ? in get_default_qdisc_ops()
|
/linux-6.1.9/drivers/atm/ |
D | lanai.c | 1711 int ntx = 0; in run_service() local 1715 ntx += handle_service(lanai, in run_service() 1721 if (ntx != 0) { in run_service()
|