Lines Matching refs:fwnode
181 struct fwnode_handle *fwnode)
184 .fwnode = fwnode,
186 .name = fwnode_get_name(fwnode),
195 static int cros_typec_register_retimer(struct cros_typec_port *port, struct fwnode_handle *fwnode)
198 .fwnode = fwnode,
200 .name = fwnode_get_name(fwnode),
213 struct fwnode_handle *fwnode;
224 device_for_each_child_node(dev, fwnode) {
231 adev = to_acpi_device_node(fwnode);
233 dev_err(fwnode->dev, "Couldn't get ACPI device handle\n");
240 dev_err(fwnode->dev, "_ADR wasn't evaluated\n");
246 dev_err(fwnode->dev, "Invalid port index number: %llu\n", index);
254 if (fwnode_property_present(fwnode, "retimer-switch")) {
255 ret = cros_typec_register_retimer(port, fwnode);
264 if (!fwnode_property_present(fwnode, "mode-switch"))
267 ret = cros_typec_register_mode_switch(port, fwnode);
278 fwnode_handle_put(fwnode);