Lines Matching defs:fwnode
254 fwnode_handle_put(dev->fwnode);
908 int fwnode_get_phy_id(struct fwnode_handle *fwnode, u32 *phy_id)
914 ret = fwnode_property_read_string(fwnode, "compatible", &cp);
1400 if (phydev->mdio.dev.fwnode) {
1401 bus = sfp_bus_find_fwnode(phydev->mdio.dev.fwnode);
3132 init_data.fwnode = of_fwnode_handle(led);
3173 * fwnode_mdio_find_device - Given a fwnode, find the mdio_device
3174 * @fwnode: pointer to the mdio_device's fwnode
3180 struct mdio_device *fwnode_mdio_find_device(struct fwnode_handle *fwnode)
3184 if (!fwnode)
3187 d = bus_find_device_by_fwnode(&mdio_bus_type, fwnode);
3198 * @phy_fwnode: Pointer to the phy's fwnode.
3234 * @fwnode: Pointer to fwnode from which phy_node has to be obtained.
3241 struct fwnode_handle *fwnode_get_phy_node(const struct fwnode_handle *fwnode)
3246 phy_node = fwnode_find_reference(fwnode, "phy-handle", 0);
3247 if (is_acpi_node(fwnode) || !IS_ERR(phy_node))
3249 phy_node = fwnode_find_reference(fwnode, "phy", 0);
3251 phy_node = fwnode_find_reference(fwnode, "phy-device", 0);