Home
last modified time | relevance | path

Searched refs:ntx (Results 1 – 12 of 12) sorted by relevance

/linux/net/sched/
H A Dsch_mq.c52 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 Dsch_mqprio.c99 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 Dsch_htb.c1063 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()
1135 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()
1167 struct Qdisc *old, *qdisc = q->direct_qdiscs[ntx]; in htb_attach_offload()
1173 for (ntx = q->num_direct_qdiscs; ntx < dev->num_tx_queues; ntx++) { in htb_attach_offload()
1174 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_offload()
1187 unsigned int ntx; in htb_attach_software() local
[all …]
H A Dsch_taprio.c2159 unsigned int ntx; in taprio_attach()
2162 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in taprio_attach()
2163 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in taprio_attach()
2167 struct Qdisc *qdisc = q->qdiscs[ntx]; in taprio_attach()
2195 unsigned long ntx = cl - 1; in taprio_graft()
2197 if (ntx >= dev->num_tx_queues) in taprio_graft()
2200 return netdev_get_tx_queue(dev, ntx); in taprio_graft()
2485 unsigned int ntx in taprio_dump_class()
2140 unsigned int ntx; taprio_attach() local
2176 unsigned long ntx = cl - 1; taprio_queue_get() local
2466 unsigned int ntx = cl - 1; taprio_leaf() local
2476 unsigned int ntx = TC_H_MIN(classid); taprio_find() local
2518 unsigned long ntx; taprio_walk() local
[all...]
H A Dsch_cake.c2036 unsigned int ntx; in cake_dequeue()
2038 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in cake_dequeue()
2039 other_sch = rcu_dereference(netdev_get_tx_queue(dev, ntx)->qdisc_sleeping); in cake_dequeue()
3305 int ret, ntx; in cake_mq_change()
3319 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) in cake_mq_change()
3320 cake_config_replace(priv->mq_priv.qdiscs[ntx], in cake_mq_change()
2028 unsigned int ntx; cake_dequeue() local
3274 int ret, ntx; cake_mq_init() local
3308 unsigned int ntx; cake_mq_change() local
[all...]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy_be.c1447 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch) in phy_fill_limit_160m_be()
1452 (*ptr)[bf] = rtw89_phy_read_txpwr_limit(rtwdev, band, bw, ntx, in phy_fill_limit_160m_be()
1458 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch1, u8 ch2) in phy_fill_limit_160m_be()
1464 fill_limit_nonbf_bf(rtwdev, &v1, band, bw, ntx, rs, ch1); in phy_fill_limit_160m_be()
1465 fill_limit_nonbf_bf(rtwdev, &v2, band, bw, ntx, rs, ch2); in phy_fill_limit_160m_be()
1473 u8 band, u8 ntx, u8 ch) in phy_fill_limit_160m_be()
1476 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_160m_be()
1478 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_160m_be()
1480 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, ch); in phy_fill_limit_160m_be()
1482 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MC in phy_fill_limit_160m_be()
1352 fill_limit_nonbf_bf(struct rtw89_dev * rtwdev,s8 (* ptr)[RTW89_BF_NUM],u8 band,u8 bw,u8 ntx,u8 rs,u8 ch) fill_limit_nonbf_bf() argument
1363 fill_limit_nonbf_bf_min(struct rtw89_dev * rtwdev,s8 (* ptr)[RTW89_BF_NUM],u8 band,u8 bw,u8 ntx,u8 rs,u8 ch1,u8 ch2) fill_limit_nonbf_bf_min() argument
1378 phy_fill_limit_20m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_be * lmt,u8 band,u8 ntx,u8 ch) phy_fill_limit_20m_be() argument
1392 phy_fill_limit_40m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_be * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) phy_fill_limit_40m_be() argument
1412 phy_fill_limit_80m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_be * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) phy_fill_limit_80m_be() argument
1439 phy_fill_limit_160m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_be * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) phy_fill_limit_160m_be() argument
1488 phy_fill_limit_320m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_be * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) phy_fill_limit_320m_be() argument
1577 rtw89_phy_fill_limit_be(struct rtw89_dev * rtwdev,const struct rtw89_chan * chan,struct rtw89_txpwr_limit_be * lmt,u8 ntx) rtw89_phy_fill_limit_be() argument
1640 fill_limit_ru_each(struct rtw89_dev * rtwdev,u8 index,struct rtw89_txpwr_limit_ru_be * lmt_ru,u8 band,u8 ntx,u8 ch) fill_limit_ru_each() argument
1656 phy_fill_limit_ru_20m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_be * lmt_ru,u8 band,u8 ntx,u8 ch) phy_fill_limit_ru_20m_be() argument
1663 phy_fill_limit_ru_40m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_be * lmt_ru,u8 band,u8 ntx,u8 ch) phy_fill_limit_ru_40m_be() argument
1671 phy_fill_limit_ru_80m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_be * lmt_ru,u8 band,u8 ntx,u8 ch) phy_fill_limit_ru_80m_be() argument
1681 phy_fill_limit_ru_160m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_be * lmt_ru,u8 band,u8 ntx,u8 ch) phy_fill_limit_ru_160m_be() argument
1695 phy_fill_limit_ru_320m_be(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_be * lmt_ru,u8 band,u8 ntx,u8 ch) phy_fill_limit_ru_320m_be() argument
1718 rtw89_phy_fill_limit_ru_be(struct rtw89_dev * rtwdev,const struct rtw89_chan * chan,struct rtw89_txpwr_limit_ru_be * lmt_ru,u8 ntx) rtw89_phy_fill_limit_ru_be() argument
1748 rtw89_phy_fill_limit_ru484_242_be(struct rtw89_dev * rtwdev,s8 (* lmt)[RTW89_RU484_242_SEC_NUM_BE],u8 ntx,u8 band,u8 ch,u8 bw) rtw89_phy_fill_limit_ru484_242_be() argument
1784 rtw89_phy_fill_limit_ru996_484_be(struct rtw89_dev * rtwdev,s8 (* lmt)[RTW89_RU996_484_SEC_NUM_BE],u8 ntx,u8 band,u8 ch,u8 bw) rtw89_phy_fill_limit_ru996_484_be() argument
1806 rtw89_phy_fill_limit_ru996_484_242_be(struct rtw89_dev * rtwdev,s8 (* lmt)[RTW89_RU996_484_242_SEC_NUM_BE],u8 ntx,u8 band,u8 ch,u8 bw) rtw89_phy_fill_limit_ru996_484_242_be() argument
[all...]
H A Dphy.c2574 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch) in rtw89_phy_read_txpwr_limit()
2593 .ntx = ntx, in rtw89_phy_read_txpwr_limit()
2605 da_lmt = (*rule_da_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit()
2607 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit()
2611 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit()
2615 da_lmt = (*rule_da_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit()
2617 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit()
2621 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit()
2625 da_lmt = (*rule_da_6ghz->lmt)[bw][ntx][r in rtw89_phy_read_txpwr_limit()
2571 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
2649 __fill_txpwr_limit_nonbf_bf(ptr,band,bw,ntx,rs,ch) global() argument
2662 rtw89_phy_fill_txpwr_limit_20m_ax(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ax * lmt,u8 band,u8 ntx,u8 ch) rtw89_phy_fill_txpwr_limit_20m_ax() argument
2677 rtw89_phy_fill_txpwr_limit_40m_ax(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ax * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) rtw89_phy_fill_txpwr_limit_40m_ax() argument
2698 rtw89_phy_fill_txpwr_limit_80m_ax(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ax * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) rtw89_phy_fill_txpwr_limit_80m_ax() argument
2739 rtw89_phy_fill_txpwr_limit_160m_ax(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ax * lmt,u8 band,u8 ntx,u8 ch,u8 pri_ch) rtw89_phy_fill_txpwr_limit_160m_ax() argument
2827 rtw89_phy_fill_txpwr_limit_ax(struct rtw89_dev * rtwdev,const struct rtw89_chan * chan,struct rtw89_txpwr_limit_ax * lmt,u8 ntx) rtw89_phy_fill_txpwr_limit_ax() argument
2856 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
2931 rtw89_phy_fill_txpwr_limit_ru_20m_ax(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_ax * lmt_ru,u8 band,u8 ntx,u8 ch) rtw89_phy_fill_txpwr_limit_ru_20m_ax() argument
2947 rtw89_phy_fill_txpwr_limit_ru_40m_ax(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_ax * lmt_ru,u8 band,u8 ntx,u8 ch) rtw89_phy_fill_txpwr_limit_ru_40m_ax() argument
2972 rtw89_phy_fill_txpwr_limit_ru_80m_ax(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_ax * lmt_ru,u8 band,u8 ntx,u8 ch) rtw89_phy_fill_txpwr_limit_ru_80m_ax() argument
3015 rtw89_phy_fill_txpwr_limit_ru_160m_ax(struct rtw89_dev * rtwdev,struct rtw89_txpwr_limit_ru_ax * lmt_ru,u8 band,u8 ntx,u8 ch) rtw89_phy_fill_txpwr_limit_ru_160m_ax() argument
3041 rtw89_phy_fill_txpwr_limit_ru_ax(struct rtw89_dev * rtwdev,const struct rtw89_chan * chan,struct rtw89_txpwr_limit_ru_ax * lmt_ru,u8 ntx) rtw89_phy_fill_txpwr_limit_ru_ax() argument
[all...]
H A Dphy.h1036 u8 bw, u8 ntx, u8 rs, u8 bf, u8 ch); in rtw89_phy_bb_wrap_init()
1038 u8 ru, u8 ntx, u8 ch); in rtw89_phy_bb_wrap_init()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c319 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 Dspi-cadence.c397 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 Ddm9051.c842 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 Dsch_generic.h640 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()