Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.c134 struct device_node *tx_node; in stmmac_mtl_setup() local
150 tx_node = of_parse_phandle(pdev->dev.of_node, "snps,mtl-tx-config", 0); in stmmac_mtl_setup()
151 if (!tx_node) { in stmmac_mtl_setup()
211 if (!of_property_read_u32(tx_node, "snps,tx-queues-to-use", &value)) { in stmmac_mtl_setup()
217 if (of_property_read_bool(tx_node, "snps,tx-sched-wrr")) in stmmac_mtl_setup()
219 else if (of_property_read_bool(tx_node, "snps,tx-sched-wfq")) in stmmac_mtl_setup()
221 else if (of_property_read_bool(tx_node, "snps,tx-sched-dwrr")) in stmmac_mtl_setup()
229 for_each_child_of_node_scoped(tx_node, q_node) { in stmmac_mtl_setup()
277 of_node_put(tx_node); in stmmac_mtl_setup()