Lines Matching defs:fwnode
20 const struct fwnode_handle *fwnode;
403 static struct sfp_bus *sfp_bus_get(const struct fwnode_handle *fwnode)
412 if (sfp->fwnode == fwnode) {
421 new->fwnode = fwnode;
609 * sfp_bus_find_fwnode() - parse and locate the SFP bus from fwnode
610 * @fwnode: firmware node for the parent device (MAC or PHY)
626 struct sfp_bus *sfp_bus_find_fwnode(const struct fwnode_handle *fwnode)
632 ret = fwnode_property_get_reference_args(fwnode, "sfp", NULL,
639 if (!fwnode_device_is_available(ref.fwnode)) {
640 fwnode_handle_put(ref.fwnode);
644 bus = sfp_bus_get(ref.fwnode);
645 fwnode_handle_put(ref.fwnode);
825 struct sfp_bus *bus = sfp_bus_get(dev->fwnode);