Lines Matching refs:q_node
134 struct device_node *q_node; in stmmac_mtl_setup() local
177 for_each_child_of_node(rx_node, q_node) { in stmmac_mtl_setup()
181 if (of_property_read_bool(q_node, "snps,dcb-algorithm")) in stmmac_mtl_setup()
183 else if (of_property_read_bool(q_node, "snps,avb-algorithm")) in stmmac_mtl_setup()
188 if (of_property_read_u32(q_node, "snps,map-to-dma-channel", in stmmac_mtl_setup()
193 if (of_property_read_u32(q_node, "snps,priority", in stmmac_mtl_setup()
202 if (of_property_read_bool(q_node, "snps,route-avcp")) in stmmac_mtl_setup()
204 else if (of_property_read_bool(q_node, "snps,route-ptp")) in stmmac_mtl_setup()
206 else if (of_property_read_bool(q_node, "snps,route-dcbcp")) in stmmac_mtl_setup()
208 else if (of_property_read_bool(q_node, "snps,route-up")) in stmmac_mtl_setup()
210 else if (of_property_read_bool(q_node, "snps,route-multi-broad")) in stmmac_mtl_setup()
240 for_each_child_of_node(tx_node, q_node) { in stmmac_mtl_setup()
244 if (of_property_read_u32(q_node, "snps,weight", in stmmac_mtl_setup()
248 if (of_property_read_bool(q_node, "snps,dcb-algorithm")) { in stmmac_mtl_setup()
250 } else if (of_property_read_bool(q_node, in stmmac_mtl_setup()
255 if (of_property_read_u32(q_node, "snps,send_slope", in stmmac_mtl_setup()
258 if (of_property_read_u32(q_node, "snps,idle_slope", in stmmac_mtl_setup()
261 if (of_property_read_u32(q_node, "snps,high_credit", in stmmac_mtl_setup()
264 if (of_property_read_u32(q_node, "snps,low_credit", in stmmac_mtl_setup()
271 if (of_property_read_u32(q_node, "snps,priority", in stmmac_mtl_setup()
280 of_property_read_bool(q_node, "snps,coe-unsupported"); in stmmac_mtl_setup()
293 of_node_put(q_node); in stmmac_mtl_setup()