mac_np           1175 drivers/net/dsa/mt7530.c 	struct device_node *mac_np;
mac_np           1275 drivers/net/dsa/mt7530.c 		for_each_child_of_node(dn, mac_np) {
mac_np           1276 drivers/net/dsa/mt7530.c 			if (!of_device_is_compatible(mac_np,
mac_np           1280 drivers/net/dsa/mt7530.c 			ret = of_property_read_u32(mac_np, "reg", &id);
mac_np           1284 drivers/net/dsa/mt7530.c 			phy_node = of_parse_phandle(mac_np, "phy-handle", 0);
mac_np           1289 drivers/net/dsa/mt7530.c 				interface = of_get_phy_mode(mac_np);
mac_np           2881 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct device_node *mac_np;
mac_np           2989 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	for_each_child_of_node(pdev->dev.of_node, mac_np) {
mac_np           2990 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (!of_device_is_compatible(mac_np,
mac_np           2994 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (!of_device_is_available(mac_np))
mac_np           2997 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		err = mtk_add_mac(eth, mac_np);
mac_np           2999 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			of_node_put(mac_np);