Lines Matching defs:node
1253 struct device_node *node = pdev->dev.of_node;
1258 if (!node)
1261 if (of_property_read_u32(node, "slaves", &prop)) {
1267 if (of_property_read_u32(node, "active_slave", &prop)) {
1280 if (of_property_read_u32(node, "cpdma_channels", &prop)) {
1286 if (of_property_read_u32(node, "bd_ram_size", &prop)) {
1292 if (of_property_read_u32(node, "mac_control", &prop)) {
1298 if (of_property_read_bool(node, "dual_emac"))
1304 ret = of_platform_populate(node, NULL, NULL, &pdev->dev);
1307 dev_warn(&pdev->dev, "Doesn't have any child node\n");
1309 for_each_available_child_of_node(node, slave_node) {
1315 /* This is no slave child node, continue */
1338 /* In the case of a fixed PHY, the DT node associated
1339 * to the PHY is the Ethernet MAC DT node.
1422 struct device_node *node = pdev->dev.of_node;
1426 for_each_available_child_of_node(node, slave_node) {