Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c141 struct device_node *tx_node; in stmmac_mtl_setup() local
163 tx_node = of_parse_phandle(pdev->dev.of_node, "snps,mtl-tx-config", 0); in stmmac_mtl_setup()
164 if (!tx_node) { in stmmac_mtl_setup()
229 if (of_property_read_u32(tx_node, "snps,tx-queues-to-use", in stmmac_mtl_setup()
233 if (of_property_read_bool(tx_node, "snps,tx-sched-wrr")) in stmmac_mtl_setup()
235 else if (of_property_read_bool(tx_node, "snps,tx-sched-wfq")) in stmmac_mtl_setup()
237 else if (of_property_read_bool(tx_node, "snps,tx-sched-dwrr")) in stmmac_mtl_setup()
239 else if (of_property_read_bool(tx_node, "snps,tx-sched-sp")) in stmmac_mtl_setup()
247 for_each_child_of_node(tx_node, q_node) { in stmmac_mtl_setup()
296 of_node_put(tx_node); in stmmac_mtl_setup()