Lines Matching defs:fwnode
20 static int retimer_fwnode_match(struct device *dev, const void *fwnode)
22 return is_typec_retimer(dev) && device_match_fwnode(dev, fwnode);
25 static void *typec_retimer_match(const struct fwnode_handle *fwnode, const char *id, void *data)
29 if (id && !fwnode_property_present(fwnode, id))
32 dev = class_find_device(&retimer_class, NULL, fwnode,
40 * @fwnode: The caller device node.
47 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode)
51 retimer = fwnode_connection_find_match(fwnode, "retimer-switch", NULL, typec_retimer_match);
121 retimer->dev.fwnode = desc->fwnode;