Lines Matching defs:fwnode
26 struct fwnode_handle *fwnode;
422 static struct sfp_bus *sfp_bus_get(struct fwnode_handle *fwnode)
431 if (sfp->fwnode == fwnode) {
440 new->fwnode = fwnode;
588 * sfp_bus_find_fwnode() - parse and locate the SFP bus from fwnode
589 * @fwnode: firmware node for the parent device (MAC or PHY)
605 struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode)
611 ret = fwnode_property_get_reference_args(fwnode, "sfp", NULL,
618 if (!fwnode_device_is_available(ref.fwnode)) {
619 fwnode_handle_put(ref.fwnode);
623 bus = sfp_bus_get(ref.fwnode);
624 fwnode_handle_put(ref.fwnode);
803 struct sfp_bus *bus = sfp_bus_get(dev->fwnode);