Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c135 struct device_node *tx_node; in stmmac_mtl_setup() local
157 tx_node = of_parse_phandle(pdev->dev.of_node, "snps,mtl-tx-config", 0); in stmmac_mtl_setup()
158 if (!tx_node) { in stmmac_mtl_setup()
223 if (of_property_read_u32(tx_node, "snps,tx-queues-to-use", in stmmac_mtl_setup()
227 if (of_property_read_bool(tx_node, "snps,tx-sched-wrr")) in stmmac_mtl_setup()
229 else if (of_property_read_bool(tx_node, "snps,tx-sched-wfq")) in stmmac_mtl_setup()
231 else if (of_property_read_bool(tx_node, "snps,tx-sched-dwrr")) in stmmac_mtl_setup()
233 else if (of_property_read_bool(tx_node, "snps,tx-sched-sp")) in stmmac_mtl_setup()
241 for_each_child_of_node(tx_node, q_node) { in stmmac_mtl_setup()
290 of_node_put(tx_node); in stmmac_mtl_setup()