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.c136 struct device_node *tx_node; in stmmac_mtl_setup() local
158 tx_node = of_parse_phandle(pdev->dev.of_node, "snps,mtl-tx-config", 0); in stmmac_mtl_setup()
159 if (!tx_node) { in stmmac_mtl_setup()
224 if (of_property_read_u32(tx_node, "snps,tx-queues-to-use", in stmmac_mtl_setup()
228 if (of_property_read_bool(tx_node, "snps,tx-sched-wrr")) in stmmac_mtl_setup()
230 else if (of_property_read_bool(tx_node, "snps,tx-sched-wfq")) in stmmac_mtl_setup()
232 else if (of_property_read_bool(tx_node, "snps,tx-sched-dwrr")) in stmmac_mtl_setup()
240 for_each_child_of_node(tx_node, q_node) { in stmmac_mtl_setup()
292 of_node_put(tx_node); in stmmac_mtl_setup()