/kernel/linux/linux-5.10/net/sched/ |
H A 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() 111 unsigned int ntx; mq_attach() local 155 unsigned int ntx; mq_dump() local 200 unsigned long ntx = cl - 1; mq_queue_get() local 248 unsigned int ntx = TC_H_MIN(classid); mq_find() local 282 unsigned int ntx; mq_walk() local [all...] |
H A 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() 336 unsigned int ntx; in mqprio_attach() local 339 for (ntx = 0; ntx < dev->num_tx_queues; ntx in mqprio_attach() 377 unsigned long ntx = cl - 1; mqprio_queue_get() local 454 unsigned int ntx, tc; mqprio_dump() local 536 unsigned int ntx = TC_H_MIN(classid); mqprio_find() local 642 unsigned long ntx; mqprio_walk() local [all...] |
H A D | sch_taprio.c | 1737 unsigned long ntx = cl - 1; in taprio_queue_get() local 1739 if (ntx >= dev->num_tx_queues) in taprio_queue_get() 1742 return netdev_get_tx_queue(dev, ntx); in taprio_queue_get() 1919 unsigned int ntx = TC_H_MIN(classid); in taprio_find() local 1921 if (!taprio_queue_get(sch, ntx)) in taprio_find() 1923 return ntx; in taprio_find() 1955 unsigned long ntx; in taprio_walk() local 1961 for (ntx = arg->skip; ntx < dev->num_tx_queues; ntx in taprio_walk() [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A 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() 111 unsigned int ntx; mq_attach() local 132 unsigned int ntx; mq_dump() local 162 unsigned long ntx = cl - 1; mq_queue_get() local 210 unsigned int ntx = TC_H_MIN(classid); mq_find() local 243 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() 439 unsigned int ntx; in mqprio_attach() local 442 for (ntx = 0; ntx < dev->num_tx_queues; ntx in mqprio_attach() 458 unsigned long ntx = cl - 1; mqprio_queue_get() local 562 unsigned int ntx; mqprio_dump() local 627 unsigned int ntx = TC_H_MIN(classid); mqprio_find() local 722 unsigned long ntx; mqprio_walk() local [all...] |
H A D | sch_htb.c | 1062 unsigned int ntx; in htb_init() local 1125 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_init() 1126 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_init() 1136 q->direct_qdiscs[ntx] = qdisc; in htb_init() 1164 unsigned int ntx; in htb_attach_offload() local 1166 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx in htb_attach_offload() 1187 unsigned int ntx; htb_attach_software() local [all...] |
H A D | sch_taprio.c | 2142 unsigned int ntx; in taprio_attach() local 2145 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in taprio_attach() 2146 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in taprio_attach() 2150 struct Qdisc *qdisc = q->qdiscs[ntx]; in taprio_attach() 2178 unsigned long ntx = cl - 1; in taprio_queue_get() local 2180 if (ntx >= dev->num_tx_queues) in taprio_queue_get() 2183 return netdev_get_tx_queue(dev, ntx); in taprio_queue_get() 2456 unsigned int ntx in taprio_leaf() local 2466 unsigned int ntx = TC_H_MIN(classid); taprio_find() local 2508 unsigned long ntx; taprio_walk() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | phy.c | 1648 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch) in rtw89_phy_read_txpwr_limit() 1664 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 1668 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit() 1671 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit() 1675 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit() 1678 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][regd][reg6][ch_idx]; in rtw89_phy_read_txpwr_limit() 1682 lmt = (*rule_6ghz->lmt)[bw][ntx][rs][bf][RTW89_WW] in rtw89_phy_read_txpwr_limit() 1698 #define __fill_txpwr_limit_nonbf_bf(ptr, band, bw, ntx, rs, ch) \ 1704 bw, ntx, \ 1711 u8 band, u8 ntx, u in rtw89_phy_fill_txpwr_limit_20m() 1647 rtw89_phy_read_txpwr_limit(struct rtw89_dev *rtwdev, u8 band, u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch) rtw89_phy_read_txpwr_limit() argument 1709 rtw89_phy_fill_txpwr_limit_20m(struct rtw89_dev *rtwdev, struct rtw89_txpwr_limit *lmt, u8 band, u8 ntx, u8 ch) rtw89_phy_fill_txpwr_limit_20m() argument 1724 rtw89_phy_fill_txpwr_limit_40m(struct rtw89_dev *rtwdev, struct rtw89_txpwr_limit *lmt, u8 band, u8 ntx, u8 ch, u8 pri_ch) rtw89_phy_fill_txpwr_limit_40m() argument 1745 rtw89_phy_fill_txpwr_limit_80m(struct rtw89_dev *rtwdev, struct rtw89_txpwr_limit *lmt, u8 band, u8 ntx, u8 ch, u8 pri_ch) rtw89_phy_fill_txpwr_limit_80m() argument 1786 rtw89_phy_fill_txpwr_limit_160m(struct rtw89_dev *rtwdev, struct rtw89_txpwr_limit *lmt, u8 band, u8 ntx, u8 ch, u8 pri_ch) rtw89_phy_fill_txpwr_limit_160m() argument 1873 rtw89_phy_fill_txpwr_limit(struct rtw89_dev *rtwdev, const struct rtw89_chan *chan, struct rtw89_txpwr_limit *lmt, u8 ntx) rtw89_phy_fill_txpwr_limit() argument 1904 rtw89_phy_read_txpwr_limit_ru(struct rtw89_dev *rtwdev, u8 band, u8 ru, u8 ntx, u8 ch) rtw89_phy_read_txpwr_limit_ru() argument 1955 rtw89_phy_fill_txpwr_limit_ru_20m(struct rtw89_dev *rtwdev, struct rtw89_txpwr_limit_ru *lmt_ru, u8 band, u8 ntx, u8 ch) rtw89_phy_fill_txpwr_limit_ru_20m() argument 1971 rtw89_phy_fill_txpwr_limit_ru_40m(struct rtw89_dev *rtwdev, struct rtw89_txpwr_limit_ru *lmt_ru, u8 band, u8 ntx, u8 ch) rtw89_phy_fill_txpwr_limit_ru_40m() argument 1996 rtw89_phy_fill_txpwr_limit_ru_80m(struct rtw89_dev *rtwdev, struct rtw89_txpwr_limit_ru *lmt_ru, u8 band, u8 ntx, u8 ch) rtw89_phy_fill_txpwr_limit_ru_80m() argument 2039 rtw89_phy_fill_txpwr_limit_ru_160m(struct rtw89_dev *rtwdev, struct rtw89_txpwr_limit_ru *lmt_ru, u8 band, u8 ntx, u8 ch) rtw89_phy_fill_txpwr_limit_ru_160m() argument 2064 rtw89_phy_fill_txpwr_limit_ru(struct rtw89_dev *rtwdev, const struct rtw89_chan *chan, struct rtw89_txpwr_limit_ru *lmt_ru, u8 ntx) rtw89_phy_fill_txpwr_limit_ru() argument [all...] |
H A D | phy.h | 619 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_main.c | 314 /* Reserve IRQs, one per queue, to acommodate the requested queue numbers @ntx 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() 1462 void fun_set_ring_count(struct net_device *netdev, unsigned int ntx, in fun_set_ring_count() argument 1465 netif_set_real_num_tx_queues(netdev, ntx); in fun_set_ring_count() 1530 static int fun_max_qs(struct fun_ethdev *ed, unsigned int *ntx, in fun_max_qs() argument 1536 *ntx = 1; in fun_max_qs() 1552 *ntx = min(ed->nsqs_per_port - 1, num_online_cpus()); in fun_max_qs() 1553 *nrx = *ntx; in fun_max_qs() 1563 unsigned int ntx, nrx; fun_queue_defaults() local 1622 fun_change_num_queues(struct net_device *dev, unsigned int ntx, unsigned int nrx) fun_change_num_queues() argument 1712 unsigned int ntx, nrx; fun_create_netdev() local [all...] |
H A 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,
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-cadence.c | 308 * @ntx: Number of bytes to pack into the TX FIFO 311 static void cdns_spi_process_fifo(struct cdns_spi *xspi, int ntx, int nrx) in cdns_spi_process_fifo() argument 313 ntx = clamp(ntx, 0, xspi->tx_bytes); in cdns_spi_process_fifo() 316 xspi->tx_bytes -= ntx; in cdns_spi_process_fifo() 319 while (ntx || nrx) { in cdns_spi_process_fifo() 329 if (ntx) { in cdns_spi_process_fifo() 335 ntx--; in cdns_spi_process_fifo()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | sch_generic.h | 616 get_default_qdisc_ops(const struct net_device *dev, int ntx) in get_default_qdisc_ops() argument 618 return ntx < dev->real_num_tx_queues ? in get_default_qdisc_ops()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | sch_generic.h | 598 get_default_qdisc_ops(const struct net_device *dev, int ntx) in get_default_qdisc_ops() argument 600 return ntx < dev->real_num_tx_queues ? in get_default_qdisc_ops()
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | lanai.c | 1712 int ntx = 0; in run_service() local 1716 ntx += handle_service(lanai, in run_service() 1722 if (ntx != 0) { in run_service()
|
/kernel/linux/linux-6.6/drivers/atm/ |
H A 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()
|