Lines Matching refs:fw_port
724 rc = fwnode_property_read_string(mac_cb->fw_port, in hns_mac_register_phydev()
769 if (!to_acpi_device_node(mac_cb->fw_port)) in hns_mac_register_phy()
773 mac_cb->fw_port, "mdio-node", 0, &args); in hns_mac_register_phy()
779 addr = hns_mac_phy_parse_addr(mac_cb->dev, mac_cb->fw_port); in hns_mac_register_phy()
809 if (!to_acpi_device_node(mac_cb->fw_port) || !mac_cb->phy_dev) in hns_mac_remove_phydev()
866 if (!mac_cb->fw_port) { in hns_mac_get_info()
884 if (is_of_node(mac_cb->fw_port)) { in hns_mac_get_info()
886 np = of_parse_phandle(to_of_node(mac_cb->fw_port), in hns_mac_get_info()
899 np = of_parse_phandle(to_of_node(mac_cb->fw_port), in hns_mac_get_info()
909 ret = fwnode_property_read_u32(mac_cb->fw_port, in hns_mac_get_info()
918 ret = fwnode_property_read_u32(mac_cb->fw_port, in hns_mac_get_info()
928 to_of_node(mac_cb->fw_port), "cpld-syscon", 1, 0, in hns_mac_get_info()
945 } else if (is_acpi_node(mac_cb->fw_port)) { in hns_mac_get_info()
959 if (!fwnode_property_read_string(mac_cb->fw_port, "media-type", in hns_mac_get_info()
970 if (fwnode_property_read_u8_array(mac_cb->fw_port, "mc-mac-mask", in hns_mac_get_info()
1115 mac_cb->fw_port = child; in hns_mac_init()