| /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() 440 qdisc = priv->qdiscs[ntx]; in mqprio_attach() 444 if (ntx < dev->real_num_tx_queues) in mqprio_attach() 455 unsigned long ntx = cl - 1; in mqprio_queue_get() local [all …]
|
| H A D | sch_htb.c | 1060 unsigned int ntx; in htb_init() local 1122 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_init() 1123 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_init() 1132 q->direct_qdiscs[ntx] = qdisc; in htb_init() 1161 unsigned int ntx; in htb_attach_offload() local 1163 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_attach_offload() 1164 struct Qdisc *old, *qdisc = q->direct_qdiscs[ntx]; in htb_attach_offload() 1170 for (ntx = q->num_direct_qdiscs; ntx < dev->num_tx_queues; ntx++) { in htb_attach_offload() 1171 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_offload() 1184 unsigned int ntx; in htb_attach_software() local [all …]
|
| H A D | sch_taprio.c | 2140 unsigned int ntx; in taprio_attach() local 2143 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in taprio_attach() 2144 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in taprio_attach() 2148 struct Qdisc *qdisc = q->qdiscs[ntx]; in taprio_attach() 2176 unsigned long ntx = cl - 1; in taprio_queue_get() local 2178 if (ntx >= dev->num_tx_queues) in taprio_queue_get() 2181 return netdev_get_tx_queue(dev, ntx); in taprio_queue_get() 2466 unsigned int ntx = cl - 1; in taprio_leaf() local 2468 if (ntx >= dev->num_tx_queues) in taprio_leaf() 2471 return q->qdiscs[ntx]; in taprio_leaf() [all …]
|
| H A D | sch_cake.c | 2027 unsigned int ntx; in cake_dequeue() local 2029 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in cake_dequeue() 2030 other_sch = rcu_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in cake_dequeue() 3273 int ret, ntx; in cake_mq_init() local 3287 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) in cake_mq_init() 3288 cake_config_replace(priv->mq_priv.qdiscs[ntx], &priv->cake_config); in cake_mq_init() 3307 unsigned int ntx; in cake_mq_change() local 3314 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in cake_mq_change() 3315 struct Qdisc *chld = rtnl_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in cake_mq_change()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | phy_be.c | 1352 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch) in fill_limit_nonbf_bf() argument 1357 (*ptr)[bf] = rtw89_phy_read_txpwr_limit(rtwdev, band, bw, ntx, in fill_limit_nonbf_bf() 1363 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch1, u8 ch2) in fill_limit_nonbf_bf_min() argument 1369 fill_limit_nonbf_bf(rtwdev, &v1, band, bw, ntx, rs, ch1); in fill_limit_nonbf_bf_min() 1370 fill_limit_nonbf_bf(rtwdev, &v2, band, bw, ntx, rs, ch2); in fill_limit_nonbf_bf_min() 1378 u8 band, u8 ntx, u8 ch) in phy_fill_limit_20m_be() argument 1381 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_20m_be() 1383 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_20m_be() 1385 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, ch); in phy_fill_limit_20m_be() 1387 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_20m_be() [all …]
|
| H A D | phy.c | 2571 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch) in rtw89_phy_read_txpwr_limit() argument 2590 .ntx = ntx, in rtw89_phy_read_txpwr_limit() 2602 da_lmt = (*rule_da_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 2604 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 2608 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit() 2612 da_lmt = (*rule_da_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 2614 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 2618 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit() 2622 da_lmt = (*rule_da_6ghz->lmt)[bw][ntx][rs][bf][regd][reg6][ch_idx]; in rtw89_phy_read_txpwr_limit() 2624 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][regd][reg6][ch_idx]; in rtw89_phy_read_txpwr_limit() [all …]
|
| H A D | phy.h | 1023 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch); 1025 u8 ru, u8 ntx, u8 ch);
|
| /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 | 397 struct cdns_spi *xspi, int ntx, int nrx) in cdns_spi_process_fifo() argument 399 ntx = clamp(ntx, 0, xspi->tx_bytes); in cdns_spi_process_fifo() 402 xspi->tx_bytes -= ntx; in cdns_spi_process_fifo() 405 while (ntx || nrx) { in cdns_spi_process_fifo() 411 if (ntx) { in cdns_spi_process_fifo() 423 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 | 640 get_default_qdisc_ops(const struct net_device *dev, int ntx) in get_default_qdisc_ops() argument 642 return ntx < dev->real_num_tx_queues ? in get_default_qdisc_ops()
|